Hi!

On 28.12.18 05:31, SZ Lin (林上智) wrote:
Tarmo Kuuse <[email protected]> 於 2018年12月27日 週四 下午10:51寫道:

<snip>

Pin is muxed as GPIO and has value 1, but it's still configured as input:
conf_gpmc_a1 = 0x27
GPIO_OE = 0xFE1FFFFF
GPIO_DATAOUT = 0x820000
Output voltage = 0.58 V

# gpioinfo gpiochip1
gpiochip1 - 32 lines:
...
         line  17:    "GPMC_A1"       unused  output  active-high

This is not OK - pin should be configured as an output in the GPIO_OE register 
and it should have a voltage of around 3.3 V.

This issue looks similar to this one [1], could you confirm it?

Thanks.

[1] https://github.com/brgl/libgpiod/issues/32

Yes, I confirm I have stumbled on the same issue. I had no idea that the GPIO output is only active while the gpioset program is executing. Specifying a --mode=wait option keeps the GPIO set as expected until the program is terminated.

Thank you for the quick response, I guess you can close the issue with whatever resolution marks PEBCAK.

--
Kind regards,
Tarmo Kuuse

Reply via email to