lewisxhe / XPowersLib

Arduino,CircuitPython,Micropython, esp-idf library for x-powers power management series
MIT License
71 stars 22 forks source link

AXP2101 using PWRON as EN mode #16

Closed gfilippi closed 10 months ago

gfilippi commented 10 months ago

Hello, from the datasheet I read that the AXP2101 pin for EX/PWRON can be configured as "enable pin" so that we do not need the PWRKEY to be pressed every time.

from the library it is not clear to me how to setup the PMU so that it will simply turn on/off using the pin as an ENABLE signal.

could you please help ?

thanks

lewisxhe commented 10 months ago

This is a chip customization function. It has been configured when the chip leaves the factory and cannot be changed through software.