ESPHome's canbus component has only handled classic CAN frames with up to eight data bytes. Two pull requests by Joe (jc2a) change that. #21950, merged on 4 November 2026, adds CAN FD frames to canbus, and #21951, merged together with its documentation on 8 November, adds a platform for Microchip's external CAN FD controllers on the SPI bus. Both landed in the development branch after the 2026.11 beta was cut on 4 November and are not in 2026.11.0b3, so they are expected in ESPHome 2026.12 rather than in 2026.11, which is due on 18 November.

What CAN FD adds

A CAN FD frame carries up to 64 data bytes instead of eight, and can switch to a faster bit rate for the data phase. In ESPHome the FD code is compiled in only when a CAN FD platform is configured, so builds that use classic CAN stay the same size. The canbus.send action gets three new options: fd, bit_rate_switch and pad_data. On a classic bus they are rejected during config validation.

The mcp251xfd platform

The new platform is called mcp251xfd and supports three chips:

  • MCP2517FD and MCP2518FD, which need a separate CAN transceiver (one that handles CAN FD if you use CAN FD);
  • MCP251863, which combines an MCP2518FD with an integrated transceiver rated at 5 Mbps.

The nominal bit rate goes up to 1 Mbps and the data-phase rate (data_bit_rate) up to 8 Mbps, with a 4, 20 or 40 MHz oscillator. Not every combination works. 8000KBPS needs a 4 or 40 MHz oscillator, and ESPHome rejects settings whose bit timing it cannot meet. It does not check the rate against the transceiver, so an MCP251863 can be set to 8 Mbps even though its transceiver stops at 5. The author tested all three chips up to 5 Mbps and the MCP2518FD up to 8 Mbps.

Four modes are available: NORMAL (classic and FD frames, the default), CLASSIC, LOOPBACK and LISTENONLY. The controller buffers up to 20 received frames (32 in CLASSIC mode) and 8 waiting to be sent, and frames can be dropped if the receive buffer fills before ESPHome reads it. An optional interrupt_pin replaces polling.

Skip the MCP2517FD if you can

The MCP2517FD has an erratum that limits pauses during SPI reads of its message memory. ESPHome drives chip select in software and cannot guarantee that timing, so the chip can occasionally lose a received frame or interrupt a transmission even when the SPI CRC check passes. The driver logs a warning when that happens, and the documentation recommends the MCP2518FD or MCP251863, where the erratum is fixed.