Hi shehdgml13,
Are you using the devkit or custom board for Jetson Nano?
What’s the Jetpack version in use?
Before you try to port MCP2515 module on Jetson Nano, I would suggest you verifying SPI loopback test.
Please refer to the following thread for this.
Jetson Nano SPI Bus Not Working - #10 by KevinFFF