Enabling SPI in jetson TX2 makes GPIO irresponsive

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




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.

It could be this GPIO pin are multiple function pin with SPI. You only can program it as one function.
What’s the GPIO pin name for the gpio300?

Hi niliptas,

Have you managed to get the SPI enabled on your carrier board?
Any result can be shared?