Skip to content

Release 0.2.24 - #380

Merged
lovyan03 merged 2 commits into
m5stack:masterfrom
ainyan03:release_0_2_24
Sep 29, 2026
Merged

lovyan03 merged 2 commits into
m5stack:masterfrom
ainyan03:release_0_2_24

Conversation

@ainyan03

Copy link
Copy Markdown
Contributor

Fixes

  • CoreS3 family / Core2 v1.1 (AXP2101): on a weak USB supply without a battery (e.g. behind several hubs) the board powered off right after the backlight came on and stayed off until the power key was pressed: switching the external 5V output on in 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

  • Require M5GFX 0.2.31 (the same power-off is disabled during display detection)

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.
@lovyan03
lovyan03 merged commit 44d0c52 into m5stack:master Sep 29, 2026
28 checks passed
@ainyan03
ainyan03 deleted the release_0_2_24 branch September 30, 2026 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants