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/TMS570LS1224: MODBUS-TCP communication by Hercules

Part Number: TMS570LS1224

Tool/software: Code Composer Studio

Hello,

We need to interface TMS570LS1224 Launchpad with a device (victron venusgx). This device have MODBUS TCP communication protocol. So for interfacing TMS570LS1224 launchpad with this device what kind of interfacing module i should use?

How i can achieve this task easily. Please find below the link for Venus gx technical data sheet.

https://www.victronenergy.com/panel-systems-remote-monitoring/venus-gx4431.Datasheet-Venus-GX-EN.pdf

  • Hello,

    Since TMS570LS1224 doesn't have ethernet EMAC module, you can use other module (for example SPI, EMIF) for ethernet through an external standalone ethernet controller which supports SPI interface and EMIF interface.

    The Venus-GX doesn't have SPI port, but it has a CAN port. I don't know if Venus-GX can convert CAN message to ethernet packet.

  • Hello,

    Can you please suggest any SPI interfacing module for TMS.

    Venus gx can support Modbus-Tcp protocol for third party device integration. While selecting the SPI interfacing for TMS570 module what should be take care. 

    Can you please share any link to get example of this kind of interfacing

  • Hello,

    SPI is a synchronous, full duplex master-slave-based interface. The data from the master or the slave is synchronized on the rising or falling clock edge. Both master and slave can transmit data at the same time, but only master generates the clock. The SPI interface can be:

    1. 3-wire: SPICLK, SPISIMO (Master out, slave in), SPISOMI (Master in, slave out)

    2. 4-wire: SPICLK, SPISIMO, SPISOMI, SPICS or SPIENA

    3. 5-wire: SPICLK, SPISIMO, SPISOMI, SPICS AND SPIENA

    TMS570 devices support Multi-buffered mode. Up to 128 buffers enable the transmission to be completed without CPU intervention. The buffers are combined in different transfer groups that can be triggered by external events (timers, I/O activity, etc) or by the internal tick counter. Each buffer of the MibSPI can be associated with different DMA channels in different TGs, allowing the user to move data between internal memory and an external slave with minimal CPU interaction.

    Multi=pin parallel modes are also supported. The parallel mode enables the SPI module to send data over more than data line (2, 4, or 8) which increases the throughput. 

    The maximum SPI clock speed is 25MHz.

  • Hello sir,

    Can you please suggest any Modbus TCP communication module which can be interface with TMS570LS1224.

    Kindly share link of any projects which have this same requirement.

  • Hi Prajod,

    I don't have this kind of information.