Skip to main content
dibs
Associate III
Mar 7, 2017 4:54 PM UTC
Question

General Documentation for Ethernet PHY registers

Posted on March 07, 2017 at 17:54

I am working on a board (STM32F407VGTx) that has an older PHY chip KSZ8721BL. I have similar code running on the MCBSTM32F400 (v1.2) which has an KSZ8081RNA. In testing, I retrieved all of the registers from both PHY chips and am comparing them. My problem is that I cannot find sufficient information online about how to think about each register bit. Does anyone know where I can find what I need?

For Reference:

8721:

NameValue

Basic Control Register0x1000

Basic Status Register0X786D

PHY Identifier 10X0022

PHY Identifier 20X1619

Auto-Negotiation Advertisement Register0X01E1

Auto-Negotiation Link Partner Ability Register0XCDE1

Auto-Negotiation Expansion Register0X000F

Auto-Negotiation Next Page Register0X2001

Link Partner Next Page Ability0XCDE1

RXER Counter Register0X0000

Interrupt Control/Status Register0X0000

100Base-TX PHY Control Register0X1198

8081:

NameValue

Basic Control Register0X1000

Basic Status Register0X786D

PHY Identifier 10X0022

PHY Identifier 20X1560

Auto-Negotiation Advertisement Register0X81E1

Auto-Negotiation Link Partner Ability Register0XCDE1

Auto-Negotiation Expansion Register0X000D

Auto-Negotiation Next Page Register0X2001

Link Partner Next Page Ability0X4006

Digital Reserved Control Register0X0000

AFE Control Register 10X0000

RXER Counter Register0X0000

Operation Mode Strap Override0X0002

Operation Mode Strap Status0X0402

Expanded Control0X0801

Interrupt Control/Status Register0X0000

LinkMD Control/Status Register0X0000

PHY Control Register 10X0136

PHY Control Register 20X8100

#phy #stm32f4 #ethernet
This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
Mar 7, 2017 6:43 PM UTC
Posted on March 07, 2017 at 19:43

>>My problem is that I cannot find sufficient information online about how to think about each register bit. Does anyone know where I can find what I need?

Like the Data Sheet?

https://www.rockbox.org/wiki/pub/Main/LyrePrototype/ks8721bl-sl.pdf

 
Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..