SPI issue on Jetson nano #1723
-
Hi, I have read the https://github.com/OE4T/meta-tegra/issues/573 discussion and worked as described in it. I am working with jetson nano and I am using branch Kirkston-lt4-r32.7.x root@jetson-nano-devkit:/usr/bin# spiTest -v -D /dev/spidev0.0 Below is my patch file and pinctrl outputs The only difference I could see is the Status = default as compare to Status = 2 in your pinctrl file. Below is the procedure I have followed. 1- Made the patch file using devtool. Kindly let me know if you need any other info or command run on the dev-kit. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@madisongh sorry for disturbing you but I need this a bit urgent. |
Beta Was this translation helpful? Give feedback.
-
You missed removing the 0001-nvidia-platform-t210-configure-spi1-pins-on-40-pin-h.patch.txt Here's the
|
Beta Was this translation helpful? Give feedback.
You missed removing the
TEGRA_GPIO(C,
pins from the gpio controller in your patch. Looks like that's still necessary with 32.7.5, I couldn't even get SPI working with the stock Jetson Linux without it. The attached patch includes the missing bits, and covers both -b00 and -a02 carriers. It also removes the SPI2 pins from the gpio controller, although it doesn't configure the function in the pinmux config.0001-nvidia-platform-t210-configure-spi1-pins-on-40-pin-h.patch.txt
Here's the
spidev_test
output with this patch: