and i install the gpiod library, use the follow command to control the header J12 the pin31 PQ.06:
sudo gpiofind “PQ.06” , this command return values: gpiochip0 106. so i send other command:sudo gpioset gpiochip0 106=1.and i use The multimeter reads 0V。
gpioset –drive=push-pull gpiochip0 106=1 is the same result
*** Please note that this reply is generated by LLM automatically ***
Based on the provided context, I’ll try to help you troubleshoot the issue with controlling the GPIO pin on your Jetson Orin Nano.
Firstly, it’s great that you’ve successfully installed the gpiod library and used the gpiofind command to identify the GPIO pin corresponding to PQ06, which is gpiochip0 106.
However, when you try to set the pin high using gpioset gpiochip0 106=1, the multimeter reading doesn’t change, and you’re wondering why.
Here are a few potential reasons:
Pin configuration: Make sure that the pin is configured as a GPIO pin and not as an SFIO (Special Function Input/Output) pin. You can check the Jetson Orin Nano pinmux spreadsheet to confirm the pin’s configuration. If the pin is configured as an SFIO pin, you might need to change the pinmux configuration to use it as a GPIO pin.
Pin direction: Ensure that the pin direction is set to bidirectional (input/output) or output. You can use the gpiod command gpioinfo gpiochip0 106 to check the pin’s direction. If the pin direction is set to input, you won’t be able to control the pin’s output.
Pin value: Verify that the pin value is actually being set to 1. You can use the gpiod command gpioget gpiochip0 106 to read the pin’s value. If the value is not being set to 1, there might be an issue with the gpioset command or the pin’s configuration.
Pinmux settings: Check the pinmux settings for the PQ06 pin. You can use the pinmux command to verify the pinmux settings. Make sure that the pinmux settings are correct and that the pin is not being used by another peripheral.
Hardware issue: It’s possible that there’s a hardware issue with the pin or the board. Try using a different pin or a different board to rule out any hardware problems.
To troubleshoot further, you can try the following:
Use the gpioinfo command to check the pin’s configuration and direction.
Use the gpioget command to read the pin’s value and verify that it’s being set correctly.
Use the pinmux command to verify the pinmux settings for the PQ06 pin.
Try using a different pin or a different board to rule out any hardware problems.
If none of these troubleshooting steps help, please provide more information about your setup, including the exact commands you’re using and the output of the gpioinfo and gpioget commands.
*** Please give the thumbs up if you get answers you like. Or provide feedback to help us improve the answer. ***
JP6 and JP5 have different SW stack and kernel driver for GPIO.
Do you want to stay in JP5.1.2 with workable GPIO control?
Or do you want to move back to JP6.x and I could help you to clarify the issue?
I’ve verified GPIO control working with JP6.x on my Orin Nano devkit setup.
and reflash the image to the board of using this command: sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_t234_nvme.xml -p “-c bootloader/generic/cfg/flash_t234_qspi.xml” --showlogs --network usb0 jetson-orin-nano-devkit internal