cancel
Showing results for 
Search instead for 
Did you mean: 

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

GS1
Senior III

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

1 ACCEPTED SOLUTION

Accepted Solutions
GS1
Senior III

ok, I found the mistake:

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

now Config is happy.

View solution in original post

4 REPLIES 4
MM..1
Chief III

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

Here is my page for Layer0:

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

0693W00000HnxO4QAJ.png 

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
Senior III

ok, I found the mistake:

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

now Config is happy.