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.

[参考译文] RTOS:emac.h 中内部 PHY 的物理地址与 TM4C1294NCPDT 芯片上的 EMACSnow.c 之间有何区别?

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/619830/rtos-what-s-the-difference-bettwen-the-physical-address-of-the-internal-phy-in-emac-h-and-emacsnow-c-on-chip-of-tm4c1294ncpdt

主题中讨论的其他器件:TM4C1294NCPDT

工具/软件:TI-RTOS

大家好、  

  当我使用  TM4C1294NCPDT 的片上 EMACPHYREAD()和 EMACPHYWrite()时, 我看 一下内部 PHY 的物理地址。

  EMACSnow.c 中#define PHY_PHY_ADDR 1  

 在  emac.h 中#define EMAC_PHY_ADDR 0

tirtos_tivac_2_16_01_14中有不同的软件产品。   

根据数据表、  

20.4.2.5 PHY 地址
集成 PHY 的地址为0x00。 通过内部访问集成 PHY 寄存器
MAC 的 MDIO 接口、以太网 MAC MII 地址(EMACMIIADDR)寄存器的 PLA 位域
必须为0x00、MII 域应编程为所需的地址值。

 我是否应该 以正确的方式使用内部 PHY 的物理地址?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    TI-RTOS 驱动程序使用外部 PHY。 我们无法找到我们不幸这样做的确切原因。 我认为 TivaWare 中的 lwIP 示例展示了如何使用内部 PHY。