HAL_Delay in loramac stack? #1194
-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
SysTick is usually not running in the interrupt context, for one, because of the default interrupt priority scheme used. Also, normally SysTick should not run in the powersaving mode - otherwise there will be no power saving at all, while RTC runs independently and keeps consistent time/date counting regardless of the CPU operating mode. Consider SLEEPDEEP for example, CPU is literally stopped in this state and SysTick cannot happen, while RTC ticks away nicely. |
Beta Was this translation helpful? Give feedback.
-
OK, thank you.@altishchenko |
Beta Was this translation helpful? Give feedback.
SysTick is usually not running in the interrupt context, for one, because of the default interrupt priority scheme used. Also, normally SysTick should not run in the powersaving mode - otherwise there will be no power saving at all, while RTC runs independently and keeps consistent time/date counting regardless of the CPU operating mode. Consider SLEEPDEEP for example, CPU is literally stopped in this state and SysTick cannot happen, while RTC ticks away nicely.