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/LAUNCHXL2-570LC43: Connect LAUNCHXL2-570LC43 with Arduino

Part Number: LAUNCHXL2-570LC43
Other Parts Discussed in Thread: HALCOGEN

Tool/software: Code Composer Studio

I want to connect my LAUNCHXL2-570LC43 with my Arduino. After some research, I find out that using the I2C connection may work. However, I do not understand the coding. Could someone help with basic examples? I want to use the Hercules launchpad as a master and receive data from the Arduino board. The Arduino board I am using is the Arduino nano board. Or is there another simple way that I can connect these two boards? I Just need the Hercules LauchPad to read data from the Arduino and the Hercules LaunchPad may be used for other projects while connecting to the Arduino. I am new to this microcontroller so some simpler explanations may help. Thanks.

  • Hello,

    Yes, there is no problem for TMS570LC43x to send/receive data to/from Arduino through I2C/SCI/SPI etc interfaces.

    1. The I2C signals are located at J2 connector:

           J2-Pin 8            I2C_SDA

           J2-Pin 9           I2C_SCK

    2. Connect TMS570LC4x I2C_SDA to Arduino I2C_SDA, and TMS570LC43x I2C_SCK to Anduino I2C_SCK

    3. Since I2C_SDA and I2C_SCK are open-drain or open-collector pins, please add pull-up resistors to both lines.

    4. TMS570LC43x I2C doesn't tolerate 5-V input. 

    You can HALCoGen to configure the I2C and generate the HW driver for your project. HalCoGen contains examples of using I2C:

    https://www.ti.com/tool/HALCOGEN#descriptionArea

  • If I want to connect them using UART, what pins do I use on the LaunchXL2-570LC43?

    Also which would be better UART or I2c? In terms of easy to understand and code and also the pros and cons? 

    Sorry to ask so many questions, I am rather new to this thus I have a lot of questions. Thanks

  • Both UART and I2C are easy to use.