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.

CCS/TM4C1294NCPDT: communication of TM4C1294

Part Number: TM4C1294NCPDT
Other Parts Discussed in Thread: EK-TM4C1294XL

Tool/software: Code Composer Studio

Dear team,

Customer’s needs are as follows:(2 TM4C1294)

1 Each 1294 chip connects 10 channels of i2C data

2 One chip (chip 1) gets 10 channels of I2C data from the other chip (chip 2)

3 All I2C data is sent out through the Ethernet of chip 1 

4 Two chips need to be synchronized

Please tell me how to implement the above functions. Thanks!

  • Hello Susan,

    I can point to some example codes to help with the basics. I'm not clear on the synchronization piece though.

    For I2C, the customer can configure I2C for master and slave operation looking at:

    [Install Path]\TivaWare_C_Series-2.2.0.295\examples\peripherals\i2c for Slave Mode

    [Install Path]\TivaWare_C_Series-2.2.0.295\examples\boards\ek-tm4c1294xl-boostxl-senshub\humidity_sht21_simple for Master mode

    For Ethernet, depends what protocol they need, but usually this one works well as a basis:

    [Install Path]\TivaWare_C_Series-2.2.0.295\examples\boards\ek-tm4c1294xl\enet_io

    There are also lwIP and uIP examples offered as well.

  • Thanks for your reply.

    So how to achieve the following:

    3 All I2C data is sent out through the Ethernet of chip 1 

    4 Two chips need to be synchronized

  • Hello Susan,

    Susan Yang said:
    3 All I2C data is sent out through the Ethernet of chip 1 

    That's an application implementation. The customer has to read the data from I2C and then send it over Ethernet.

    Susan Yang said:
    4 Two chips need to be synchronized

    As mentioned before, I don't understand the details to this requirement. I need more information regarding what needs to be synchronized between these chips. It's very unclear to me currently what 'synchronized' means for this application.