2025-12-04 4:43 AM
Hello all,
Trying to set up the custom display on the STM32H750B-DK dev board.
Interestingly, the display works via LTDC functions in Keil just fine... but I do not have much luck with the TouchGFX. For example, started with setting up the TBS in the Designer to avoid the complications of memory and other configurations (thanks to the ST support) and continuing in the CubeIDE where I have opened the .*.ioc file to update the MX configuration for the LTDC and TouchGFX... it compiles ok, I can opend the TouchGFX designer and "upload" the picture, for example, I can see the picture to be in the memory. See attached build memory analyzer.
However, when I run the application or debug, I cannot see the preview of the picture.
One of the ideas, as it is explained in the TouchGFX manual, namely Board bring up, would be to preview a simple framebuffer, not sure how easily that would be?
I am not sure how to tackle this problem, so any comments, ideas, or hints are more than welcome!
Best.
e memory
2025-12-10 4:22 AM - edited 2025-12-10 4:22 AM
After debugging, more information is evident.
0) starting with the basic setup,
where the framebuffer is created, as it can be seen in the following picture, the RAM_D1 holds this buffer and its size is 300KB.
Indeed, the LTDC setup also follows these buffers' settings, see below for more...
1) Not sure if the clocks are set for the display correctly,
the LCD manufacturer states that the pixel clock should be cca 50.7 MHz, using the following LTDC parameters' settings :
which raises the pixel clock to ≈ 50.7 MHz.
I am looking at the MX and Clock configuration is to 50 MHz at the "To LTDC (MHz) ", see the picture below, is this OK?
2) When debugging, nothing much happens till I get to the MX_MDMA_Init(); MX_DMA2D_Init(); MX_FMC_Init();
For example, at these methods, the LCD starts showing some graphics, but more or less totally wrong, like the pictures above.
THE QUESTION:
Should I return back to the "CPU running" https://support.touchgfx.com/docs/development/board-bring-up/how-to/02-cpu-running, are my clocks OK?
Any comments, ideas, or help are more than welcome!
Best.
2025-12-17 1:30 AM
Hello @total_and_STM32
Didn't you said your screen was working without TouchGFX at first place?
@total_and_STM32 wrote:
Interestingly, the display works via LTDC functions in Keil just fine
In our documentation, the "Board Bring up" is used to set a project without TouchGFX, and confirm that the peripherals are all working (screen, memory, physical buttons etc..). So if you were able to see a colored screen as described in this link, then you should probably not try to search the issue in the MX configuration.