ETHERNET COMMUNICATION

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

ETHERNET COMMUNICATION

855 Views
achal
Contributor III

PLEAE TELL in this below example how the developed decided these phy address and mac address

achal_0-1686485445062.png

 

Labels (1)
Tags (1)
0 Kudos
Reply
3 Replies

770 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi @achal ,

What you marked in the screenshot is mac address. PHY address is defined in board.h

 

/*! @brief The ENET PHY address. */
#define BOARD_ENET0_PHY_ADDRESS (0x02U) /* Phy address of enet port 0. */

 

 

Regards,

Jing 

0 Kudos
Reply

678 Views
achal
Contributor III

Hi @jingpan 

Thanks for responding, can you please tell why phy address is defined as  0x02 only and why not something else like 0x03 or 0x04. Is there any document which mentions that if we have to work on this board then 0x02 has to be used as phy address.

 

Can you please also tell that how this particular MAC address is chosen? same is it given in some document ?

0 Kudos
Reply

658 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi @achal ,

PHY address is determined by PHY address config pins on the PHY chip. Please refer to the EVK board.

jingpan_0-1687679001677.png

 

MAC address is random in the demo. Officially it is allocated by IEEE (Institute of Electrical and Electronics Engineers), the last three bytes, the hexadecimal number AE-3C-40 represents the serial number of a certain network product (such as network card) manufactured by the manufacturer.

 

Regards,

Jing

0 Kudos
Reply