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.

TMS320F28388D: TCP example and reference

Part Number: TMS320F28388D
Other Parts Discussed in Thread: C2000WARE

Hi expert,

I'm new to Ethernet and currently exploring the 28388D MCU. I'm specifically looking for a TCP example that is compatible with this MCU. I have attempted to work with the enet_lwip_udp example, but I'm encountering some difficulties in modifying it to TCP on my own.

I was wondering if you could provide me with some information. Firstly, I would like to know if TI has released any updated official examples that are relevant to my requirements. Alternatively, if there are any individuals who can share reference materials or experiences in this area, it would be greatly appreciated. Currently, I am using C2000Ware_4_03_00_00.

Additionally, I have some confusion regarding the testing of the enet_ptpd example. In the enet_lwip_udp example, I was able to utilize Packet Sender to send 'START' or 'STOP' commands for testing purposes. However, I haven't come across similar instructions in the enet_ptpd readme file. Furthermore, I have yet to find the settings for the port number in enet_ptpd.

I sincerely appreciate your assistance and guidance in addressing these queries.

Thank you very much for your time and support!

Best regards,

CJKao

  • CJKao, 

    There is a web server example (enet_lwip) based on LWIP TCP/IP stack located at <C2000Ware>\libraries\communications\Ethernet\third_party\lwip\examples.

    For TCP, you can refer the file tcp.c located at <C2000WareInstallDir>\libraries\communications\Ethernet\third_party\lwip\lwip-2.1.2\src\core\tcp.c . The file header of this file provides instructions for TCP implementation. 

    Best Regards

    Siddharth