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.

TMS320F28379D: i2c communication

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE

Hello,

I want to communicate with IMU sensor (LSM9DS1) via i2c. I already gone through TMSVCC5503 guide for read and write function. As mentioned in TRF of launchpad format is S-A+WR-D-D-P ,but for this IMU format is like this: S-A+WR-ACK-SUB(subaddress)-ACK-DATA .  Can you suggest me the example code for i2c other than EEPROM? 

  • Hi,

    The I2C examples for this device are all located in the C2000WARE directory below. There's a few eeprom examples and also 'i2c_ex5_master_slave_interrupt' that you could reference.

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

    You should be able to leverage the 'i2cLib_FIFO' files and functions within them (used by ex4 through ex6) to meet your device protocol.

    Best,

    Kevin