This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Hello,
I was performing integration tests pertaining to CPSW driver and noticed that many
functions of MDIO and PHY drivers are malfunction because of checking MDIO LinkUp status. This Link Up is available when we have a physical connection between
two PHY’s (IFCC and CANoe). To configure PHY connected on IFCC we just have to check whether the PHY is alive or not. If PHY is alive we can configure it irrespective
of LinkUp status. Is it necessary to check the link up status to read or write to PHY register?
Kind Regards
Thank You
Manisha N G
Hi,
of LinkUp status. Is it necessary to check the link up status to read or write to PHY register?
No, It is not necessary to Link Up to configure the PHY.
After MAC Port open "EnetPhy_open" will be called and initialize the PHY state Machine and bind the PHY driver with PHY.
During the PHY Sequence, PHY Config will be invoked.
For all the above activities, PHY Alive is sufficient. No need of Link Up.
In case of boot strapped PHY or FORCE Link Link Up us required and PHY config will not be invoked as PHY is strapped/forced with configuration required.
Best Regards,
Sudheer
Hi,
Based on your answer, I understand that there is no need to check the link state of PHY while reading or writing the data to PHY register. Please confirm this.
Regards
Thank You
Hi,
Based on your answer, I understand that there is no need to check the link state of PHY while reading or writing the data to PHY register. Please confirm this.
Yes, PHY Alive is fine for the indication of PHY is active and connected.
Once PHY is active and connected, you can read/write PHY registers.
Best Regards,
Sudheer