Other Parts Discussed in Thread: DP83869
Tool/software:
Hi Team,
My customer is trying to configure the PHY registers from R5F core (FreeRTOS).
They have tried to change the PHY register values using Enet LLD IOCTL and also EnetPhy_writeReg, but neither method was successful.
For example, they tried:
- Changing the auto-negotiation register bit (BMCR register bit12) from on to off during link-up state
- The result was similar to being reset (ie. LinkDown and LinkUp occurred, and auto-negotiation value remained on)
- Changed the same auto-negotiation register bit from on to off during link-down state
- They checked the auto-negotiation register value after the change and it was set to off, but changed to on after 2-3 seconds.
I will share their sample project via email for your reference to see their configuration (after E2E assignment) so please ping this thread with a reply.
Some background on why they want to change the PHY registers from application:
- The device they are developing will connect to older network devices that do not support auto-negotiation, so they want to turn this on/off depending on what is connected
- Is there another way to control auto-negotiation on/off from application during runtime?
Best regards,
Mari Tsunoda