Jetson nano and mcp2515 can module

I was able to get the canbus working. I deviated from the guide here as I was having issues with the tegra210-p3448-0000-p3449-0000-b00-mcp251x.dtbo that @shgarg posted. I had similar issues to the guys above with the unit not booting up on the B00 variant.

I found that seeed studio posted on git its overlay for their CAN hats for the jetson-nano. I modified it to work with a CAN hat that uses the mcp251x chip discussed in this thread, but you could use their can hat and drivers as is.

Modifications I made are to this file: seeed-linux-dtoverlays/2xMCP2518FD-spi0.dts at master · Seeed-Studio/seeed-linux-dtoverlays · GitHub

I changed all instances of mcp2518fd to mcp2515.
I also removed all the can1 info/setup since the CAN hat I am using only has one CAN chip on it.

I’ve included my dts file for reference. If you use this file copy it to the overlays/overlays/jetsonnano folder.
Run make all_jetsonnano.
Copy the generated MCP251x.dtbo to /boot.
Once copied over run “sudo /opt/nvidia/jetson-io/jetson-io.py” and configure the Jetson for compatible hardware and select the CAN module you just added.

Doing it this way you don’t need to modify the tegra210-p3448-0000-p3449-0000-b00-mcp251x.dtbo file.

MCP251x.dts.txt (3.0 KB)

2 Likes