cancel
Showing results for 
Search instead for 
Did you mean: 

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

YChen
Associate

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 1
camrose00
Associate II

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