ESP32 ST7789 TFT 240x240
Posted: Thu Jun 02, 2022 6:25 am
HI,
Greetings!
I am using Waveshare 1.54 inch TFT Display https://www.waveshare.com/1.54inch-lcd-module.htm along with ESP32.
It has ST7789 driver and I am getting below error.
BOARD_LCD_SPI_HOST 1
BOARD_LCD_SPI_CLOCK_FREQ 20000000
BOARD_LCD_SPI_MISO_PIN -1
BOARD_LCD_SPI_MOSI_PIN 23
BOARD_LCD_SPI_CLK_PIN 19
BOARD_LCD_SPI_CS_PIN 22
BOARD_LCD_SPI_DC_PIN 21
BOARD_LCD_SPI_RESET_PIN 18
BOARD_LCD_SPI_BL_PIN 25
Can somebody please help me on this to resolve it? or to understand me where am I going wrong.
Regards,
Dinesh
Greetings!
I am using Waveshare 1.54 inch TFT Display https://www.waveshare.com/1.54inch-lcd-module.htm along with ESP32.
It has ST7789 driver and I am getting below error.
Pin configuration is:Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
Core 0 register dump:
PC : 0x4d4310d3 PS : 0x00060330 A0 : 0x800d7164 A1 : 0x3ffb5fe0
A2 : 0x3ffb2ce8 A3 : 0x3f473f94 A4 : 0x3f4030d0 A5 : 0x4d4310d3
A6 : 0x400d6f40 A7 : 0x400d6ccc A8 : 0x800d67a2 A9 : 0x3ffb5f90
0x400d6f40: lcd_st7789_draw_bitmap at ../esp-iot-solution/components/display/screen/controller_driver/st7789/st7789.c:317
0x400d6ccc: lcd_st7789_get_info at ../esp-iot-solution/components/display/screen/controller_driver/st7789/st7789.c:259
A10 : 0x3ffaffd8 A11 : 0x3ffb5fe0 A12 : 0x00000001 A13 : 0x00000311
A14 : 0x3f473f94 A15 : 0x0000004d SAR : 0x00000004 EXCCAUSE: 0x00000000
EXCVADDR: 0x00000000 LBEG : 0x400014fd LEND : 0x4000150d LCOUNT : 0xfffffffd
Backtrace:0x4d4310d0:0x3ffb5fe0 |<-CORRUPTED
BOARD_LCD_SPI_HOST 1
BOARD_LCD_SPI_CLOCK_FREQ 20000000
BOARD_LCD_SPI_MISO_PIN -1
BOARD_LCD_SPI_MOSI_PIN 23
BOARD_LCD_SPI_CLK_PIN 19
BOARD_LCD_SPI_CS_PIN 22
BOARD_LCD_SPI_DC_PIN 21
BOARD_LCD_SPI_RESET_PIN 18
BOARD_LCD_SPI_BL_PIN 25
Can somebody please help me on this to resolve it? or to understand me where am I going wrong.
Regards,
Dinesh