STM32CubeMX: What is wrong in this setup for STM32H7A3 + TouchGFX + LCD 800x480?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-12-08 6:17 AM
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.
Solved! Go to Solution.
- Labels:
-
LCD-LTDC
-
STM32CubeMX
-
STM32H7 Series
-
TouchGFX
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-12-08 10:21 AM
ok, I found the mistake:
The setup for Frame Buffer Height was wrong: 400 instead of 480
now Config is happy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-12-08 9:22 AM
Need equal Layer0 , no LCD setup, this may differ or equal too
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-12-08 9:27 AM
Here is my page for Layer0:
and what do you mean with "no LCD setup"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-12-08 10:19 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-12-08 10:21 AM
ok, I found the mistake:
The setup for Frame Buffer Height was wrong: 400 instead of 480
now Config is happy.
