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.

LAUNCHXL-F28379D: Multiple I2C Slave

Part Number: LAUNCHXL-F28379D
Other Parts Discussed in Thread: C2000WARE

Hi Team,

Can we use multiple I2C slaves with the same I2C bus in the F28379D launchpad? Our customer intends to use two identical sensors and they would like  to use them in a single I2C bus, therefore changing one of their slave address. If this would be possible, do we have a reference or example that can be shared for this implementation?

Thanks in advance!


Kind Regards,

Jejomar

  • Hi Jejomar,

    Yes, this is possible assuming different slave addresses for each device. I2C allows up to 127 devices on one bus for 7-bit mode, assuming signal integrity requirements can be met.

    Jejomar Ildefonso said:
    do we have a reference or example that can be shared for this implementation?

    We don't have an example for multiple slave devices, but we do have examples that can be expanded for more than one slave. You can find I2C examples in the latest C2000WARE install directory below. I would recommend looking at ex4 through ex6.

    C:\ti\c2000\C2000Ware_3_04_00_00\driverlib\f2837xd\examples\cpu1\i2c

    Best,

    Kevin