Iam trying to set one 4200 BLE CPU at Stop Low Power Mode. The snippet of code to do this is the following
inline void GotoStop()
but unfortunately nothing happens. The power consumption remains the same.
The strange thing is that if I changed the first code line from CySysPmSetWakeupPolarity(CY_PM_STOP_WAKEUP_ACTIVE_LOW); to CySysPmSetWakeupPolarity(CY_PM_STOP_WAKEUP_ACTIVE_HIGH); the CPU goes at Stop mode and the power consumption is almost zero.
But as far as my hardware asks for falling edge at pin P0.7 for wake up, the CPU remains at Stop Low Power Mode forever.
Any idea, or suggestion?
Solved! Go to Solution.