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.

Linux/AM5728: TLK105L RMII/MII mode problem

Part Number: AM5728
Other Parts Discussed in Thread: TLK105L

Tool/software: Linux

Hi.

I have some Questions.

About TLK105L Phy chip RMII/MII Mode Problem.

I have custom board same as AM572x-IDK ( H/W & S/W same ).

And TLK105L connected PRU2 ETH0 / ETH1.

But, RCSR Register value is different ........ My board and AM572x - IDK.

and PRU2 ETH1 phy chip is not working..on my board.

 

In AM572x-IDK PRU2 ETH0 , ETH1 phy chip mode are "MII" Mode (RCSR(0x17): 0x41)

In My Board PRU2 ETH0 Setting is "MII" Mode.

But PRU2 ETH1 Setting is "RMII" Mode.

 

I don't know why PRU2 ETH1 Set "RMII" Mode .

 

I Check the Pin Level about "RX_DV."

No Pull up Register RX_DV pin &  internal pull-down RX_DV

this log is my custom board.

==== PHY regs ===
BMCR(0x0): 0x3100
BMSR(0x1): 0x7849
PHYIDR1(0x2): 0x2000
PHYIDR2(0x3): 0xa212
CR1(0x9): 0x7c00
CR2(0xa): 0x104
PHYSCR(0x11): 0x108
RCSR(0x17): 0x41
LEDCR(0x18): 0x400
PHYCR(0x19): 0x8020
=================
NET: Registered protocol family 15
prueth pruss2_eth: port 2: using random MAC addr: 86:37:16:c0:2c:22
==== PHY regs ===
BMCR(0x0): 0x3100
BMSR(0x1): 0x7849
PHYIDR1(0x2): 0x2000
PHYIDR2(0x3): 0xa212
CR1(0x9): 0x7c00
CR2(0xa): 0x104
PHYSCR(0x11): 0x108
RCSR(0x17): 0x61
LEDCR(0x18): 0x400
PHYCR(0x19): 0x8021
=================

this log is AM572x-IDK.

ibphy: ==== PHY regs ===
libphy: BMCR(0x0): 0x3100
libphy: BMSR(0x1): 0x7849
libphy: PHYIDR1(0x2): 0x2000
libphy: PHYIDR2(0x3): 0xa212
libphy: CR1(0x9): 0x7800
libphy: PHYSCR(0x11): 0x108
libphy: RCSR(0x17): 0x41
libphy: LEDCR(0x18): 0x400
libphy: PHYCR(0x19): 0x8000
libphy: =================
prueth pruss2_eth: port 2: using random MAC addr: 5e:21:89:65:5e:94
libphy: ==== PHY regs ===
libphy: BMCR(0x0): 0x3100
libphy: BMSR(0x1): 0x7849
libphy: PHYIDR1(0x2): 0x2000
libphy: PHYIDR2(0x3): 0xa212
libphy: CR1(0x9): 0x7800
libphy: PHYSCR(0x11): 0x108
libphy: RCSR(0x17): 0x41
libphy: LEDCR(0x18): 0x400
libphy: PHYCR(0x19): 0x8001
libphy: =================

My board H/W Connection

Best Regards,

John