Forum Discussion
Hi Daniel,
The use of PHY or MAC mode depends on Auto negotiation on your design. You should enable PHY mode if you want to advertise the link speed and duplex mode to the link partner.
Kindly refer to page 69 for more detailed info.
I have mentioned the speed_selection register bit for your debug purpose to ensure the bit are set correctly for 1G.
Link speed is set to Gigabit except for configurations that contain Small MAC. For Small MACs, the default speed is 100 M. So I'm not quite clear on how it can be reduced to 100M. Kindly do let me know how do you confirmed the speed is 100M so that I can debug further.
Regards,
Pavee
- dtwolf943 years ago
New Contributor
Pavee,
Thank you for clarifying the two modes. The speed_selection register indicates the link speed is set to 1G. The 100M is the copper speed, which I have see in the PCS Partner_Ability register and in the external PHY status registers. So my confusion is how can the link speed be set to 1G in the PCS, but the link partner be advertising 100M Copper speed? Perhaps my confusion is from understanding the difference between the link speed and the copper speed? I assumed they must agree with each other in terms of speed.
I have attached a PCS register dump which indicate the speeds mentioned above.
Thank you,
Daniel
control 4416
status 169
phy_identifier1 0
phy_identifier2 0
dev_ability 16800
partner_ability 54273
an_expansion 3
scratch 0
rev 4868
link_timer1 3392
link_timer2 3
if_mode 3