How to connect to jetson nano 2gb mcp2515 can board?

I have a mcp 2515 board here https://www.amazon.in/CentIoT-MCP2515-TJA1050-Receiver-Arduino/dp/B01M981XP3 I connect it to the following pins on the Jetson nano.
INT - 29 GPIO
SCK - 23
MOSI - 19
MISO - 21
CS - 24
GND VCC pins are connected to GND and 5V
on these modules there are two variants of quartz 16 and 8 MHz I have 8. I also made included in the firmware spi0 port and checked its operability with the help of logic analyzer. with the help of this command I checked the operability of spi port.

sudo ./spidev_test -v -D /dev/spidev0.0 -p "Test" -s 800000
spi mode: 0x0
bits per word: 8
max speed: 800000 Hz (800 KHz)
TX | 54 65 73 74 __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __  | Test
RX | 00 00 00 00 __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __  | ....

Here’s the result from the logic analyzer


I checked the same way through the logic analyzer can and nothing comes in there.
I checked this documentation but there is nothing about my board.
https://docs.nvidia.com/jetson/archives/r34.1/DeveloperGuide/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/hw_setup_jetson_can.html%23wwpID0EMHA

Hi gleb.tedpoope,

Are you using the devkit or custom board for Jetson Nano? Is it with eMMC or SD module?
What’s your Jetpack version in use?

Have you referred to Jetson Nano SPI Bus Not Working - #10 by KevinFFF to verify SPI loopback test?

Yes, i use developer kit. I also found an unofficial connection guide, it worked after several hours of dancing with a tambourine. I was able to get a signal to be received from another module, but sending data did not work (here is this guide Unofficial Guide to using the MCP2515 can module on the Jetson Nano 2GB).
My jetpack 4.6.1 and use this kit Jetson Nano 2GB Developer Kit - Get Started | NVIDIA Developer

Have you verified SPI loopback test before porting MCP2515 on your devkit?

Do you mean that you can receive CAN packet but you can not send CAN packet through MCP2515?
Is there any errors showed in serial console or dmesg?

in my original post there are images of the results of checking the spi port. so yes spi works

From your result, it seems the recevied data is all zero and different from TX data…

Yes, that’s why I have a question: does it make sense to try to connect jetson nano with mcp or would it be easier to switch to raspberry?

The SPI loopback test (by shorting MISO/MOSI) should work first.

Please share the result of the following command on your board for further check.

$ sudo cat /sys/kernel/debug/tegra_pinctrl_reg | grep -i spi
$ sudo cat /sys/kernel/debug/tegra_gpio