Hello,
We have a TM4C129XNCZAD based custom board
Tivaware 2.1.1.71
TI-RTOS 2.14
When a power outage occurs, we need to save the context data and put the micro controller in deep sleep. We have super cap backup to do this (backup is of tens of seconds, based on the super cap charge). When power comes back we need wake up from deep sleep.
We are using the same signal to monitor power fail and power resume. The same signal is connected to 2 different GPIO pins for detection of power fail and resume. The 1st GPIO for power fail detection is configured for LVL_HIGH and 2nd GPIO pin for power resumption is configured for FALLING_EDGE.
When power fails, both GPIO pin are pulled up. The interrupt handler of the first GPIO posts an event and context data is saved and micro controller goes into deep sleep.
When power resumes (say within few seconds), both GPIO pin are pulled low, Interrupt handler of the second GPIO should kick in and the sysctlreset should be called.
I am seeing the interrupt for power fail. I am not seeing the second interrupt (falling edge) for power resume.
Can micro-controller wake up from deep sleep on a falling edge interrupt? Does deep sleep wake only on raising edge or LVL_HIGH interrupts
TIA
Narendra
TIA
Narendra