CAN, Ethernet & Transceivers

Microchip MCP2518FD in the datasheet corpus

External SPI CAN-FD controller (up to 8 Mbps data phase) with 2 KB configurable message RAM.

standing: provisionalSPI + INTSPI Mode 0 (up to 20 MHz, 12-bit address)
VendorMicrochipCAN, Ethernet & Transceivers
InterfaceSPI + INTSPI Mode 0 (up to 20 MHz, 12-bit address)
Record StatusCatalog profileDatasheet / behavioral twin

Driver oracle & capability record

Backed by CircuitTwin SPI CAN-FD controller modeling (crates/ct-model/src/behavior/can_fd_controller.rs) and datasheet corpus.

Driver referenceZephyr microchip,mcp251xfd / Linux mcp251xfd
Evidence standingprovisional (register and bus behavior derived from vendor datasheet or driver oracle; not yet hardware-unit verified on two physical samples).
Published recordGenerate or inspect locally via ct twin generate (see /docs/twin-generation).

Key registers & reset values

Address / FieldRegisterReset / ExpectedPurpose
0xE00OSC0x00000460Oscillator, PLL and clock-ready flags
0x000CiCON0x04980760 (Config)Requested and active CAN-FD operating mode
0x004 / 0x008CiNBTCFG / CiDBTCFGBit timingNominal and CAN-FD data-phase timing registers
0x400-0xBFFRAM2 KB FIFOsConfigurable TX/RX CAN-FD message FIFOs

Attach with ct CLI

Shell - run firmware with MCP2518FD
# Run compiled firmware with MCP2518FD attached on rpi-pico2
ct run --json --board rpi-pico2 --device mcp2518fd build/app.elf

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

Fault-injection test snippet (suite.yaml)

tests/mcp2518fd-fault.suite.yaml
version: 1
board: rpi-pico2
firmware: build/app.elf
tests:
  - name: mcp2518fd-can-ack-drop-and-bus-off
    faults:
      - at_ms: 60
        bus: CAN1
        kind: drop_ack
        count: 16
    expect:
      console_contains: "CAN_BUSOFF_RECOVERED"
      exit_code: 0

Compatible board twins

More in CAN, Ethernet & Transceivers