Interface Jetson Nano with MCP2515

Hi,

I am trying to interface the MCP2515 with the Jetson Nano 4GB Developer Kit. I have tried different methods mentioned in the forums. However, my issue remains unresolved; it initializes as can0, but the transmission does not occur. I am attaching my DTS file, which is configured.
new_file 1.dts.txt (321.4 KB)

Thank you

Hi sony.sevi,

What’s the Jetpack version in use for Jetson Nano?

Have you referred to CanBus on the Nano - #33 by shgarg ?

Which SPI interface you are using for MCP2515?
I saw you add it in both spi@7000d400 and spi@7000d600.
And how do you verify them?

Hi Kevin,

I have referred to the mentioned solution; however, it did not resolve my issue.

Regarding the SPI interface, I am using spi0, which corresponds to spi@7000d400. However, the default configuration for the MCP2515 also configures spi@7000d600.

Thank you for your support.

Have you verified SPI loopback test before porting MCP2515 module to confirm that the pin configurations for SPI pins are correct?

Please share the block diagram of your connections and the steps how do you verify them. I would also like to check your dmesg for the errors.

Yes, I tried the loopback test before porting the MCP2515 module. I also tested the module by running the Python test program provided by Waveshare. In both tests, it worked successfully.

If loopback test works as expected, it means that you’ve configured the pins for SPI correctly.
After applying the change to port MCP2515 module, please share the full dmesg and device tree for further check.