I have an 8bit paralell ili9341 that came with an arduino style pin layout. Photos for my setup can be seen at this google album, but I soldered it to a prototype board to make it easier to attach to breadboards. While the soldering job is messy I have verified it works by using an Arduino example project. So now I'm trying to get the LCD working against my esp32-s3 using the example LCD project. I've gone through menuconfig and set the LCD model to ili9341, flashed my esp32-s3, and all I get is a white screen, which is consistent with power being on but the correct commands not being sent.
Serial output is at `Display LVGL animation` which seems to mean it's gotten to the point where it's trying to send visuals to the screen, but I have nothing.
The current pinout I have from my LCD (left) to my esp32 devkit are:
- A/5v -> 5v
- B/Gnd -> Gnd
- F/LCD_RD -> 5v (Had to do this on the pico for it to work to keep it held high
- G/LCD_WR -> gpio21
- H/LCD_RS -> gpio47
- I/LCD_CS -> gpio48
- J/LCD_RST -> gpio45
- M/LCD_07 -> gpio39
- N/LCD_06 -> gpio40
- O/LCD_05 -> gpio41
- P/LCD_04 -> gpio42
- Q/LCD_03 -> gpio2
- R/LCD_02 -> gpio1
- S/LCD_01 -> gpio44
- T/LCD_00 -> gpio43
Code: Select all
#define EXAMPLE_PIN_NUM_DATA0 43
#define EXAMPLE_PIN_NUM_DATA1 44
#define EXAMPLE_PIN_NUM_DATA2 1
#define EXAMPLE_PIN_NUM_DATA3 2
#define EXAMPLE_PIN_NUM_DATA4 42
#define EXAMPLE_PIN_NUM_DATA5 41
#define EXAMPLE_PIN_NUM_DATA6 40
#define EXAMPLE_PIN_NUM_DATA7 39
#define EXAMPLE_PIN_NUM_PCLK 21
#define EXAMPLE_PIN_NUM_CS 48
#define EXAMPLE_PIN_NUM_DC 47
#define EXAMPLE_PIN_NUM_RST 45
#define EXAMPLE_PIN_NUM_BK_LIGHT 4
#define EXAMPLE_LCD_H_RES 240
#define EXAMPLE_LCD_V_RES 320
Anyone see anything obvious for what I'm doing wrong?