CAN, Ethernet & Transceivers

# Microchip LAN8720A in the datasheet corpus

10/100 Mbps RMII Ethernet PHY with MDIO management registers and auto-negotiation.

standing: provisional RMII + MDIO/MDC PHYADDR 0 or 1 over SMI (MDC/MDIO)

Vendor Microchip CAN, Ethernet & Transceivers

Interface RMII + MDIO/MDC PHYADDR 0 or 1 over SMI (MDC/MDIO)

Record Status Catalog profile Datasheet / behavioral twin

## Driver oracle & capability record

Backed by CircuitTwin Ethernet PHY/MDIO support for STM32 and ESP32 RMII link-down and packet-loss fault testing.

| Driver reference  | STM32CubeHAL lan8742/lan8720 / Zephyr ethernet\_phy                                                                                             |
| ----------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| Evidence standing | provisional (register and bus behavior derived from vendor datasheet or driver oracle; not yet hardware-unit verified on two physical samples). |
| Published record  | Generate or inspect locally via ct twin generate (see [/docs/twin-generation](https://circuittwin.ai/docs/twin-generation)).                    |

## Key registers & reset values

| Address / Field | Register        | Reset / Expected  | Purpose                                                        |
| --------------- | --------------- | ----------------- | -------------------------------------------------------------- |
| 0x00            | BCR             | 0x3100            | Soft reset, loopback, speed select and auto-negotiation enable |
| 0x01            | BSR             | Bit 2 Link Status | Latched link-up status and auto-negotiation complete bit       |
| 0x02 / 0x03     | PHYID1 / PHYID2 | 0x0007 / 0xC0F1   | Microchip/SMSC OUI and LAN8720A model ID                       |
| 0x1F            | PHYSCSR         | Auto-done + speed | Resolved 10/100 half/full duplex status                        |

## Attach with ct CLI

Shell - run firmware with LAN8720A

```
# Run compiled firmware with LAN8720A attached on nucleo-f767zi
ct run --json --board nucleo-f767zi --device lan8720a build/app.elf

# Run fault-injection suite and emit JUnit XML
ct test run --json --junit results/lan8720a.xml tests/lan8720a-fault.suite.yaml
```

## Fault-injection test snippet (suite.yaml)

tests/lan8720a-fault.suite.yaml

```
version: 1
board: nucleo-f767zi
firmware: build/app.elf
tests:
  - name: lan8720a-eth-link-down-and-reconnect
    faults:
      - at_ms: 150
        part: lan8720a
        kind: link_down
        duration_ms: 400
    expect:
      console_contains: "ETH_LINK_RESTORED"
      exit_code: 0
```

## Compatible board twins

[Board: nucleo-f767zi](https://circuittwin.ai/boards/nucleo-f767zi) [Board: nucleo-h743zi2](https://circuittwin.ai/boards/nucleo-h743zi2) [Board: esp32-devkitc](https://circuittwin.ai/boards/esp32-devkitc) [Accuracy report](https://circuittwin.ai/docs/accuracy)

## More in CAN, Ethernet & Transceivers

[MAX3485 (Analog)](https://circuittwin.ai/twins/max3485) [MCP2515 (Microchip)](https://circuittwin.ai/twins/mcp2515) [MCP2518FD (Microchip)](https://circuittwin.ai/twins/mcp2518fd) [SN65HVD230 (Texas)](https://circuittwin.ai/twins/sn65hvd230) [TCAN4550 (Texas)](https://circuittwin.ai/twins/tcan4550) [TJA1051 (NXP)](https://circuittwin.ai/twins/tja1051)

> ## Inject LAN8720A bus faults in CI
>
> Wire LAN8720A onto your MCU board twin, drive physical stimuli and fail builds when your driver hangs on NACKs or frozen registers.
>
> [Start now](https://app.circuittwin.ai/try) [Inputs & fault injection docs](https://circuittwin.ai/docs/inputs) [Connect a coding agent](https://circuittwin.ai/docs/agents)
