Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
Good afternoon,'m developing a new project where I've severall peripherals in use such as RTC, BLE, Capsense, UART, PWM, ADC and I want to detect a power failure, put in sleep mode and then only keep update the RTC and check if the power is back again.
I've managed already the rtc using an interruption and external crystal timer, but when i try CySysPmDeepSleep(); it does not work properly.
Do you have any advice how to do it? is there already someone that did a similar thing?