cancel
Showing results for 
Search instead for 
Did you mean: 

The system time

rokasjsutkus
Associate II
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
1 REPLY 1
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 Venmo
Up vote any posts that you find helpful, it shows what's working..