Hi,
I am trying to set pins 3 and 4 as I2C at Sensor Controller but there is no option. Is there a way to make these pins available to be selected as I2C pins?
-kel
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I am trying to set pins 3 and 4 as I2C at Sensor Controller but there is no option. Is there a way to make these pins available to be selected as I2C pins?
-kel
See table 4.4 in the datashhet: https://www.ti.com/lit/ds/symlink/cc2640r2f.pdf. DIO3 and DIO4 is not available from the Sensor Controller.
Yes, I saw that. I will just set pin 3 and pin 4 as I2C pins through the application.
Pin 3 and Pin 4 are not connected to JTAG_TDO and JTAG_TDI, I don't get the logic why it can not be set as I2C pins at Sensor Controller.
-kel
Hi TER,
I set DIO3 and DIO4 as I2C pins at board file for the CC2640R2F 4x4. Then I am able to call I2C_open() and return with a valid handle.
But, from what you know, would there be any problem using DIO3 and DIO4 as I2C, since based from datasheet TDO and TDI should be connected to these pins?
-kel
The pins are only used as TDO/ TDI if explicitly setting the chip to use 4-pin JTAG. The default is 2 pin JTAG and hence you can use DIO3/ DIO4 as a DIO the same way you use the other DIOs.