Closed StuartsProjects closed 5 months ago
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
Note, if you want your code to work on both the T-Beam v1.2 with AXP2101, and v1.1 with the AXP192, that the LDO outputs are named differently in the xpowerslib: ALDO2, ALDO3 in the AXP2101, and LDO2, LDO3 in the AXP192. If you use the wrong name there will be no error message, neither at compile time nor at runtime (there should be!), but those outputs will not be active (e.g., the LORA chip will not work).
I found this out after adapting code from "XPowersLibInterface_Example" to allow the choice of the AXP type to be done at runtime. Found that through that API a few functions are missing, e.g., PMU->enableButtonBatteryCharge();
I have a T-BEAM AXP2101 V2.1 with SX1262
There are examples for using the AXP2101, but I cannot find a clear list of what each of the AXP2101 channels actually controls on the T-Beam board.
I found this list of outputs defined;
And then these terms in the XPOWERslib;
And all the names dont quite match.
So is there a list of what on the TBeam board is controlled by which channel on the AXP2101 ?