Status of the FEC

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

Status of the FEC

465件の閲覧回数
PEGE
Contributor I

Hello I need to know in which register are the status information's of the FEC are stored. After reset (5282 EVB) the FEC need some seconds to start. I want to wait till the fec is ready and start my routine. I watch the manual but I can't find information about a status register.

 

Regards PEGE

ラベル(1)
0 件の賞賛
1 返信

317件の閲覧回数
TomE
Specialist II

According to "17.4.6 Ethernet Control Register (ECR)" in the Reference Manual, "The reset sequence takes approximately eight internal bus clock cycles after this bit is set.". So if you're seeing it take "some seconds" (millions of times longer) then it is probably a delay in whatever software you're running to initialise the FEC.

 

So you should be checking the software to see if it has a "ready function" or a "ready callback" to find when it is finished.

 

You delay might be due to the link taking a while to become active. The PHY might take a while to sync up with the remote. You should have some softwre that handles the FEC MMFR register. This is used to communicate with the PHY to see if it is ready and connected to a hub or switch. Likewise it might have a function you can call to find the current state.

 

Tom

 

0 件の賞賛