KSZ9893R phy on LPC1768

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

KSZ9893R phy on LPC1768

664件の閲覧回数
darren_cawthorn
Contributor I

Hi,

I have an LPC1768 setup with the demo DP83848J phy running successfully inside an RTOS so I have a decent code base to work from. 

I have since re-spun a board with the KSZ893R as the phy, now I didn't expect this to just run with the same code but it appears to be completely buggered! During the setup of the EMAC on the LPC itself the unit hangs to the point it locks out the debugger.

I have traced the fault to a single line :

LPC_EMAC->MAC1 = MAC1_PASS_ALL;

the define is just setting a 0x02 into the register. 

If i run this code on the dev board ( using original phy ) it runs fine but at this point surely im not even talking to the phy?

I noticed the phy im using isnt listed in the known compatible list but does that mean I am limited only to this list? my knowledge of ethernet is limited somewhat. I just assumed so long as they have the correct RMII / MII pins they are good to go. 

Thanks,

Darren.

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

527件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Darren,

Before you set up a specific register of Ethernet, you should follow up the procedure and initialize the module.

Hope it can help you

BR

XiangJun Rong

pastedImage_1.png

0 件の賞賛