I am currently testing behaviour of power manager example program, that can be found in kinetis SDK, and I have a strange problem.
Every time when I go to sleep in VLLS3, I would like to test wakeup source in LLWU_IRQ (I am using LPTMR0 as wakeup source - basically unchanged sample code), but it seems that code provided in LLWU_IRQ is not entering into if statement (condition based on GetInternalWakeupModuleFlag function).
I've manually checked LLWU->F3 register, and it is always 0 (no flags set) when it should have 1 bit set (the bit corresponding LPTMR0 wakeup flag).
Can anyone test this example and check if that works similar? Is that a bug in example code? How can I test wakeup source if GetInternalWakeupModuleFlag function is not working correctly?