PHY Modification for lpc17xx to lpc54s018 in baremetal code(non RTOS base)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PHY Modification for lpc17xx to lpc54s018 in baremetal code(non RTOS base)

391 Views
sachinn434
Contributor I

hi all 

i am using lpc54s018jbd208 am trying configure ethernet ic DP83484vii so i am changed some phy register and tried but i am getting autonegation also but ip is not pinging 

regPHY: 0x8021
PHY_ID1_REG: 0x2000
PHY_ID2_REG: 0x5C90
it is DP83484
auto_4h: 0x 1E1
auto_5h: 0x 0
reg3: 0x7849
reg3: 0x7849
reg3: 0x7849
reg3: 0x7849
reg3: 0x7849
reg3: 0x7849
reg3: 0x7849
reg3: 0x7849
reg3: 0x7849
reg3: 0x7849
BCR_0h: 0x 1E1
ALL PHY_SPECIALCTL_AUTONEGDONE_MASK PAss
beforelinkup: 0x 117
PHY link up
afterlinkup: 0x 117
add14_h: 0x 0
ALL Operation close
.after PHYINIT.

intialization done
please give the input
NEW_SOCKET_CREATED.
tcp_bind pass .
tcp_connect pass .

************************************************
CLIENT IP
************************************************
IPv4 Address : 192.168.0.102
IPv4 Subnet mask : 255.255.255.0
IPv4 Gateway : 192.168.0.100
************************************************

                                                          thank you

best regards

sachin

0 Kudos
2 Replies

354 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

It appears that you can read/write the PHY register correctly, what is your problem now?

BR

XiangJun Rong

0 Kudos

345 Views
sachinn434
Contributor I
hi sir thanks for your reply the main issue is i am not get ping
please help me sir
0 Kudos