Hi-
We have a Micrel chip that runs with an RMII interface with an MII management bus. Do the ReadMII/WriteMII/GetMIIResult methods work? They say that they only work in MII mode, but does this mean that they only work if the Management Bus is enabled?
Thanks,
Josh
已解决! 转到解答。
Hi,
yes, they work in both modes, MII and RMII. Historically there was a third mode (currently hidden), which did not have a management bus. Without that mode the hint is confusing and it should be changed. And, of course, if you disable the management bus, the methods are also useless. Thank you for pointing out.
Ladislav
Hi,
yes, they work in both modes, MII and RMII. Historically there was a third mode (currently hidden), which did not have a management bus. Without that mode the hint is confusing and it should be changed. And, of course, if you disable the management bus, the methods are also useless. Thank you for pointing out.
Ladislav
Ladislav-
There looks to be another problem though. ETHn_GetMIIResult() ALWAYS returns an ERR_OK accroding to the driver, meaning that ERR_BUSY is never returned. This means a manual delay has to be added on register reads.