Hi igor
I rechecked the code and blocked all lines of code about GPIO4.
At the moment the board is powered on, the oscilloscope captures a high level on GPIO4, and then pulls it down immediately.
I tried to use the following Linux command to change the state of GPIO4, but nothing changed, the state of GPIO4 was always low.
echo 4 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio4/direction
echo 1 > /sys/class/gpio/gpio4/value
But when I used the same command to set GPIO12, I got the desired result. GPIO12 is high.
echo 12 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio12/direction
echo 1 > /sys/class/gpio/gpio12/value
I want to confirm whether GPIO4 has special use on the development board.
Let me emphasize that the boot file I currently use is based on the 8MMINILPD4-EVK development board. In addition, I have not made any changes to the configuration of PMIC-BD71847AMWV.
The development board uses GPIO4 to configure the MUXSW_VOUT output of the PMIC.
But my investigation did not yield any results.
I need your help now.
Thanks in advance