cancel
Showing results for 
Search instead for 
Did you mean: 

About TouchGFX frame buffer problem

TomBrown
Associate

Hello, I'm using TouchGFX on an STM32L452RET6 with an SPI screen. The screen has integrated GRAM, so I selected the partial buffer option in STM32CubeMX. STM32CubeMX generated the partial buffer code as expected, but it also generated code for a full frame buffer, which exceeds the MCU's RAM. I need to comment out this code to reduce RAM usage. How can I prevent STM32CubeMX from generating the full frame buffer code?

STM32CubeMX version: 6.15.0

X-Cube -TouchGFX package and TouchGFX Designer version: 4.25.0

STM32L4 Cube package version: 1.81.1

PixPin_2025-11-05_13-41-38.pngPixPin_2025-11-05_13-43-10.png

3 REPLIES 3
Ghofrane GSOURI
ST Employee

Hello @TomBrown 

I'm currently checking this. I will get back to you asap.

THX

Ghofrane

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Ghofrane GSOURI
ST Employee

Hello @TomBrown 

Thank you for your valuable contribution.

The issue has been escalated to the appropriate team under internal ticket number 221339 for further investigation and resolution.

I will keep you updated as soon as new information becomes available.

THX

Ghofrane

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Ghofrane GSOURI
ST Employee

Hello @TomBrown 

I am sharing with your our expert feedback : 

"In the documentation LINK  we  explain that framebuffer can be placed in external memory. If we grey out the double framebuffer strategy, users won't be able to allocate 2 framebuffers in external memory, even if it has the space for it"

THX

Ghofrane

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.