Tool/software:
Hello there!
We are bit puzzled by side effects that we see when setting a set of GPIOs directly and not with the GPIO kernel driver.
With these lines, we manage to write to the output GPIO and we don't see an unintended effects.
devmem2 0x000F40F4
devmem2 0x000F40F4 w 0x00050007
echo 485 >/sys/class/gpio/export
echo out >/sys/class/gpio/gpio485/direction
echo 1 >/sys/class/gpio/gpio485/value
Now, when we use Linux/C (and also directly from PRU), GPIO0_37 goes from 1 to 0 and we don't see where we are affecting it.
Attaching C example.
Can you provide some hints on what we are missing? Thanks!