bigtreetech / IO2CAN

31 stars 2 forks source link

Hardware setting for MCP2515 SPI to CAN

As shown in the figure below, when used with raspberry pi or CM4, we need to push the switch to the top, and when used with CB1, we need to pull the switch to the bottom.

Software Settings

Work with raspberry pi

Work with CB1

  1. If the OS image of v2.2.1 version is used, the following dtb files need to be updated for stable use. If the OS image after V2.2.1 is used, this operation is unnecessary.
  2. Uncomment overlays=mcp2515 in /boot/BoardEnv.txt.

Getting started