AXP209 power questions

Started by pjwl, July 03, 2018, 03:24:25 PM

Previous topic - Next topic

pjwl

Hello,

I'm using the AXP209 on my board, but I had a few question about the AXP209. I have connected a Li-Ion battery to AXP209 and charge it with a 5V charger what works fine.

I would like to know how much current IPSOUT pin can handle when only using the batter?

When I configure the shutdown voltage, I know that the APS pin will react to that setting, but will the battery input also react to this?


Thanks already

Oleg Strelkov

Hello

AXP209 maximum charge current is up to 1.8A, as described in:
http://dl.linux-sunxi.org/AXP/AXP209_Datasheet_v1.0en.pdf

You can inspect real current supply in charge and discharge modes from
sysfs file system:

root@A20-OLinuXino:/# cat /sys/class/power_supply/battery/status
Discharging
root@A20-OLinuXino:/# cat /sys/class/power_supply/battery/current_now
197000
root@A20-OLinuXino:/#

Parameter "current_now" gives current in micro-Ampere units.

When power supply is connected, charging begins:
root@A20-OLinuXino:/# cat /sys/class/power_supply/battery/status
Charging
root@A20-OLinuXino:/# cat /sys/class/power_supply/battery/current_now
370000
root@A20-OLinuXino:/#


Regards,
Oleg.