Skip to content

ETH-7 PHY LED pins that double as straps

Severity Status Implementation
error planned mid, depends on NET-7

Looks at. PHY pin roles (LED and strap on one pin), parts on the pin.

What it catches. An LED (with its resistor) on a PHY pin that is also a configuration strap, with no strap resistor that dominates it, or wired with a polarity that sets an unintended mode.

Why it matters. At reset the PHY reads the pin's level as a strap; afterwards it drives the LED and picks the LED polarity from what it read. An LED and its resistor to a rail or to ground load the strap, so the latched value depends on the diode's forward voltage against the internal pull. On the LAN8720A, LED1 is REGOFF: read high, the internal 1.2 V regulator is switched off and the PHY has no core supply; LED2 is nINTSEL: read low, the PHY starts driving a 50 MHz REF_CLK (ETH-6).

Example. LAN8720A with both LEDs wired from the pins to 3.3 V (active-low, the usual MCU habit) and no strap resistors: LED1 can latch REGOFF = 1 and the board has no Ethernet until the LED is lifted. The datasheet's own note: a strap pin connected to a load "must be augmented with an external resistor".

How to check. From the PHY's pin data (NET-7) find pins that are both LED and strap; list the parts on each pin and the level they set; require a strap resistor and an LED polarity that matches the intended strap value.

Fix. A 2.2 kΩ (or the datasheet's value) strap resistor on every LED/strap pin, the LED wired for the polarity that strap gives, both written on the schematic.

References. LAN8720A Note 2.2, §3.7.3 (REGOFF), §3.8.1.1 (REGOFF and LED1 polarity), §3.8.1.2 (nINTSEL and LED2 polarity); SNLA079 §7 (LED and non-LED strap pins); DP83867 §7.5.2 (LED configuration), Table 7-6 note 3.