Wilfried Voss

Wilfried Voss

Adding Classical CAN and CAN FD Controllers via SPI

How to connect external CAN controllers to a microcontroller and share one SPI port across several CAN channels

Wilfried Voss's avatar
Wilfried Voss
Nov 26, 2026
∙ Paid

This article is part of CAN Bus Embedded Development, my growing online book about practical CAN Bus hardware, software, and embedded system development.

View the complete Table of Contents →

Generated image 1

An SPI port gives you a straightforward way to add CAN capability to a microcontroller. You can use it to add CAN to a processor that lacks an internal CAN controller, add another independent CAN channel, or add CAN FD to a processor whose internal controller supports only Classical CAN.

This Substack is reader-supported. To receive new posts and support my work, consider becoming a free or paid subscriber.

The original ESP32 is a good example. Its built-in Two-Wire Automotive Interface (TWAI) controller supports Classical CAN. To transmit and receive CAN FD frames with that chip, you need an external CAN FD controller. The distinction matters because ESP32 is also a family name. The ESP32-C5, for example, has built-in CAN FD support. Check the exact chip before deciding what hardware you need.

User's avatar

Continue reading this post for free, courtesy of Wilfried Voss.

Or purchase a paid subscription.
© 2026 Wilfried Voss · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for writing, podcasting, and media founders.