Customer:
I’m trying to connect 4 MCP2518FD modules to 2 SPI buses on a Jetson Orin Nano. All 4 modules initialize correctly. However, I cannot test internal loopback. When I run:
sudo ip link set can1 type can bitrate 500000 dbitrate 1000000 loopback on fd on
cansend and candump do not send or receive any data.
My device tree configuration includes:
spi@3210000 {
compatible = "nvidia,tegra210-spi\0nvidia,tegra114-spi";
reg = ;
interrupts = ;
#address-cells = ;
#size-cells = ;
clocks = ;
assigned-clocks = ;
assigned-clock-parents = ;
clock-names = "spi";
iommus = ;
resets = ;
reset-names = "spi";
dmas = ;
dma-names = "rx\0tx";
dma-coherent;
status = "okay";
can_clock: ;
prod-settings {
#prod-cells = ;
;
};
spi@0 {
compatible = "microchip,mcp251xfd";
reg = ;
spi-max-frequency = ;
pinctrl-names = "default";
pinctrl-0 = ;
interrupt-parent = ;
interrupts = ;
vdd-supply = ;
xceiver-supply = ;
clocks = ;
;
};
spi@1 {
compatible = "microchip,mcp251xfd";
reg = ;
spi-max-frequency = ;
pinctrl-names = "default";
pinctrl-0 = ;
interrupt-parent = ;
interrupts = ;
vdd-supply = ;
xceiver-supply = ;
clocks = ;
;
};
};
Attachment omitted in migration: Picture1.png
Originally submitted via the contact form on soldered.com on 16 May 2025. Migrated to the forum for community visibility.