Could you please guide us on how to add MCP 2515 can controller on Jetson Nano Emmc, we could enable the MCP 2515 on jetson nano Developer kit
I have shared the reference of the procedure which we have tried out to enable it on Jetson Nano Developer kit.
We are facing difficulty to enable it on Jetson Nano emmc module, if there is any dts file need to be loaded to use mcp 2515 on jetson nano Emmc please do share or any workaround.
maybe you have the same problem as I have.
I have a working CAN with the Jetson developer (SD-card) module, but it doesn’t work with the production (EMMC) module.
Reason seems to be configuration of the IO pins. I don’t have a solution yet. See link provided by kayccc.
Spi pins are enabled and when i perform loopback testing it is performing well and showing me that spi pins are enabled on the emmc module, but unable to use CaN controller mcp-2515 if there is any dts file which need to be loaded please do share for the emmc version
my problem was fixed with using JetPack 4.6.2 or 4.6.1.
The problem was that GPIOs were not configured the right way. You can check with
sudo cat /sys/kernel/debug/tegra_gpio
Line C must read something like
C: 0:2 00 00 00 00 00 00 000000
I suppose, that your problem is different from my problem, as your SPI works.
You can try
dmesg | grep spi
to see if can is listed.
I have tried the following on the latest jetpack this is the following output i am receiving.
Could you please let me know the patch which you have shared should it be added in any of the dtsi files before booting