A first I had faced many problems to enable SPI in jetson TX2. Finally I managed to show SPI3.0 in
ls /dev
command by following
https://devtalk.nvidia.com/default/topic/1024806/jetson-tx2/how-to-enable-spi-spidev-on-28-1-on-target-/
and
https://elinux.org/Jetson/TX2_SPI
Then I came to know that this kernel editing and Device tree compiling process makes my GPIO unstable. I mean that the below commands are not working as expected.
echo 300 > /sys/class/gpio/export
echo "out" > /sys/class/gpio/gpio300/direction
echo 0 > /sys/class/gpio/gpio300/value
What is the reason behind it? And how can we avoid the problems and enable spi without affecting anything
?
I need your help to this and we may upload a better documentation for inexperienced people.