CAN, Ethernet & Transceivers

# WIZnet W5500 in the datasheet corpus

Hardwired TCP/IP 10/100 Ethernet controller over SPI with 8 independent hardware sockets and 32 KB buffer.

standing: provisional SPI + INT/RST SPI Mode 0/3 (up to 80 MHz, 3-byte address/control header)

Vendor WIZnet CAN, Ethernet & Transceivers

Interface SPI + INT/RST SPI Mode 0/3 (up to 80 MHz, 3-byte address/control header)

Record Status Catalog profile Datasheet / behavioral twin

## Driver oracle & capability record

Backed by CircuitTwin Ethernet device modeling (crates/ct-twin-gen/src/sensor/kinds\_ethernet.rs) and datasheet corpus.

| Driver reference  | WIZnet ioLibrary\_Driver / Zephyr wiznet,w5500                                                                                                  |
| ----------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| 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                                                |
| --------------- | ------------ | ------------------- | ------------------------------------------------------ |
| 0x0039          | VERSIONR     | 0x04                | Fixed W5500 silicon version register                   |
| 0x0000          | MR           | 0x00                | Software reset (bit 7), ping block and PPPoE control   |
| 0x002E          | PHYCFGR      | Bit 0 LNK           | Ethernet link-up status, 10/100 speed and duplex state |
| Sn\_CR / Sn\_SR | SOCKET\_0..7 | 0x00 (SOCK\_CLOSED) | Per-socket OPEN, LISTEN, CONNECT, SEND and RECV states |

## Attach with ct CLI

Shell - run firmware with W5500

```
# Run compiled firmware with W5500 attached on rpi-pico
ct run --json --board rpi-pico --device w5500 build/app.elf

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

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

tests/w5500-fault.suite.yaml

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

## Compatible board twins

[Board: rpi-pico](https://circuittwin.ai/boards/rpi-pico) [Board: nucleo-f446re](https://circuittwin.ai/boards/nucleo-f446re) [Board: arduino-mega2560](https://circuittwin.ai/boards/arduino-mega2560) [Accuracy report](https://circuittwin.ai/docs/accuracy)

## More in CAN, Ethernet & Transceivers

[LAN8720A (Microchip)](https://circuittwin.ai/twins/lan8720a) [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)

> ## Inject W5500 bus faults in CI
>
> Wire W5500 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)
