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.

c6748的MDIO接口读写phy的问题



你好:

       使用C6748的MDIO接口读写Lan8700,RMII模式,时钟信号为50MHz。

参照C6748_Startware_1_20_04_01/examples/evm6748/enet_echo进行修改。

代码运行后,执行了MDIOInit()(读数据速率为1M,写数据速率为114M)后,通过示波器测量MDIO引脚,发现以下现象:

MDIO引脚测量到6748在不断扫描32个Phy,PhyAddr从0到31,重复扫描。

请问:

1、6748通过MDIO接口扫描32个Phy的现象,什么时候会停止?是扫到硬件的Phy就停止?

2、为什么我这边,代码运行后,MDIO引脚一直有扫描32个Phy的信号?

3、如果是,是我代码中PhyAddr设置有问题,请问我这边应该怎么设置?

参照C6748_Startware_1_20_04_01/examples/evm6748/enet_echo进行修改的