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.
VendorWIZnetCAN, Ethernet & Transceivers
InterfaceSPI + INT/RSTSPI Mode 0/3 (up to 80 MHz, 3-byte address/control header)
Record StatusCatalog profileDatasheet / 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). |
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.yamlFault-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