Wakeup PSoC on power supply recovery | Cypress Semiconductor
Wakeup PSoC on power supply recovery
I'm putting PSoC5LP in sleep mode as soon as it receives an int coming from the LV detection block (raised thru the Global Signal component). There's of course a battery back up feeding the CPU while the PS is off, mainly for ram retention & keeping the RTC running.
However when the power supply comes back to life, I'm unable to wake up the processor using CyPmSleep(PM_SLEEP_TIME_NONE, PM_SLEEP_SRC_VD).
There is not so much doc/explanation/example about PM_SLEEP_SRC_VD used whithin CyPmSleep.
Is anyone able to give me further explanation?