Skip to content
If this is your first visit, please click here to learn about shipping and delivery.
If this is your first visit, please touch here to learn about shipping and delivery.
MCP2515 CAN Bus Module

Why an MCP2515 CAN Module Will Not Receive: A Layer-by-Layer Troubleshooting Guide

A CAN module that prints “initialisation successful” has not necessarily received anything from the bus. That message may confirm only that the host could write configuration registers. The controller, transceiver, cable and application still have separate jobs to perform.

This guide is for a module that has reached that frustrating stage: it powers up, but expected frames are missing or transmission repeatedly fails. Use the CAN bus breakout collection to identify the actual hardware, then troubleshoot one layer at a time. Begin on a controlled bench network rather than experimenting on operating machinery or a vehicle network.

Identify the controller and transceiver separately

The MCP2515 CAN bus module listing identifies an MCP2515 controller and TJA1050 transceiver. The controller handles frames and communicates with the host over SPI. The transceiver provides the electrical connection to CANH and CANL.

The listing describes this assembled board as using 5 V power and logic. Do not assume it is directly compatible with a 3.3 V host because the MCP2515 chip has a wider supply range in its own datasheet. Check every SPI direction and use an interface suitable for the actual signals and speed. A transceiver-only board is also not a substitute for a controller when the host lacks one.

The TJA1050 datasheet explains the transceiver's role and electrical requirements. Use the fitted component marking and board circuit when comparing variants.

Prove SPI access before investigating the cable

Disconnect the CAN network while establishing basic host-to-controller communication. Check supply, ground, chip select, clock, data-in and data-out against the host's actual SPI pins. A header's physical position is not universal across microcontroller boards.

Use a documented register read or mode-status check rather than relying solely on an example's startup message. If repeated reads return implausibly fixed values, inspect chip select and data wiring. Check whether another SPI device remains selected or drives the return line when it should not.

A successful internal loopback test can help isolate the host and controller path. It does not prove that the transceiver, cable or termination works. Record exactly which portion of the system each test exercises so that a passing result is not given more meaning than it deserves.

Match the oscillator as well as the bit rate

The CAN bit-timing calculation depends on the MCP2515 oscillator frequency. Selecting 500 kbit/s in software is not enough if the library assumes a different crystal from the one fitted to the board.

The author's arduino-mcp2515 library documentation includes explicit oscillator choices and documents a default. Inspect the crystal marking, confirm it against the board information and pass the matching setting. Do not copy an example's oscillator constant merely because its board looks similar.

For a controlled test, document the settings of both nodes side by side. Include nominal bit rate, oscillator and any explicit timing choices. If the nodes disagree, changing application identifiers or payload bytes will not solve the underlying timing problem.

Check the physical network with power removed

Inspect CANH-to-CANH and CANL-to-CANL continuity, connector pin assignments and the intended reference-ground arrangement. Keep the bus topology and branch lengths appropriate to its bit rate and physical design. Do not assume that a familiar connector shape carries a standard pinout.

A conventional high-speed CAN bus has a 120 Ω termination at each physical end. With the network unpowered and other circuit effects accounted for, two such resistors in parallel give approximately 60 Ω between CANH and CANL. Texas Instruments' CAN physical-layer guide describes the termination arrangement.

That resistance is a useful diagnostic clue, not a complete qualification test. Roughly 120 Ω may indicate a missing end termination; an unexpectedly low value may indicate extra terminations or a fault. Inspect the module's fitted resistor or jumper rather than assuming every node needs its own termination enabled. Never measure resistance on an energised bus.

Distinguish listening from acknowledging

The MCP2515 datasheet defines normal, loopback and listen-only modes. Listen-only mode does not send acknowledgements or error flags. A transmitter connected only to a silent listener can therefore report acknowledgement failures even when the listener observes its traffic.

For a normal bench transmission test, provide another correctly configured active node capable of acknowledging. For passive observation of an existing authorised network, choose the appropriate silent setup deliberately. Do not switch modes without understanding whether the tool should participate in the bus.

Read back the actual controller mode after requesting it. Software that remains in configuration or loopback mode can appear healthy while never interacting with the external network as intended.

Look at error evidence before resetting everything

Capture transmit status, receive status, overflow indications and error information exposed by the controller or library. Record them before a reset clears useful evidence. A repeatable failure after a particular action is more informative than a vague report that CAN sometimes stops.

As a troubleshooting exercise, send one numbered frame at a slow interval on a known working two-node network. Then deliberately remove one condition at a time, such as the receiver's normal mode. Observe the resulting status. Restore the known working setup after each test. This teaches which symptoms correspond to each layer without random rewiring.

Check application filtering and service time

If frames reach the controller but not your application, inspect standard versus extended identifiers, acceptance filters and expected payload lengths. Temporarily use a documented broad receive configuration on the controlled test network, then narrow it only after traffic is visible.

Keep receive handling short. Printing every byte at a slow serial rate or blocking while a display updates can prevent software from draining receive buffers promptly. Count received frames and overflows separately from what is printed to the screen.

Finally, remember that this controller implements Classical CAN, not CAN FD. Confirm the traffic format as well as the bit rate. Once the fault is found, save the working wiring, oscillator choice, mode and library version. A reproducible baseline is the most useful result of troubleshooting.

Previous article Battery Power for Arduino Projects: Voltage Range, Runtime and Regulator Heat