Skip to main content
Associate II
Jul 7, 2023 2:30 PM UTC
Solved

ST7789 not working

Hi,

I can't get a simple ST7789 screen working I have tried using this library:- https://github.com/Floyd-Fish/ST7789-STM32 double checked all the connections (including external 8MHZ crystal) and all seems to be fine, I have tried various different settings with the SPI and DMA none of which work. Just wondered if anyone here has had a working program? I am using a simple Nucleo STM32F303K8 MCU. All I get is blank screen.

    This topic has been closed for replies.
    xisco
    xiscoBest answer
    Senior
    Jul 7, 2023 10:15 PM UTC

    Hi,

    I had a similar problem (unsolved) with this driver on a display 2.0TFTSPI GMT020-02 VER:1.1 240x360px  (you see blank screen and I see only garbage).

    There are some things to look:

    1. The Driver.

    1.1. This driver needs to configure the GPIOs that you use for CS, DC and RST pins.

    1.2. This driver needs to configure the resolution, orientation, displacement...

    1.3. I had a warning in compilation about varible types.

    It was about 1 year ago. Perhaps the driver version is actually different

    2. The hardware: In some sites people says that the display need to be mounted on a PCB, without wires

    And however, the SPI configuration

    I expect I helped you. I tested with two blue pills and three displays, and never worked. I didn't found the correct combination

    3 replies

    Tesla DeLorean
    Guru
    Jul 7, 2023 7:35 PM UTC

    Perhaps its the hardware..

    Link to a site with the actual screen board you purchased.

    Show a wiring diagram of exactly how you've wired that board up.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    xisco
    xiscoBest answer
    Senior
    Jul 7, 2023 10:15 PM UTC

    Hi,

    I had a similar problem (unsolved) with this driver on a display 2.0TFTSPI GMT020-02 VER:1.1 240x360px  (you see blank screen and I see only garbage).

    There are some things to look:

    1. The Driver.

    1.1. This driver needs to configure the GPIOs that you use for CS, DC and RST pins.

    1.2. This driver needs to configure the resolution, orientation, displacement...

    1.3. I had a warning in compilation about varible types.

    It was about 1 year ago. Perhaps the driver version is actually different

    2. The hardware: In some sites people says that the display need to be mounted on a PCB, without wires

    And however, the SPI configuration

    I expect I helped you. I tested with two blue pills and three displays, and never worked. I didn't found the correct combination

    LinkpadAuthor
    Associate II
    Sep 14, 2023 6:21 PM UTC

    Hi Xisco,

    Thanks buddy I found these small SPI screens are fussy about how you connect the SPI wires and power wires and best like too use PCB tracks where possible, I changed my jumper connections and the ST7789 sprang to life!