Forums - i2c pins mapping

1 post / 0 new
i2c pins mapping
Join Date: 29 Aug 19
Posts: 3
Posted: Thu, 2019-09-05 23:21

Hi Dr Nissim Zur

I am using the development kit of csr1010 . My requirement was to interface the i2c sensor (TLV493D) with the development Board. It was succesfully interfaced with following configuraion 


#define I2C_SCL_PIO       (10)                  // Header P100 Pin (13)

#define I2C_SDA_PIO       (9)                  // Header P100 Pin (14)



Data i am getting is very stable . Now the issue is that , whcih i want to discuss with you is that .My Hardware Team Memeber has designed the custom  board , but he set the i2c configuration differently 

I2C_SCL_PIO ----------------------> Pin # 28 of CSR1010 (I2C_SCL)

I2C_SDA_PIO ----------------------> Pin # 29 of CSR1010 (I2C_SDA)

And EEPROM is also connected with these pins by default .

To run the same working FW on new Pin configuration as mentioned .I did following changes.

# 1 

i commented these two lines 

//#define I2C_SCL_PIO       (10)                  // Header P100 Pin (13)

//#define I2C_SDA_PIO       (9)                  // Header P100 Pin (14)



i have made the following change in I2cInit();


But after that i am not getting the right data / not able to correctly read the sensor.

Quesion is how i configure the Pin  # 28 and Pin # 29 as Scl and Sda

Your help in this regard is required . Thanks in advance 

Best Regards






  • Up0
  • Down0

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.