Skip to main content
YChen
Associate
July 3, 2020
Question

Can I use STM32F103VCT6 to make TFT-LCD(ST7789) display by FSMC?

  • July 3, 2020
  • 1 reply
  • 1123 views

I used STM32CubeMX V5.6.1 to create a project for STM32F103VCT6,

I wanted to make a 2.8" TFT-LCD(ST7789) display, it does not work!

The configuration parameters in STM32CubeMX:

Connectivity -> FSMC:

 NE1 Chip Select

 LCD Register Select: A23

 Data: 16 bits

I found st7789h2.h and st7789h2.c drive from sample code,

and defined parameters as following:

#define LCD_REG ((uint32_t)0x60000000)

#define LCD_RAM ((uint32_t)0x61000000) // A23

I used the command 0x04 (read ID), its response is 0x04 (not 0x85),

how to fix this problem?

1 reply

Visitor II
September 11, 2024

I’m having the same issue on a Stm32f407. Let me know if you find a solution