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.

TMS320F2800157: I2C modes

Part Number: TMS320F2800157


Tool/software:

Hi Team,

Is there any way to communicate between two same TMS320F2800157 boards using I2C while using Controller-Receiver and Slave-Transmitter mode for Master and Slave respectively?

I have seen code that uses Controller-Receiver and Slave-Transmitter where Controller is TMS320F2800157 board and Slave is EEPROM in C2000 Examples. But No examples for the above stated question which deals with two TMS320F2800157 boards connected over I2C.

Kindly, provide me resolution of whether is it possible or not.

Thanks

  • Related to the above query I have seen example 3 for external loopback where I am able to send data from I2CA instance to the slave Instance I2CB but I was not able to get data from I2CB. Is there anything I need to do to solve this?

  • Hi Kaustuv,

    Example #5 (i2c_ex5_controller_target_interrupt) Part 4 is what you are looking for. This example can be used by two I2C on the same board or different boards, like in your case.

    To modify example #3, you will need to configure sending data on the I2CB side as it is only done for I2CA currently which includes the appropriate byte size, interrupts, etc. I would start with Example #5 though.

    Best Regards,

    Aishwarya

  • Kaustuv,

    Have you been able to resolve this issue? If there are no more questions, I will go ahead and close this thread  

    Best Regards,

    Aishwarya