1
ATMELTM AT91SAM7X and AVR32 / Re: PHY configuration
« on: February 16, 2008, 12:12:27 AM »
Zash,
Try to mask out the revision part of the PHY identifier like Mark says:
#define PHY_IDENTIFIER 0x000E7230
In the SAM7_EMAC.c code I have the low 16-bit PHY ID is masked with 0xFFF0 and compared to the full PHY_IDENTIFIER.
I use the Teridian 78Q2133 and have no problem. Does your PHY crystal oscillate (25MHz) and do you have the Reset line (RSTN) pulled-up to 3.3V? Then the management port (max 25MHz) should work (MDC/MDIO). PHY_ADDRESS 1 is correct, but it also reacts on address 0 (broadcast).
I have an AT91SAM7X256 with FreeRTOS v4.7.0 and uIP 1.0.
Regards,
Peter
Try to mask out the revision part of the PHY identifier like Mark says:
#define PHY_IDENTIFIER 0x000E7230
In the SAM7_EMAC.c code I have the low 16-bit PHY ID is masked with 0xFFF0 and compared to the full PHY_IDENTIFIER.
I use the Teridian 78Q2133 and have no problem. Does your PHY crystal oscillate (25MHz) and do you have the Reset line (RSTN) pulled-up to 3.3V? Then the management port (max 25MHz) should work (MDC/MDIO). PHY_ADDRESS 1 is correct, but it also reacts on address 0 (broadcast).
I have an AT91SAM7X256 with FreeRTOS v4.7.0 and uIP 1.0.
Regards,
Peter