CAN, Ethernet & Transceivers
Microchip LAN8720A in the datasheet corpus
10/100 Mbps RMII Ethernet PHY with MDIO management registers and auto-negotiation.
VendorMicrochipCAN, Ethernet & Transceivers
InterfaceRMII + MDIO/MDCPHYADDR 0 or 1 over SMI (MDC/MDIO)
Record StatusCatalog profileDatasheet / 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). |
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.yamlFault-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