Waveshare 2x Isolated CAN module

Hi, I have been trying to get the Waveshare 2x CAN bus pi hat working with my Nano. They use the MCP2515 SPI-CAN chips and the pinning of it can be seen here https://www.waveshare.com/2-ch-can-hat.htm . I am very unfamiliar with how the whole dts/dtb system on Nano’s work and have not been able to find clear documentation for it either. Whatever
tegra210-p3448-0000-p3449-0000-a01-mcp251x.dts (6.4 KB)
I’ve attached the dts file I have been using as a reference which is in the /boot folder of my Nano by default, but does not configure the GPIO pins properly. I believe the primary issue is it tries to configure the 2 CAN channels on each of the SPI buses, but this pi hat has both CAN channels on the first SPI bus.

Please follow:
https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/hw_setup_jetson_can.html#wwpID0ELHA

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.