2017-04-05 07:45 AM
Hi, I'm using stm32CubeMX v4.20 and after changing systick priority to 15(lowest) my project runs into hardware failure. If i changed back to zero, problem disappears. Any Inside on why?
best regards,
Tony
2017-04-05 08:41 AM
>>
Any Insight on why?
You have higher priority code blocking on HAL_Delay(), which is waiting on a variable incremented by SysTick? You block, interrupt can't preempt.
This really should have been implemented using a free running timer's counter.