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:EtherCAT 中断

Guru**** 2465890 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1397413/tms320f28388d-ethercat-interrupt

器件型号:TMS320F28388D

工具与软件:

您好!

我最近使用的是 EtherCAT、而且这项技术还比较新。 我实现了一个将数据从 twincat3发送到 DSP 的应用、运行正常、但我有一个 EtherCAT 读取问题、现在我使用的是 TExaS 的回显示例、有一个 MainLoop 函数在每个周期运行并解析每个周期中的数据。 我想知道、如果在接收数据并连接到解析数据的函数时触发中断、或者 EtherCAT 的工作方式是这样的、那么我应该在每个周期运行与它相关的每个函数。 我希望对其进行优化、以便在收到 PDO 时、使用该对象 ID 更新了参数。

谢谢!

Hamidreza

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

    您好!

    我想知道在我收到数据时是否触发了中断

    是的、请查找 PDI 和 PDO 中断。  

    此致、

    Ben Collier