Fix AtomS3R LCD padding for mipi_spi - #98
Conversation
|
Confirming this fix also works for the AtomS3R + Voice Pyramid combo ( Setup: AtomS3R seated in Voice Pyramid, ESPHome Device Builder 2026.7.4 (HAOS add-on), config taken from the repo example unmodified. Symptom: identical to #96 — display shows only noise/random pixels (with a small dark rectangle where draws land), while voice assistant, wake words, media player and everything else work perfectly. First boot after flashing over factory firmware also showed the factory error screen "ghosting" (panel GRAM retention) until a full cold power-cycle. Fix applied: added the two padding lines from this PR to the dimensions:
height: 128
width: 128
offset_width: 2
offset_height: 1
pad_width: 2
pad_height: 1Rebuilt + OTA'd → display renders correctly immediately (idle illustration, state screens all fine, 180° rotation intact). Thanks for the patch — hoping this gets merged soon since every build on current ESPHome hits it. 🙏 |
Summary
Adds explicit
pad_widthandpad_heightvalues to the AtomS3Ratoms3r_lcdmipi_spidisplay definitions.ESPHome 2026.6.x changed
mipi_spipadding/rotation behavior. Without explicit padding, AtomS3R ST7789V displays usingrotation: 180°can show corrupted/pixelated output even though the device otherwise boots and functions normally.Tested
pad_width: 2andpad_height: 1fixes the display while preservingrotation: 180Fixes #96