Other Parts Discussed in Thread: DP83869
Hi team,
My customer needs some help understanding the strapping resistors for the Ethernet PHY that they are using. They would also appreciate guidance on the best approach to a clean startup without the strapping resistors if they choose not to use them.
They are going to configure the PHY in Enhanced Mode. Per page 6 in the datasheet, the documentation says to leave this NC. They are going to use the chip in RMII Slave Mode, 100BASE-TX mode, with Auto-MDIX enabled. Without strapping, it looks like the device will be configured in MII mode, which is not what they want.
Looking at the DP83826 EVM, pin 28 is Strap4. The datasheet says that it is a PD (PullDown) pin. Figure 14 on page 15 shows the schematic of the EVM. Pin 28 connects to the circuit that includes R56. What is the purpose of R56? There is an internal pulldown on this pin and there is no positive driving force in the circuit. Other components on the sheet are shown as "DNP", so this resistor is supposedly populated.
Assuming they don't want to worry about the strapping resistors, what procedure should they follow to ensure a clean startup? This is what they're thinking-
1. Power is applied. The RST_N input to the PHY is low (asserted).
2. The microcontroller boots up.
3. The microcontroller turns on the 50 MHz clock for RMII Slave operation. This microcontroller has a clock output for this purpose.
4. The microcontroller deasserts RST_N. They assume the SMI (MDC/MDIO) will not function if the device is in reset (is this true?).
What they are concerned about is the PHY coming to life and negotiating with an external device, only to be reset in order to operate in a different mode. Is it possible to configure the device through its registers before it begins to communicate externally on its RD/TD pins? From the timing diagrams, it appears the 50 MHz clock is needed for the SMI bus to operate, otherwise the device's registers could be programmed before it is able to operate. Is the best approach to deassert the RST_N signal and then quickly program a register that disables the chip? Then program all of the registers and then allow the chip to run?
Thanks,
Lauren