Other Parts Discussed in Thread: TMS320F28388D
Hi Team,
Our customer would like to ask your help regarding the ethernet and IPC in TMDSCNCD28388D controlCARD. Please see the details of his inquiry below.
I am currently working on a project using the TMS320F28388D control card, specifically focusing on the ethernet_ipc_ex1_basic_cm.c and ethernet_ipc_ex1_basic_c28x1.c examples provided by TI. The goal is to send data from the C28X1 core to a PC via Ethernet and capture the Ethernet frames using Wireshark.
I have successfully tested the exact example codes, and they work as expected. However, I now need to modify the code to continuously send Ethernet packets received from the C28X1 core via the IPC mechanism. My approach was to implement an endless while loop in both codes, allowing continuous packet transmission. Unfortunately, after sending a maximum of two Ethernet frames consecutively, the code hangs. Although both cores appear to be running in the debug window, they do not send out any Ethernet frames afterward.
I have thoroughly debugged the code but have been unable to identify the root cause of this issue. I would like to seek your expert assistance in resolving this matter.
- Is it necessary to synchronize the cores in every loop iteration, or is it sufficient to synchronize them only once during startup?
I would greatly appreciate it if you could provide insights or suggestions on how to address this issue. Additionally, if it is possible, I kindly request you to share a code example that demonstrates the proper implementation of an endless loop for continuous Ethernet packet transmission in this scenario.
Thank you very much for your time and support. I look forward to hearing from you and resolving this matter.
Regards,
Danilo