DFR0664 (Fermion: 2.0" 320x240 IPS TFT LCD) not working with DFR0975 (FireBeetle 2 Board ESP32 S3)

userHead coloboxp 2024-10-31 15:36:38 13 Views0 Replies

Hi all,

 

I've been trying to use the DFRobot GDL library with the 2.0”LCD display ST7789V and I do not why the samples on that link do NOT work, nothing is shown on the display. I do not know what I am doing wrong, seems only the backlight works.

 

I am using the DFR0975 FireBeetle 2 Board ESP32 S3 and according to the table here, I've defined the PINs as follows:

 

#define TFT_DC 3    // LCD_DC pin

#define TFT_CS 18   // LCD_CS pin

#define TFT_RST 38  // LCD_RST pin

#define TFT_BL 21   // LCD_BL (Backlight) pin

 

DFRobot_ST7789_240x320_HW_SPI screen(/*dc=*/TFT_DC, /*cs=*/TFT_CS, /*rst=*/TFT_RST);

 

Then the test code doesn't show anything (the one that is supposed to draw lines and figures from the advanced tutorial here)

 

Is there something missing on the DFRobot_GDL library?, last update was 2 years ago, or am I missing something?, if so, please kindly advise what to do :)

 

I did, however, try directly with the Adafruit ST7735 and ST7789 Library@^1.10.4 and guess what?, their samples work… I just had to add the MOSI and SCLK pins to the constructor:

 

#define TFT_DC 3    // LCD_DC pin

#define TFT_CS 18   // LCD_CS pin

#define TFT_RST 38  // LCD_RST pin

#define TFT_BL 21   // LCD_BL (Backlight) pin

#define TFT_MOSI 15 // LCD_MOSI pin

#define TFT_SCLK 17 // LCD_SCLK pin


 

Adafruit_ST7789 screen = Adafruit_ST7789(TFT_CS, TFT_DC, TFT_MOSI, TFT_SCLK, TFT_RST);

 

Please advice me how to continue with the DFRobot_GDL lib instead