MCP2515 SPI CAN controller
Understand the MCP2515’s SPI interface, oscillator settings and requirement for a separate physical-layer CAN transceiver.

Controller and transceiver
The MCP2515 handles CAN framing, filters and message buffers and exchanges data with the MCU over SPI. A separate transceiver connects its transmit and receive signals to the differential bus. The photo shows both controller and transceiver.
Oscillator configuration
Select timing parameters for the oscillator on the module and the network bitrate. Firmware configured for a different oscillator frequency can appear to work over SPI while sending undecodable frames on the bus.
Bus wiring
Use an electrically suitable transceiver and follow the physical-layer guidance for bus wiring and termination. Check the module for an already fitted termination resistor before adding one.
Specifications
| Parameter | Value or condition | Source |
|---|---|---|
| CAN support | Classical CAN 2.0B, up to 1 Mb/s | Microchip |
| Host bus | SPI, plus interrupt and optional control signals | Microchip |
Compatibility and practice
Verify MCU logic compatibility, oscillator frequency and bus transceiver supply on breakout boards.
Related components
Sources and datasheets
- MCP2515 Stand-Alone CAN Controller · Microchip