Why does the SDK enable the SysTick interrupt? Apart from incrementing the global uwTick variable, I can’t seem to be able to find any other use case for it.
With deep-sleep enabled, the uwTick variable and the SysTick interrupt does not appear to be very useful. I’m guessing the interrupt handler is not invoked when the CPU is sleeping. With deep-sleep disabled, a SysTick interrupt is generated every millisecond and essentially renders the RTC wakeup interrupt useless.