Forums - Wake up from deep sleep mode

4 posts / 0 new
Last post
Wake up from deep sleep mode
Loris
Join Date: 27 Jul 16
Posts: 35
Posted: Wed, 2016-08-03 18:59

I have to external interrupt source, one is a button which is pulled-up to 3.3V, but another is a wave that directs connect to PIO9 of CSR1010. 

Then button press can wake up the chip ,but the edge of the wave can't . does anybody know why? appreciate for your reply! 

  • Up0
  • Down0
Dr. Nissim Zur
Profile picture
Join Date: 6 Jun 16
Location: Skype: nissim.test CSR1010 External design house
Posts: 235
Posted: Thu, 2016-08-04 07:01

You have to define edge  both 
PioSetEventMask(BUTTON_PIO_MASK, pio_event_mode_both);

 

  • Up0
  • Down0
Loris
Join Date: 27 Jul 16
Posts: 35
Posted: Thu, 2016-08-04 19:24

Nissim,thanks for your advice. set eventmask of PIO9 with pio_event_mode_both or pio_event_mode_falling can wake the chip.I'm really amazing that if I set PIO9 of pio_event_mode_rising,then can't wake up. do you know why? or I have missed some settings?

  • Up0
  • Down0
Dr. Nissim Zur
Profile picture
Join Date: 6 Jun 16
Location: Skype: nissim.test CSR1010 External design house
Posts: 235
Posted: Thu, 2016-08-04 21:04

The button you use has pulled up to 3V, so, when pressed it short to GND ( need to anyway)

So it can send only GND to pio9

so wake up can be only by down going down by  pressing or up-going by relish the bottom. 

call my Skype nissim.test I will explain better. 

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.