@JLM4751 said in Duet 3 and jetson Nano?:
@gtj0 I hate to reply to such an old thread but this is the only one i could find that described the set up of the jetson nano as a SBC with the duet 3.
No worries
First,let's see if the spi device is actually there or not. Try...
# ls -al /dev/spidev*
crw-rw---- 1 root gpio 153, 0 Jun 19 14:55 /dev/spidev0.0
crw-rw---- 1 root gpio 153, 1 Jun 19 14:55 /dev/spidev1.0
If you see the devices then the most probable issue is that the /opt/dsf/conf/config.json file is incorrect. The SPI related stuff should look something like this...
...
"SpiDevice": "/dev/spidev0.0",
"SpiBufferSize": 8192,
"SpiTransferMode": 0,
"SpiFrequency": 8000000,
"SpiConnectTimeout": 500,
"SpiTransferTimeout": 500,
"SpiConnectionTimeout": 4000,
"GpioChipDevice": "/dev/gpiochip0",
"TransferReadyPin": 13,
"MaxSpiRetries": 3,
...
The waiting for transfer ready timeout error
is directly related to the GpioChipDevice
and the TransferReadyPin
settings.
If you can't get it going, the output of gpiodetect
might help.