This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to enter in a deep sleep mode and wake up GPIO.

Hello,

Hello, I am currently developing an emergency system. The goal is for this system to be off most of the time. It will be used very little, and the system will have to be woken up by pressing a button. The system will automatically go back to sleep after a certain time. When the system is on I use the GPIOs to drive a motor.

I used this example to make the card enter the off mode, however I have the impression that the GPIOs are still active.

I understood that there was a deeper standby state here, does this one allow to deactivate the GPIOs ? And moreover will it still be possible to wake up the system by changing the state of the push button in this deeper state or is this not possible?

Thank you in advance for the advice and answers.

Léo

Parents
  • Hello,

     

    I used this example to make the card enter the off mode, however I have the impression that the GPIOs are still active.

     Yes, that is intended behavior. System off turns off all the peripherals except for GPIO.

     

    I understood that there was a deeper standby state here, does this one allow to deactivate the GPIOs ?

     No, there is no deeper standby state than system off.

     

    And moreover will it still be possible to wake up the system by changing the state of the push button in this deeper state or is this not possible?

     Yes, you will need to enable the SENSE flag in the PIN_CFG register for the button GPIO pin.

Reply
  • Hello,

     

    I used this example to make the card enter the off mode, however I have the impression that the GPIOs are still active.

     Yes, that is intended behavior. System off turns off all the peripherals except for GPIO.

     

    I understood that there was a deeper standby state here, does this one allow to deactivate the GPIOs ?

     No, there is no deeper standby state than system off.

     

    And moreover will it still be possible to wake up the system by changing the state of the push button in this deeper state or is this not possible?

     Yes, you will need to enable the SENSE flag in the PIN_CFG register for the button GPIO pin.

Children
No Data
Related