*** Please note that this reply is generated by LLM automatically ***
The issue of a slow falling edge on a GPIO output can be caused by several factors, including hardware, software, or configuration issues. To troubleshoot this problem on the Jetson AGX Orin, let’s consider the following steps:
Hardware Configuration: Ensure that the GPIO pin is properly configured in the Jetson Orin’s pinmux table. You can refer to the Generating the Pinmux dtsi Files documentation to verify the correct configuration. In your case, you mentioned SOC_GPIO08, which is GPIO3_PB.00. Double-check that the pin is set to the correct mode (e.g., GPIO) and that the E_IO_HV field is disabled.
Software Configuration: Verify that the GPIO pin is properly configured in the device tree source (dts) file. You can check the dts file for the Jetson Orin to ensure that the GPIO pin is set to the correct mode and that the gpio-hog property is not set to “output-high” or “output-low”, which could cause the slow falling edge.
Pinmux Configuration: Ensure that the pinmux configuration is correct. You can use the cat /sys/kernel/debug/gpio command to verify the pinmux configuration. Check that the Pin Direction is set to Bidirectional and that the E_IO_HV field is disabled.
GPIO Driver Configuration: Verify that the GPIO driver is properly configured. You can check the GPIO driver configuration in the kernel source code or in the device tree source file.
RC Filter: If the above steps do not resolve the issue, it’s possible that the slow falling edge is caused by an RC filter on the GPIO pin. You can try adding a pull-down resistor to the GPIO pin to speed up the falling edge.
Check for Interference: If the above steps do not resolve the issue, it’s possible that the slow falling edge is caused by electromagnetic interference (EMI) or other external factors. You can try shielding the GPIO pin or using a different GPIO pin to see if the issue persists.
To compare the configuration with other devices, you can refer to the documentation for other Jetson devices, such as the Jetson Nano or Jetson Xavier. However, keep in mind that the pinmux configuration and GPIO driver configuration may differ between devices.
In terms of dts configuration, you can check the following properties:
gpio-hog: Ensure that this property is not set to “output-high” or “output-low”, which could cause the slow falling edge.
pinmux: Verify that the pinmux configuration is correct and that the E_IO_HV field is disabled.
pin-direction: Ensure that the pin direction is set to Bidirectional.
Here’s an example of a dts configuration for a GPIO pin:
In this example, the gpio-hog property is set to output-high, which could cause the slow falling edge. You can try removing this property or setting it to a different value to see if it resolves the issue.
In summary, to resolve the slow falling edge of the GPIO output on the Jetson AGX Orin, you should:
Verify the hardware configuration and ensure that the GPIO pin is properly configured in the pinmux table.
Check the software configuration and ensure that the GPIO pin is properly configured in the device tree source file.
Verify the pinmux configuration and ensure that the E_IO_HV field is disabled.
Check the GPIO driver configuration and ensure that it is properly configured.
Try adding a pull-down resistor to the GPIO pin to speed up the falling edge.
Check for interference and try shielding the GPIO pin or using a different GPIO pin.
*** Please give the thumbs up if you get answers you like. Or provide feedback to help us improve the answer. ***
GPIO signals on the devkit pass through level-shifting circuits.I can’t measure the signals output from the module directly ,AGX orin covers the signal measurement points.
We found the problem at the front-end of the shift register on our self-designed carrier board