Giter Club home page Giter Club logo

xpowerslib's Introduction

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

Build esp-idf Build PlatformIO Build Arduino arduino-library-badge

LICENSE ISSUES FROK STAR releases

🎉 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.

Chip Resource List

CHIP AXP192 AXP202 AXP2101 Remarks
DC1 0.7V-3.5V /1.2A X 1.5-3.4V /2A
DC2 0.7-2.275V /1.6A 0.7-2.275V /1.6A 0.5-1.2V,1.22-1.54V /2A
DC3 0.7-3.5V /0.7A 0.7-3.5V /1.2A 0.5-1.2V,1.22-1.54V,1.6-3.4V /2A
DC4 x x 0.5-1.2V,1.22-1.84V /1.5A
DC5 x x 1.2V,1.4-3.7V /1A
LDO1(VRTC) 3.3V /30mA 3.3V /30mA 1.8V /30mA
LDO2 1.8V-3.3V /200mA 1.8V-3.3V /200mA x
LDO3 1.8-3.3V /200mA 0.7-3.5V /200mA x
LDO4 X 1.8V-3.3V /200mA x
LDO5/IO0 1.8-3.3V /50mA 1.8-3.3V /50mA x
ALDO1 x x 0.5-3.5V /300mA
ALDO2 x x 0.5-3.5V /300mA
ALDO3 x x 0.5-3.5V /300mA
ALDO4 x x 0.5-3.5V /300mA
BLDO1 x x 0.5-3.5V /300mA
BLDO2 x x 0.5-3.5V /300mA
DLDO1 x x (LDO Mode)0.5-3.3V/ 0.5-1.4V/300mA,(SW Mode)Switch Function Dependent on DC1
DLDO2 x x (LDO Mode)0.5-3.3V/ 0.5-1.4V/300mA,(SW Mode)Switch Function Dependent on DC4
CPUSLDO x 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.

xpowerslib's People

Contributors

lewisxhe avatar miguepollo avatar custodey avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.