2025-11-04 9:46 PM
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
2025-11-05 12:24 AM
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.
2025-11-07 1:22 AM
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.
2025-11-19 2:05 AM
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.