Documentation of X-Cube Display
Hi all
I'm planing to run a 16-bit TFT display with a NUCLEO U575 board. I already managed to get it running via FMC and a custom written library as stated in this thread. So the Display, the NUCLEO and the interface is running fairly well.
However, as I'm planing to run the display with TouchGFX later, I'd like to use the ST7789V driver provided by STM in the X-Cube Display package. But I don't get it running with my setup. When I try to control the display with the X-Cube package, My actual code that I'm trying to run the display with is shown below. (For now I only want to get it run in a very bare code - no DMA, no TouchGFX, ... I just want to do it step by step :) )
I can turn on the display (line 4)- showing the content that's still stored in the controllers RAM. But when it comes to line 10 (FillRGBRectangular) I'm getting no change on the screen at all.
while(1){
BSP_LCD_DisplayOff(my_LCD);
HAL_Delay(500);
BSP_LCD_DisplayOn(my_LCD);
HAL_Delay(500);
BSP_LCD_Init(my_LCD, LCD_ORIENTATION_PORTRAIT);
HAL_Delay(500);
BSP_LCD_SetDisplayWindow(my_LCD, 0, 0, 240, 320);
HAL_Delay(500);
BSP_LCD_FillRGBRect(my_LCD, 0,0xFFFFFF , 10, 10, 100, 100);
}As I like to investigate (and learn) about the mistake myself I'm looking for some proper documentation on how to set up the X-Cube Display package. UM2787 - Getting started with the X-Cube Display Expansion Package didn't really help a lot as the information is very general.
Does anyone of you know a better how-to for the X-Cube Display package?
Can the ST7789V driver delivered with the X-Cube Display package be used as standalone? So without DMA, OS-settings, TouchGFX,...?
A brief summary of my setup:
- Nucleo U575
- 2.8 inch 240x320px TFT display driven by a ST7789V controller
- connected through a PCB I designed myself (proven to run with my self written ST7789V-driver)
- FMC Bank1 activated and configured as for my self written ST7789V driver
- in Software Packs: STMicroelectronics X-CUBE-DISPLAY 2.2.0 -> Board Part LCD ST7789V -> FMC (also activated in the Pinout&Configuration part in CubeMX, tried it with several different settings for RTOS, Device Application (custom) (de-)activated,...)
Thanks in advance
Matthias