RMII interface with MII Management Bus

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

RMII interface with MII Management Bus

ソリューションへジャンプ
2,160件の閲覧回数
Jeinstei
Contributor II

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

ラベル(1)
タグ(2)
0 件の賞賛
返信
1 解決策
1,743件の閲覧回数
LadislavVadkerti
NXP Employee
NXP Employee

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

元の投稿で解決策を見る

0 件の賞賛
返信
5 返答(返信)
1,743件の閲覧回数
Jeinstei
Contributor II

Thanks for the help with this! I guess our Management Bus is having its own problems then; I'm going to have to look into this!

0 件の賞賛
返信
1,744件の閲覧回数
LadislavVadkerti
NXP Employee
NXP Employee

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

0 件の賞賛
返信
1,743件の閲覧回数
Jeinstei
Contributor II

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.

0 件の賞賛
返信
1,743件の閲覧回数
LadislavVadkerti
NXP Employee
NXP Employee

If the OnMIIFinished event is enabled, it signalizes that the register value has been received. If you turn it off, the GetMIIResult will test the completion flag.

0 件の賞賛
返信
1,743件の閲覧回数
Jeinstei
Contributor II

Ah-HA! I see it now. Interesting. I appreciate the assistance!

0 件の賞賛
返信