cancel
Showing results for 
Search instead for 
Did you mean: 

About TouchGFX frame buffer problem

TomBrown
Visitor

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

1 REPLY 1
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.