ETHERNET COMMUNICATION

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

ETHERNET COMMUNICATION

1,983 次查看
achal
Contributor III

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

achal_0-1686485445062.png

 

标签 (1)
标记 (1)
0 项奖励
回复
3 回复数

1,898 次查看
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 项奖励
回复

1,806 次查看
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 项奖励
回复

1,786 次查看
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 项奖励
回复