CYD ESP32-2432S028R
Cheap Yellow Display with 2.8" ILI9341 LCD over SPI and XPT2046 resistive touch. ESP32 with 3 separate SPI buses.
Overview
| MCU | ESP32 (dual-core Xtensa LX6, 240 MHz) |
| Flash | 4 MB |
| PSRAM | None |
| Connectivity | WiFi 4 + BLE 4.2 (on-chip) |
| Status | Partial |
Components
| Component | Chip | Interface | Driver | Status |
|---|---|---|---|---|
| LCD display | ILI9341 320×240 | SPI (MOSI=13, CLK=14, CS=15, DC=2, BL=21) | drv_lcd_ili9341 | Fixed |
| Touch | XPT2046 | SPI separate bus (CS=33, IRQ=36) | drv_touch_xpt2046 | Fixed |
| SD Card | MicroSD | SPI (CS=5) | drv_sdcard | Untested |
| RGB LED | — | GPIO (R=4, G=16, B=17) | — | Untested |
| Speaker | — | GPIO 26 | — | Untested |
Pin assignments
| Function | GPIO |
|---|---|
| LCD MOSI | 13 |
| LCD CLK | 14 |
| LCD CS | 15 |
| LCD DC | 2 |
| LCD Backlight | 21 |
| Touch CS | 33 |
| Touch IRQ | 36 |
| SD Card CS | 5 |
| RGB LED R | 4 |
| RGB LED G | 16 |
| RGB LED B | 17 |
| Speaker | 26 |
Board config
Config file: cyd-2432s028.json
Located at sdcard_layout/config/boards/cyd-2432s028.json in the source tree.
Notes
- No PSRAM — limited to internal SRAM.
- Uses 3 separate SPI buses: LCD, touch (XPT2046), and SD card.
- ILI9341 LCD driver had init sequence and sleep timing issues that have been fixed.
- XPT2046 touch driver had pressure threshold, IRQ handling, and debounce issues that have been fixed.