This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DP83848K: SR No. 00030423 Ethernet Duplex negotiation issue

Part Number: DP83848K

Hi Team,

 

I use DP83848K 10/100 base-T Phy from TI and I have a technical problem with one of my customers.

Problem description:

My unit (With DP83848K  Phy) connected via LAN port to Cisco Router 1841. When unit configured to work on Force 100M FD the physical layer failed.

 

Phy registers Modes

================

 

When PHY works at AUTO mode this are the register dump

 

-> read_phy_regs

read_phy_regs

Reg = 0x0, Val = 0x1000

Reg = 0x1, Val = 0x786d

Reg = 0x2, Val = 0x2000

Reg = 0x3, Val = 0x5c90

Reg = 0x4, Val = 0x1e1

Reg = 0x5, Val = 0xc1e1

Reg = 0x6, Val = 0xd

Reg = 0x7, Val = 0x2801

Reg = 0x8, Val = 0x0

Reg = 0x9, Val = 0x0

Reg = 0xa, Val = 0x0

Reg = 0xb, Val = 0x0

Reg = 0xc, Val = 0x0

Reg = 0xd, Val = 0x0

Reg = 0xe, Val = 0x0

Reg = 0xf, Val = 0x0

Reg = 0x10, Val = 0x615

Reg = 0x11, Val = 0x0

Reg = 0x12, Val = 0x0

Reg = 0x13, Val = 0x0

Reg = 0x14, Val = 0x0

Reg = 0x15, Val = 0x0

Reg = 0x16, Val = 0x100

Reg = 0x17, Val = 0x1

Reg = 0x18, Val = 0x0

Reg = 0x19, Val = 0x8021

Reg = 0x1a, Val = 0x804

Reg = 0x1b, Val = 0x0

Reg = 0x1c, Val = 0x0

Reg = 0x1d, Val = 0x6011

Reg = 0x1e, Val = 0x83e

Reg = 0x1f, Val = 0x0

 

 

When changing Ethernet mode from AUTO NEG to Force 100M FD this is the action that my driver does

 

PHY Write  register  0  value 0x800

PHY Write  register  0  value 0x0

PHY Write  register  0  value   0x8000

PHY Write  register  0  value 0x1200

PHY Write  register  4 value 0x101

PHY Write  register  0  value 0x3300

PHY Write  register  0  value 0x2100

PHY Write  register  0  value 0x2100

 

This sequence of changing from AUTO NEG to Force 100M FD works on most of the Ethernet switches

 

I also tried writing manually from shell the value 0xA100 to register 0   (control register) but it didn’t help)

 

When I have the Synchronization problem ( Force 100M FD )  the Link status register (reg 1) shows the link is down all the time and also Cisco switch shows link down

 

Thanks,

Shlomi