Forums - Using I2C and SPI together

4 posts / 0 new
Last post
Using I2C and SPI together
Tritek
Join Date: 15 Jun 16
Location: Mumbai
Posts: 24
Posted: Tue, 2016-09-13 06:05

Can same pins of CSR1010 be connected to an I2C Slave and 3-pin SPI (CS#, SCL, SDIO) Slave at the same time?

Thanks!

  • Up0
  • Down0
Dr. Nissim Zur
Profile picture
Join Date: 6 Jun 16
Location: Skype: nissim.test CSR1010 External design house
Posts: 235
Posted: Wed, 2016-09-14 00:17

Since I2C devices listen all the time to I2C SDA line , if you SPI will send data on this line , the I2C sensor may see its address and read the SPI data as a command. 

To close the I2C sensor power will impose a poll down the load on PIO and SPI lines may not work. 

My offer, use other PIO lines for SPI

You can  my Skype nissim.test if you like.

 

  • Up0
  • Down0
Tritek
Join Date: 15 Jun 16
Location: Mumbai
Posts: 24
Posted: Thu, 2016-09-15 22:51

Thanks for the clarification Dr. Nissim. I was planning to use SPI as I had those ICs in stock. But now to keep things simple, I have decided to use the I2C version of the same IC categary instead of SPI.

Thanks!

  • Up0
  • Down0
raymondchoi2009
Join Date: 24 Oct 17
Posts: 2
Posted: Tue, 2017-10-24 00:46

CSR8670, When I saw the block diagram, I found i2c/SPI interface, not dedicated SPI debug pins. How can I set up PIO pins when I use SPI communication interface without dedicated SPI debug port? 

 

Please help me. 

 

[email protected] 

 

I am a authrized development partner with CSR( now qualcomm ). 

 

 

 

 

 

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