Schematic Build Update
BL_PWM is reserved but the power stage remains intentionally incomplete.C
#define PIN_BOOT 0 #define PIN_RTC_INT 1 #define PIN_FUEL_ALERT 2 #define PIN_IMU_INT1 4 // reserved; hardware part blocked #define PIN_IMU_INT2 5 // reserved; hardware part blocked #define PIN_HAPTIC_EN 6 #define PIN_BL_PWM 7 // do not enable until backlight driver is completed #define PIN_I2C_SDA 8 #define PIN_I2C_SCL 9 #define PIN_LCD_D0 10 #define PIN_LCD_D1 11 #define PIN_LCD_D2 12 #define PIN_LCD_D3 13 #define PIN_LCD_D4 14 #define PIN_LCD_D5 15 #define PIN_LCD_D6 16 #define PIN_LCD_D7 17 #define PIN_LCD_WR 18 #define PIN_LCD_DC 21 #define PIN_CHG_STAT 43 #define PIN_USB_PGOOD 44 #define PIN_LCD_CS 47 #define PIN_LCD_RESET 48
esp_lcd_new_i80_bus() with bus_width=8 and data_gpio_nums ordered D0..D7. Create the panel IO with esp_lcd_new_panel_io_i80() using GPIO18 as wr_gpio_num, GPIO21 as dc_gpio_num, GPIO47 as CS, and a write-only bus (RD is hard-pulled high). Use the ST7789 panel driver via esp_lcd_new_panel_st7789(), hardware reset GPIO48, 240×320 geometry, and the initialization sequence required by the ER-TFT028A3-4/ST7789V production datasheet. Start with a conservative pixel clock and validate timing before increasing it.ESP-IDF target
GPIO definitions
I80 display
I2C/peripherals
Interrupts and controls
Backlight PWM
Startup sequence