Tool/software:
Hi TI,
I'm using SK-AM62B-P1 running on Debian bookworm. I was trying to set a gpio and get the state of the gpio. but I have some confusions regarding the $gpiodetect and $gpioinfo gpiochipx.
here is the output of the same:
I want to set the 13th pin of the expansion header which is the EXP_GPIO0_42 as per datasheet. Assuming that it is the line number 42 on gpiochip0,
i tried $gpioset gpiochip0 42=1
but the pin state doesn't go high. I have verified that using a multimeter.
I don't think there is an issue with gpiochip2. because i have enabled both the
line 5: "EXP_PS_3V3_En" unused input active-high
line 6: "EXP_PS_5V0_En" unused input active-high
this worked fine, and 3V3 and 5V0 was available on the expansion header. So what should I do in-order to correctly access the gpio through the expansion header?