Skip to content

Wio Tracker L2: fix idle dimming and shutdown on the L2 Pro - #495

Merged
bmorcelli merged 1 commit into
bmorcelli:mainfrom
valleytechsolutions:codex/wio-l2-pro
Nov 29, 2026
Merged

bmorcelli merged 1 commit into
bmorcelli:mainfrom
valleytechsolutions:codex/wio-l2-pro

Conversation

@valleytechsolutions

Copy link
Copy Markdown
Contributor

The L2 Pro uses the existing seeedstudio-wio-tracker-l2 image. At the 5% idle dim setting, the backlight curve rounded down to PWM 0, so the screen went dark before the screen-off timeout. Give positive brightness settings a minimum duty of 1 and keep 0 for screen off.

Clear any retained backlight duty before resetting the panel, and write the four LP5814 PWM registers in one I²C transaction. During shutdown, stop input polling and put the backlight driver in standby. Switch off the SD and battery ADC rails before the LCD/touch rail because the unpowered touch controller can hold the shared bus low. The board guide and supported-device list now identify the Pro under the same build target.

Tested on a Seeed Studio Wio Tracker L2 Pro

  • Built with pio run -e seeedstudio-wio-tracker-l2. The app fits the 0x180000 Launcher partition. Verified the flashed image against the build with esptool.
  • Confirmed landscape display, touch navigation, side-button Back, idle dimming and wake on the handheld.
  • Confirmed that Launcher mounted the microSD card, returned the expected partition table and completed a Wi-Fi scan.
  • Installed a small ESP32-S3 test app through Launcher's USB console. It booted from the OTA slot at 0x1A0000 and reported 8 MiB of PSRAM. Restored the original Launcher partition layout after the test.

I did not measure deep-sleep current. The shutdown ordering also follows the observed bus behavior in Meshtastic's L2 board fix.

@bmorcelli
bmorcelli merged commit af71c2a into bmorcelli:main Nov 29, 2026
99 checks passed
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