LilyGo-LoRa-Series/lib/XPowersLib
2023-03-23 10:12:21 +08:00
..
datasheet Added XPowersLib 2022-12-09 16:04:17 +08:00
examples Adapt to Arduino IDE 2023-03-23 10:12:21 +08:00
Micropython Update XPowersLib 2023-03-23 10:05:00 +08:00
src Update XPowersLib 2023-03-23 10:05:00 +08:00
CMakeLists.txt Added XPowersLib 2022-12-09 16:04:17 +08:00
Kconfig Update XPowersLib 2023-03-23 10:05:00 +08:00
keywords.txt Update XPowersLib 2023-03-23 10:05:00 +08:00
library.json Update XPowersLib 2023-03-23 10:05:00 +08:00
library.properties Update XPowersLib 2023-03-23 10:05:00 +08:00
LICENSE Added XPowersLib 2022-12-09 16:04:17 +08:00
platformio.ini Added XPowersLib 2022-12-09 16:04:17 +08:00
README.md Added XPowersLib 2022-12-09 16:04:17 +08:00

 __   __     _____                           _      _ _
 \ \ / /    |  __ \                         | |    (_) |
  \ V /_____| |__) |____      _____ _ __ ___| |     _| |__
   > <______|  ___/ _ \ \ /\ / / _ \ '__/ __| |    | | '_ \
  / . \     | |  | (_) \ V  V /  __/ |  \__ \ |____| | |_) |
 /_/ \_\    |_|   \___/ \_/\_/ \___|_|  |___/______|_|_.__/

🎉 LilyGo invests time and resources to provide this open source code, please support LilyGo 
and open source hardware by purchasing products from LilyGo!
Written by Lewis He for LilyGo. MIT license, all text above must be included in 
any redistribution

WARN:

⚠️ Please do not run the example without knowing the external load voltage of the PMU,
it may burn your external load,please check the voltage setting before running the example,
if there is any loss,please bear it by yourself

Library specially written for XPowers, supporting CircuitPython, Micropython, Arduino, ESP-IDF

Through esp32,esp32s3 verification,other platforms have not been tested. Due to the many functions of the chip,it cannot be verified one by one.

At present, other XPowers models except AXP2101 have been discontinued and are not supported for the time being

Chip Resource List

CHIP AXP192 AXP2101 Remarks
DC1 0.7V-3.5V /1.2A 1.5-3.4V /2A
DC2 0.7-2.275V /1.6A 0.5-1.2V,1.22-1.54V /2A
DC3 0.7-3.5V /0.7A 0.5-1.2V,1.22-1.54V,1.6-3.4V /2A
DC4 x 0.5-1.2V,1.22-1.84V /1.5A
DC5 x 1.2V,1.4-3.7V /1A
LDO1(VRTC) 3.3V /30mA 1.8V /30mA
LDO2 1.8V-3.3V /200mA x
LDO3 1.8-3.3V /200mA x
LDO4 X x
LDO5/IO0 1.8-3.3V /50mA x
ALDO1 x 0.5-3.5V /300mA
ALDO2 x 0.5-3.5V /300mA
ALDO3 x 0.5-3.5V /300mA
ALDO4 x 0.5-3.5V /300mA
BLDO1 x 0.5-3.5V /300mA
BLDO2 x 0.5-3.5V /300mA
DLDO1 x 0.5-3.3V/ 0.5-1.4V /300mA
DLDO1 x 0.5-3.3V/ 0.5-1.4V /300mA
CPUSLDO x 0.5-1.4V /30mA Dependent on DC4

AXP2101 Notes:

  • Whether DLDO1/DLDO2/RTCLDO2/GPIO1 can be used depends on the chip. It is not available by default. RTCLDO1 has a default voltage, which is generally 1.8V by default. The voltage value cannot be changed or turned off through the register.