2018-06-14 09:54 AM
Hello,
i see that in the CUBE for lorawan, the HAL_InitTick function has been rewritten, with a simple return and does nothing, replacing the standard in the HAL_drivers, so the timeout function of every other HAL don't work due the HAL_GetTick function that don't work.
What can i do to reintroduce the possibility of reading Ticks without break everything, and why this has been deactivated?
Thanks in Advance
#lora2018-06-14 10:05 AM
>>why this has been deactivated?
Because they are turned off SysTick, not all CM0 have SysTick as I recall, and running it constantly has been deprecated over using the RTC to provide the periodic time base.
Seem to recall making HAL_GetTick() advance based on repetitive calls and available time bases.
2018-06-14 12:20 PM
Thanks for the reply, now it's clear.
>>
Seem to recall making HAL_GetTick() advance based on repetitive calls and available time bases.
What do you mean? I have to rewrite the HAL_GetTick() or add a SysTick_Handler ?
Thanks