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**** 2540720 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1274548/tms320f28388d-ethercat-cannot-be-scanned

器件型号:TMS320F28388D

大家好、

客户有问题需要您的帮助:

我在 CPU1端运行 EtherCAT 代码。 仿真从 RAM 正常运行、从闪存开始、并在仿真期间正常运行。 但是、当我在不进行仿真的情况下运行时、我发现无法使用 TwinCAT 即 EtherCAT 主站来扫描从站(10次扫描中约7.8次)。 否则、可能会在关闭电源和重新启动后对其进行扫描)。

我找到了一个解决这个问题的实用方案、但我不知道为什么?  这是我解决它的方法:

我关闭了 AUXPLL 时钟、而是将 EtherCAT 时钟更改为 SYS PLL 的2分频频率。 在这种情况下、相同的环境每次都可以扫描到从站。  我没有启动 CM 内核、也没有将代码刻录到 CM 内核中。

我想知道是否每个人都有这个问题、以及为什么在我这样修改后它可以正常工作。

谢谢。此致、