2020-07-03 01:10 AM
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?
2024-09-10 07:26 PM
I’m having the same issue on a Stm32f407. Let me know if you find a solution