cancel
Showing results for 
Search instead for 
Did you mean: 

Configuration of STM32H750B-DK with TouchGFX

madGambol
Associate

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

1 REPLY 1
ahsrabrifat
Senior II

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