Configuration of STM32H750B-DK with TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-05-30 11:04 AM
I'm trying to configure the LCD display using STM32CubeMX for the STM32H750B-DK.
Under the Middleware and Software Packs, in X-CUBE-TOUCHGFX, under the TouchGFX Generator tab, I get a Dependency Error in red:
Width/height values must equal LTDC Window width/height.
I think I've selected the values properly to do that: 480 x 272 (right?), and adjusted for the other places these values go. The result of this error is the code generation emits the expected warning, and BlitOp.h/.cpp isn't produced, causing the build to fail.
I've attached my ioc file as a zip file.
I am stuck on this and don't see what to adjust. I am essentially trying to get a "Hello World" application to run, although I haven't actually modified anything except the Makefile so far (also attached).
If I deselect TouchGFX, there are no warnings from the code generation step and the build completes.
Thanks!
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-05-31 4:18 AM
In STM32CubeMX, go to Peripherals > LTDC.
In Layer Configuration, set:
Window Horizontal Start/Stop: 0 to 480
Window Vertical Start/Stop: 0 to 272
Pixel Format: usually RGB565 or ARGB8888 (match TouchGFX setting)
Default Color: 0x00000000
Blending factors: usually CA and CA
Frame buffer start address: later handled by TouchGFX integration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-06-04 4:02 PM
Maybe this is where I'm going wrong? In those places where a range is expected, I'm using 479 (480-1) and 271 (272-1).
I'll try that next ... no joy. I get the same complaint. The values in the TouchGFX Generator tab are computed from the LTDC values, it appears.
I'm ultimately trying to get LVGL working to display text with the STM32H750B-DK (STM32F750 with LCD display). Do I really need TouchGFX to make that work? I want to have the touch screen active, but that's a "nice to have", not a requirement.
Thanks,
madGambol
