Skip to datasheet
Stand-alone CAN controller with SPI

MCP2515 Specifications

Review MCP2515 electrical specifications, operating conditions and package details.

Package view

Key specifications

The SPI host configures buffers, filters and timing. The CAN engine performs bus arbitration and error handling through TXCAN and RXCAN. A separate transceiver provides the electrical bus interface.

Classical CANUp to 1 Mbit/s
Operating supply2.7–5.5 V
Message buffers3 TX / 2 RX Six filters · two masks
Selected I-grade−40–85 °C

Operating profile

Supply, signals and operating conditions

MCP2515 operating profile
ParameterValueConditions / notes
Selected packagePDIP-18MCP2515-I/P
Host interfaceSPI 0 / 310 MHz maximum
Example bit rate125 kbit/s20 MHz oscillator · 16 TQ
Use these values with the stated grade and test conditions.

Package details

MCP2515-I/P · PDIP-18

Selected package
Selected MCP2515 physical package
PropertyDetails
ManufacturerMicrochip Technology
Part numberMCP2515-I/P
PackagePDIP-18
Connections18 pins
MountingThrough-hole
Lead pitch2.54 mm
Package codedip
Thermal referenceBoard and package dependent; see manufacturer data

Protocol and storage

Classical CAN 2.0B

Scroll sideways to see all columns.

ParameterValueConditions / notes
Bus rateUp to 1 Mbit/sSubject to oscillator and network timing
Identifiers11-bit standard / 29-bit extendedData and remote frames
Data field0–8 bytesNo CAN FD or bit-rate switching
Transmit storageThree prioritized buffersAbort and one-shot options
Receive storageTwo buffersPriority and optional rollover
AcceptanceSix filters and two masksConfigure before Normal mode
External line interfaceRequired CAN transceiverTXCAN / RXCAN are logic signals

A controller and a transceiver solve different parts of the CAN interface.

Useful SPI instructions

Most significant bit first · separate CS cycle per command

Scroll sideways to see all columns.

ParameterValueConditions / notes
RESET0xC0Initialize and enter Configuration mode
READ0x03, address, dummy clocksConsecutive register bytes may follow
WRITE0x02, address, data…Sequential register write
BIT MODIFY0x05, address, mask, dataOnly supported registers; mask 1 permits change
READ STATUS0xA0Frequently used RX/TX status
RX STATUS0xB0Received-frame type and matching filter
RTS buffer 00x81Request already-loaded TXB0 transmission
SPI timing10 MHz maximum; 50 ns CS setup/holdModes 0 and 3

The controller expects an instruction immediately after CS falls. Raise CS before issuing another instruction.

Operating modes

Request via CANCTRL; confirm via CANSTAT

Scroll sideways to see all columns.

ParameterValueConditions / notes
ConfigurationREQOP 100Required for bit timing, filters, masks and TXRTSCTRL
NormalREQOP 000Transmit, receive and acknowledge CAN frames
SleepREQOP 001Oscillator stopped; wake-up conditions apply
LoopbackREQOP 010Internal communications test without bus transmission
Listen-onlyREQOP 011Observe bus without transmitting or acknowledging
Mode confirmationRead OPMOD bitsA request may wait for pending transmissions

Listen-only nodes do not supply the acknowledgment required for a transmitting node’s normal successful frame.

125 kbit/s configuration example

20 MHz external clock · single sample

Scroll sideways to see all columns.

ParameterValueConditions / notes
Oscillator period50 ns1 / 20 MHz
BRP register field4TQ = 2 × (BRP + 1) / FOSC
Time quantum500 nsPrescaler division by 10
SegmentsSync 1; Prop 2; PS1 7; PS2 616 TQ per bit
Sample point(1 + 2 + 7) / 16 = 62.5%At the end of Phase Segment 1
Synchronization jump width1 TQMust not exceed PS2
CNF1 / CNF2 / CNF30x04 / 0xB1 / 0x05BTLMODE=1, SAM=0; wake filter/SOF disabled
Result16 × 500 ns = 8 µs per bit125000 bits/s

This is the manufacturer’s illustrative timing split, not a universal network prescription. Review propagation, oscillator tolerance and the other nodes.

Supply, clock and logic

MCP2515-I/P and MCP2515-I/SO

Scroll sideways to see all columns.

ParameterValueConditions / notes
Operating supply / temperature2.7–5.5 V / −40 to +85°CI grade
SPI input HIGH≥ 0.7 × VDDSCK, SI and CS
SPI input LOW≤ 0.4 × VDDSCK, SI and CS
RXCAN HIGH / LOW≥ 2.0 V / ≤ 0.15 × VDDDifferent input thresholds from SPI
Reset HIGH / LOW≥ 0.85 × VDD / ≤ 0.15 × VDDSchmitt reset input
External clock range1–25 MHz over 2.7–5.5 VUp to 40 MHz at 4.5–5.5 V
Clock duty cycle45–55%External clock input
Active current10 mA maximum5.5 V, oscillator25 MHz, SPI1 MHz, SO open
Sleep current, I grade5 µA maximumDefined inputs and CS / TXnRTS HIGH
Hardware reset LOW2 µs minimumThen allow 128 oscillator cycles for startup

At 5 V, a 3.3 V HIGH does not meet the SPI 0.7 VDD threshold. Use compatible levels or translation.

Controller-to-CAN connection

5 V logic · 20 MHz · 125 kbit/s

Scroll sideways to see all columns.

ParameterValueConditions / notes
Host SPISCK13, MOSI→SI14, SO15→MISO, CS16Start with mode0 at1 MHz
Host controlINT12→interrupt; RESET17→reset output10 kΩ pull-ups on CS and RESET
External oscillator20 MHz output→OSC1 pin8OSC2 pin7 open; oscillator bypass per its data
CAN controller/transceiverTXCAN1→MCP2562 TXD1; RXD4→RXCAN2Logic connections, not bus pins
MCP2562 suppliesVDD3 and VIO5 to5 V; VSS2 GND100 nF local supply bypass; STBY8 LOW
BusMCP2562 CANH7 and CANL6Twisted pair; two120 Ω end terminators
Unused outputsCLKOUT3, RX1BF10, RX0BF11 openUnused TXnRTS inputs have internal pull-ups
FirmwareReset, configure timing and filters, enter Normal modeAnother matching normal node must acknowledge

All ground references are common in this teaching circuit. Protection, isolation and cable length require a system-specific design.

Packages and stress limits

MCP2515-I/P · PDIP-18

Scroll sideways to see all columns.

ParameterValueConditions / notes
PDIP-18 P2.54 mm pitch; 7.62 mm rowsNarrow through-hole package
SOIC-18 SO1.27 mm pitch; 7.50 mm body widthWide SOIC, not a narrow 3.9 mm body
Other packages20-lead TSSOP / QFNDifferent contact maps; not interchangeable with18-pin views
Supply absolute maximum7.0 VNormal operation ends at5.5 V
I/O absolute range−0.6 to VDD + 1.0 VStress limits, not recommended input levels
Storage temperature−65 to +150°CUnpowered

Review the exact orderable and fabrication allowances before using the downloadable original footprints.

Connections by function

Select a pin for its function, connection guidance and electrical notes.

CAN logic interface2 pins

Oscillator & clock3 pins

Reset & transmit requests4 pins

Ground1 pin

Interrupts & flags3 pins

Host SPI4 pins

Supply1 pin

Read the conditions with every value

Typical values describe stated test conditions. Absolute maximum ratings are stress limits, not operating targets.

Official PDF datasheet

Component view