Using the Heart Rate Sensor BM example as a base for an application and trying to enter VLLS1/2, but straight after calling the "WFI" command, the processor returns without even disconnecting the debugger. I have read both the reference manual and the information that ARM provides on the core, but I can't find anything that would stop it from entering deep sleep.
As expected, when running in debug mode, the "WFI" command does nothing. However, when not in debug mode, the application just seems to hang.
I've tried both with the FSL SMC driver and the PWR Library in the Wireless Connectivity Framework.