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.

[参考译文] TMS570LC4357:我的 EMACSTATUS 寄存器总是错误的

Guru**** 2609995 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/766075/tms570lc4357-my-emacstatus-register-is-always-wrong

器件型号:TMS570LC4357

当我使用 EMAC 模块发送和接收消息时、我有3个步骤:

1.send ARP 包和 Receive、用于在 PC 和电路板之间建立链路。

如果步骤1正常、则将消息放入缓冲区。

3、配置 EMAC 模块的寄存器以传输消息。

但是如果我运行代码两次、EMACSTATUS 寄存器将变为   0050000。

是因为我没有从 PC 收到 ARP 包、所以没有建立链路?

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

    您是否按照 TRM 中列出的步骤来初始化 EMAC 和 MDIO? 您使用哪种 TCP/IP 堆栈、LWIP 或您自己的堆栈?