I have used Jetson IO to configure the 40 pin header in the Nano 2GB for SPI1 (LT: 32.4.4).
I was wondering if there are any SPI libraries that are provided that can be used to test the connection, modify word length, speed, etc.? I noticed that spidev is not in the native SD card image.
Iām also trying to get SPI running on my nano. I have used jetson-io to attempt to enable SPI 1. It shows as enabled after reboot, but it does not actually work. There is nothing in /dev named SPI and lsmod does not list spidev. I have also installed spidev via pip3 install spidev. I think Iām missing a crucial step here, but I do not know what it is. I have tried the loopback test and get ācanāt open device: No such file or directory Aborted (core dumped)ā
Do I need to build a device tree? I have this all running on a Raspberry Pi, which Iām fairly comfortable with. It seems like the jetson-io should make it similar, but Iām lost with the dtc stuff, so if you know of somewhere that could walk me through that step-by-step, I would really appreciate it.
Thanks for the quick reply! I used modprobe (I assume the āeā was a typo) as follows:
sudo modprobe spidev
and something that seems like magic happened. I now have the devices and lsmod shows spidev. Awesome!
Now I can get the spi test loop working and it receives what it sent. Also awesome!
Now I run my actual code (which is to a RFM69 radio module) and it says
āImportError: No module named spidevā when my code tries āimport spidevā
How do I point it to the spidev module? I know it is thereā¦