Ethernet PHY MAC Address

Status
Not open for further replies.

FreshmanNewbie

Advanced Member level 1
Joined
May 10, 2020
Messages
437
Helped
0
Reputation
0
Reaction score
3
Trophy points
18
Activity points
4,333
I am working with this Ethernet PHY and little bit confused on the topic of MAC address.

This is the - MAC Controller IC. I'm using RMII interface.

One thing I want to understand is that what should I do on the MAC Address?

I understand that MAC address is a layer 2 topic and the PHY device has nothing to do with it.

So, the MAC Controller has the MAC Address.

My question is, should I set the MAC address from the PHY to the controller? Or does the Controller has a MAC address on its own?

How can I find the MAC address using the registers of the PHY? Is it possible that I can detect some information regarding the MAC Address through the PHY (somehow through the register dump)?

PHY Register dump:

PHY Register 0 = 0x1100 PHY Register 1 = 0x782D

Can someone help me with this MAC address topic.
 

The MAC address is set in the network software stack. If available, it often uses an unique processor ID or serial number together with a vendor specifique part to assemble the required unique MAC ID. Read the software documentation.

Expect that the MAC address is stored in a register set of the ethernet (MAC) controller. The register map can be found in the complete processor reference manual.
 
Last edited:

Hi,

Did you read basucs about the MAC address, like:
There are many other sources with MAC information.

Basically the idea was the MAC to be unique. Often burned in the hardware chip.

If the MAC is set by software ... and the software is just "copied", then it's likely that the produced devices get the same MAC. This will cause problems, because the can not be accessed individually.

Klaus
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…