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.

[参考译文] TMDSCNCD28388D:使用以太网从一个微控制器到另一个微控制器同时连续发送和接收数据

Guru**** 2531950 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1018807/tmdscncd28388d-continuous-send-and-receive-data-simultaneously-from-one-microcontroller-to-the-other-using-ethernet

器件型号:TMDSCNCD28388D

大家好、我 正在使用以太网模块。 我想在2个微控制器(发送和接收)之间建立通信。 我能够将数据从一个 MCU 连续发送到另一个 MCU、而另一个 MCU 连续接收到数据。 现在、我希望从一个 MCU 到另一个 MCU 连续发送和接收数据。 我使用 EtherNet_basic_TX_Rx_loopback 示例作为参考、并禁用了环回模式、以从一端发送数据、从另一端接收数据 我添加了 while 环路以更新数据缓冲区并增加了延迟。 在该示例中、我必须进行哪些更改才能连续发送和接收?

注意:我在 while 循环中添加了 ethernet_send_pkt、并更新了两边的数据缓冲区、但我无法实现它。

谢谢!