Part Number: AM623
Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
hI,
I am working with GPIO pins and experiencing an issue with the following behavior:
- When the pin is configured as PIN_INPUT (in pinmux) both the write and status (read) operations are functioning as expected.
- However, when the pin is configured as PIN_OUTPUT (in pinmux), while the write operation works and the pin is driven high/low, the status (read) does not update correctly. Even when the pin is set high, the status shows as low.
library using for gpio: libgpiod
- When I use
gpioset gpiochip0 42=1, the LED connected to GPIO pin 42 turns on in our custom board, indicating that the pin is successfully set to high. - However, when I try to read the status of the same pin using
gpioget gpiochip0 42, it returns 0 (low) instead of 1 (high), even though the pin is set high.( issue occurs specifically when the pin is configured as PIN_OUTPUT)
I have ensured that the pinmux is configured correctly, but the issue persists.
Could you please help investigate why the status is not reflecting the output state?
Regards,Vikash


