按钮中断

Extended sleep mode disable/re-enable

结婚,2020-09-09 21:23--AdamShier

Hi,

I'm trying to get extended sleep working on my custom board with the DA14581 MOD board. The setup is as follows:

The system is initially configured with extended_sleep without OTP Copy. The wakeup is configured on a button interrupt, which does wake the system up on first press. Upon wakeup, the sleep is disabled (using arch_disable_sleep) so I can sample a sensor every 100ms using the timer0. The extended_sleep is then meant to be re-enabled after 7 seconds.

Subscribe to RSS - button interrupt