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/TMS570LS3137: Send packets with Multicast in FreeRTOS based project

Part Number: TMS570LS3137

Tool/software: Code Composer Studio

Hi,

Is it possible to send my packets to a group of destination computers simultaneously over an IP network? If it is possible, could you please guide me how to send my packets real-time in freertos?

To Giving Details :

I read in TMS570LS3137 → Technical Reference Manual document → "Table 2-1. Definition of Terms → MibSPIx → Multi-Buffered Serial Peripheral Interface → transfer packets to group".

Also,I read in TMS570LS3137 → Device Overview Document → "7.7 Local Interconnect Network Controller → ... for multicast transmission between any network nodes "

Thanks.

Asina-Chie-Shih-Shuai

  • Hello,

    SPI: My understanding is that the master can not send/receive data to/from several slaves simultaneously. Each SPI modules on this device has several chip select pins which can be used for communicating with multiple slave devices. SPI works in full duplex mode. In master mode, we are getting data on SPISOMI pin while transmitting data onto SPISIMO pin. 

    LIN: The LIN communication concept is single-master/multiple-slave with a message ID for multi-cast transmission between any network nodes. Please be aware that there is no arbitration in the definition of the LIN protocol, so multiple slave nodes responding to a header might be detected as an error.

  • Thanks for the quick reply.

    Is there another way that I may have overlooked to do multicast communication in TMS570? Could you please guide me on how to send my packets real-time in FreeRTOS based project?

  • SPI: If your application has only one master, and the slaves don't transmit data back to the master, all the slave devices can share the same chip select. The SPISOMI pin has to be configured as functional pin, and clear the TXDATA in slave TX RAM. or leave SPISOMI pin unconnected.

    DCAN: DCAN node can transmit data to nodes on the network.