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:在 tcpEchoF2838x 中接收数据和发送数据

Guru**** 2609895 points
Other Parts Discussed in Thread: C2000WARE

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1054977/tms320f28388d-receive-data-and-send-data-in-tcpechof2838x

器件型号:TMS320F28388D
主题中讨论的其他器件:C2000WARE

大家好、我不熟悉 以太网和 TI 组件。 我正在使用 IPC 中断运行 tcpechoF2838x 示例。  我想从 PC -> CM -> CPU1->CM -> PC 回送数据。 我可以使用 IPC 中断将数据从 CM 发送到 CPU1 、反之亦然。 但是、此示例使用 tcpWorker 在 接收后立即接收和发送数据。 现在、我希望 在 IPC 中断从 CPU1接收到 CM 数据后立即将数据从 CM 发送到 PC。 我该怎么做?   提前感谢!

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

    您好!  

    您可以更新 tcpWorker 处理程序、以使用 IPC API 将接收到的数据发送到 CPU1。 请参阅 C:\ti\c2000\C2000Ware_3_04_00_00\driverlib\f2838x\examples\C28x_cm\IPC 上提供的 IPC 示例  

    此致

    Siddharth

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

    您好 Siddharth、

    谢谢你的回复,即使你是在感恩节假期!!!
    实际上、我的问题是如何在 tcpWorker 之外使用 tcp_send 函数。 我发现我只需要将 tcp_Send()函数放在中断函数中。 它工作正常。 顺便说一下,非常感谢!!!

    此致

    Dung