TFT_eSPI icon indicating copy to clipboard operation
TFT_eSPI copied to clipboard

Ruquest support ST7789V3

Open springeye opened this issue 6 months ago • 2 comments

springeye avatar May 30 '25 10:05 springeye

As far as I know, ST7789v3 is already supported by TFT_eSPI. Can you add a description of the problem?

nstepanets avatar Jun 05 '25 08:06 nstepanets

As far as I know, ST7789v3 is already supported by TFT_eSPI. Can you add a description of the problem?

The pins connected to my screen are as follows(Using soft SPI):

    #define TFT_SCLK PA7
    #define TFT_MOSI PA6
    #define TFT_RST  PA5
    #define TFT_DC   PA4
    #define TFT_CS   PA3
    #define TFT_BL  PA2

When I call init, the code gets stuck at line 691 of TFT_eSPI.cpp. This line is stuck

 writecommand(0x00); // Put SPI bus in known state for TFT with CS tied low

Image

I saw ST7789 and ST7789_V2 in the TFT_Drivers directory, so I mistakenly thought it was incompatible with V3. Currently, I don't know where the problem lies with my code.

springeye avatar Jun 06 '25 02:06 springeye