MDIO issue?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MDIO issue?

1,517 次查看
woutervh
Contributor IV

My phy (a marvell 88e6071 switch) does not seem to respond on my mdio commands.

I think maybe my timings are wrong? What can be causing this? Mdio data seems to change on the rising clock. And at turnaround time, the marvell does not take over. Any idea? This screen was taken in U-boot, but it's not working in linux either...

fft.jpg

Edit: one remark, the marvell is supplying the ethernet reference clock to the imx. Don't know if that matters...

Edit2: I added a hold time of 4 to the mxc_fec, so I see the data shifting to the middle of the pulse. But still no answer from the marvell...

标签 (3)
0 项奖励
回复
1 回复

1,212 次查看
alexander_yakov
NXP Employee
NXP Employee

In your scope screenshot I see last rising has is very weak slope, this may cause remote side to incorrectly detect the state of data line as "0" and get confused of this extra "0" and the end. Obviously, this slow slope is created by weak pull-up resistor, so I recommend placing more strong pull-up resistor on MDIO line ans check if this will solve the problem.


Have a great day,
Alexander
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复