From b0a22e756fe44b62797d921c664974eadf226cb4 Mon Sep 17 00:00:00 2001 From: Adolfo Reyna Date: Fri, 24 Jul 2026 13:56:29 -0400 Subject: [PATCH] fix(rlcd): use standard write-only SPI --- Drivers/st7305-module/source/st7305.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Drivers/st7305-module/source/st7305.cpp b/Drivers/st7305-module/source/st7305.cpp index d1d16c0e..65a8daba 100644 --- a/Drivers/st7305-module/source/st7305.cpp +++ b/Drivers/st7305-module/source/st7305.cpp @@ -434,7 +434,10 @@ static error_t start(Device* device) { .dc_low_on_param = 0, .octal_mode = 0, .quad_mode = 0, - .sio_mode = 1, + // The panel is write-only. Match the working MicroPython SPI configuration instead + // of enabling ESP-IDF's bidirectional three-wire mode on MOSI; direction switching + // in that mode can corrupt long framebuffer writes and show up as vertical stripes. + .sio_mode = 0, .lsb_first = 0, .cs_high_active = 0, },