Sleep: drive and hold the 20 RGB panel lines low before deep sleep (white flickering edges seen on the bench)
Firmware / build (push) Successful in 7m7s

This commit is contained in:
2026-09-28 16:53:16 +02:00
parent 803af7568f
commit 59fae2c219
2 changed files with 26 additions and 1 deletions
+4
View File
@@ -20,6 +20,10 @@ Deep sleep when the bit is set, no DATA frame on any transport for 60 s, no upda
See the log entry of the day: switch → CONFIG → Inst. Cluster within a CONFIG period; `sleep now` on the Inst. Cluster and its wake.
## Bench finding 2026-09-28: flickering white edges while asleep
First deep sleep on the bench: the panel showed a flickering white glow around the edges. In deep sleep the LCD peripheral stops and the 20 RGB lines float; a panel with no pixel clock and floating data lights up if any backlight current flows. Fix in `goToSleep()`: after the backlight is switched off through the CH422G (EXIO2), every RGB line (HSYNC 46, VSYNC 3, DE 5, PCLK 7, D0-15 = 14 38 18 17 10 39 0 45 48 47 21 1 2 42 41 40) is driven low and held (`gpio_hold_en` + `gpio_deep_sleep_hold_en`) with the LVGL lock taken so nothing draws again. Whether the glow is gone is the user's observation to make - if it persists, the backlight enable is not really off in sleep and the expander pin needs a look (or the LED driver has its own enable).
## Not verified
- The Main CTRL's own sleep and CAN wake need the car (a quiet bus that later talks). Bench boards have no bus, so they would never wake.