Skip to main content
rokasjsutkus
Associate
August 5, 2016
Question

The system time

  • August 5, 2016
  • 1 reply
  • 846 views
Posted on August 05, 2016 at 11:56

I wanted to try out the CubeMX. I'm a bit stuck with some time issues. In standard peripheral I used system_get_time();

What is the equivalent of this function in CubeMX?

I found HAL_RCC_GetHCLKFreq(); that could be in my case, but it doesn't really work out for me, or at least I don't know what is the difference between them two.

#cubemx #system_get_time
This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
August 5, 2016
Posted on August 05, 2016 at 17:14

In standard peripheral I used system_get_time();

Which SPL was that? HAL uses the SysTick with HAL_IncTick() to increment uwTick, which can be read using HAL_GetTick()

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..