Release 0.2.24 - #380
Merged
Merged
Release 0.2.24#380
Conversation
On a weak USB supply with no battery, the inrush when the external 5V output is switched on in begin() pulls a DCDC output below 85% of its setting, and the AXP2101 powers itself off (REG21 = 0x20) until the power key is pressed. Seen on the CoreS3 SE and Core2 v1.1 behind several USB hubs; the backlight flashes once and the board is silent. With cfg.output_power = false, or with the power-off disabled, they boot. M5GFX disables this power-off (REG23 bit4:0) when it first powers the panel, but begin() re-armed DCDC1/DCDC3 on the Core2 v1.1, which undid it before the external output came on. begin() now disables DCDC1-5 on the Core2 v1.1 and the CoreS3 family instead. A dip then resets the ESP32 through its brown-out detector rather than latching the PMIC off. The DCDC over-voltage power-off and the VSYS under-voltage power-off (VOFF) stay enabled. setExtOutput(false) on the Core2 v1.1 no longer suspends and restores the power-off around the 5V bus switch-over: it stays disabled. Checked on a Core2 v1.1 without battery: switching the output off still ends in a brown-out reset that recovers, as before.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes
begin()pulled a DCDC output below 85% and the AXP2101 powered itself off.begin()keeps the DCDC under-voltage power-off disabled (on the Core2 v1.1 it used to re-arm it); a dip now ends in an ESP32 brown-out reset that recovers.setExtOutput(false)on the Core2 v1.1 no longer suspends and restores it around the 5V bus switch-over.Internal