Skip to main content
GS1
Senior III
December 8, 2021
Solved

STM32CubeMX: What is wrong in this setup for STM32H7A3 + TouchGFX + LCD 800x480?

  • December 8, 2021
  • 4 replies
  • 1982 views

I want to create a new project based on STM32H7A3 with an LCD 800 x 480 Picels and TouchGFX user interface.

When setting up the project I get an error message on the TouchGFX Generator page which will not dissapear. I don't know, what is wrong with my initialisation.

It says that the "Width/height values mus equal LTDC Window values". But they are both equal to 800x480. I even tried the computed values but the error keeps alive.

Please see my screen dumps. What is wrong with this? Can anybody help?

Thank you for any proposals.

0693W00000Hnw3YQAR.png0693W00000Hnw0PQAR.png

This topic has been closed for replies.
Best answer by GS1

ok, I found the mistake:

The setup for Frame Buffer Height was wrong: 400 instead of 480

now Config is happy.

4 replies

MM..1
Super User
December 8, 2021

Need equal Layer0 , no LCD setup, this may differ or equal too

GS1
GS1Author
Senior III
December 8, 2021

Here is my page for Layer0:

and what do you mean with "no LCD setup"?

0693W00000HnxO4QAJ.png 

MM..1
Super User
December 8, 2021

Your Layer image setup show 800x400 need 800x480

On page Parameter settings you define hw LCD setup, on Layer config you define area on LCD managed from memory...

And for detail you setup RGB888 this equal to reserved memory 800x480x3 bytes x 2 for double buffer...

And tick source maybe need too set LTDC instead custom.

GS1
GS1AuthorBest answer
Senior III
December 8, 2021

ok, I found the mistake:

The setup for Frame Buffer Height was wrong: 400 instead of 480

now Config is happy.