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.

CC2652R7: Number of I2C ports

Part Number: CC2652R7


Hi Team,

Our customer would like to clarify if the CC2652R7 has two I2C ports. Please see the details of his inquiry below. I have checked the datasheet and technical reference manual but it's not clear if there are one or two I2C ports. 

I would like to use the CC2652R7 in a design where I need to use 2 I2Cs interfaces. It's not clear for me and my team if it's possible to have two parallel I2Cs interfaces on the chip.

Is it true that the "Sensor Interface" has a dedicated I2C or use it the I2C interface of the "General Hardware peripherals and Module" ?

If it's true, are all the GPIOs compatible with "Sensor Interface" ? Would you have a clear table of what assignation is possible and what is not ?

We have two sensors (1 thermal sensor and 1 capacitive touch controller) and we don't want that they communicate on the same I2C. 

Regards,

Danilo

  • Hi Danilo,

    There is only one I2C peripheral on the CC2652R7.  The Sensor Interface uses a bit-bang I2C solution which does not share resources with the on-chip peripheral, thus it is possible to use two different I2C interfaces.  Please review the Sensor Controller Studio Help Documentation and TI Drivers Runtime APIs.

    Regards,
    Ryan

  • Hi Ryan,

    Our customer has further inquiries as follows,

    I don't understand your answer. You say that is possible to have 2 I2C but there is only one peripheral on the CC2652R7. What is I2C Bit-Bang?

    The Sensor Interface is included in the CC2652R7 ? Then you say to me that there is 2 cores in the CC2652R7 ? One with one I2C peripheral and another for Sensor Interface which could implement I2C?

    If it's that, what pins are compatible with Sensor Interface ? All the GPIOs ? Or only some of them? Could it be to have the two I2Cs working in parallel?

    Could you provide me a Hardware refdesign with two I2Cs implemented on the CC2652R7?

    Regards,

    Danilo

  • I2C bit-bang is a software solution to implement the protocol by driving the SCL/SDA GPIO lines high/low at the correct timings.  You can find further explanations online.  This is implemented internally to the Sensor Controller for a master peripheral and thus no additional development is required for users.

    The Sensor Controller is an autonomous MCU built into the device which can work alongside the main Cortex M4F processor.  You can read more about this in the datasheet and TRM.

    The Sensor Controller can access any GPIO such as those reserved for its I2C SCL/SDA.  Since any GPIO can be used for either the I2C peripheral or bit-bang SC solution, no hardware reference design other than the LP-CC2652R7 is necessary.

    Regards,
    Ryan