Forums - PIO event trigger in CSR1010 board

3 posts / 0 new
Last post
PIO event trigger in CSR1010 board
Prabhu Tadepalli
Join Date: 25 May 16
Location: San Diego
Posts: 8
Posted: Thu, 2016-07-21 15:33

I want to trigger PIO event in CSR1010 board. I see two switches SW2 and Sw3

But pressing either of the switches does not initiate the required callback event

Is there special software/hardware configuration to be done to enable this

  • 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-07-21 22:22

tskprabhu,

Did you defined the  CSR1010 pios  connected to SW2,Sw3 as input and 

PioSetEventMask(PIOx_MASK, pio_event_mode_both);

  • Up0
  • Down0
Prabhu Tadepalli
Join Date: 25 May 16
Location: San Diego
Posts: 8
Posted: Mon, 2016-07-25 14:50

Thanks Nissim,

The PIO button was mentioned as 11 in sample application.

Changed it to 1 (as per board schematic) and the sample application is working

Thanks

  • 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.