st7735 tft display gibberish on esp32 spi
ESP32-WROOM, ST7735 128x160 TFT over SPI (VSPI default pins), using Adafruit_ST7735 library. Display shows random colored noise / gibberish, not the test pattern. Backlight is on. I've checked wiring: SCK, MOSI, CS, DC, RST all mapped to the pins I passed to the constructor. Using the library's example with the right pin numbers. Logic analyzer shows SPI clock at 40MHz - is that too fast? The display datasheet says max 15MHz maybe. Could the display be 5V and the ESP32 3.3V logic? Or is it an initialization issue - wrong color order (BGR vs RGB)?
4 replies