Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: lombyp on January 08, 2021, 12:22:01 PM

Title: After boot LDO3 turn off so PE GPIOs not working
Post by: lombyp on January 08, 2021, 12:22:01 PM
Hello, I am working with your olimage A20-OLinuXino-buster-minimal-20201217-194545. on the T2-OLinuXino-MICRO-e8Gs16M-IND rev.M.
using the python library pyA20 I have some problem with the GPIO PE and PG (they don't turn on)...the others ports go well.
same with:
echo 128 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio128/direction
echo 1 > /sys/class/gpio/gpio128/value

I found that the problem comes from LDO3 of AXP209... during boot LDO3 is at 2.8V but after the system boots, LOD3 goes at 0V.
I tried to change the output via the commands:
sudo i2cset -y -f 0 0x34 0x29 0x54
sudo i2cget -y -f 0 0x34 0x29
0x54
the registers of the AXP209 are updated but the LDO3 output always remains at 0V ... it is as if LDO3 were blocked.
where does this problem come from?
have you noticed this problem from your tests?
Title: Re: After boot LDO3 turn off so PE GPIOs not working
Post by: LubOlimex on January 08, 2021, 02:40:47 PM
It seems there is an issue indeed. It is a known problem. Expect a fix soon.