Skip to main content
Senior
Jan 13, 2025 11:31 PM UTC
Question

No Contiguous RAM size big enough for full FrameBuffer

I am using the STM32H743VITX MCU and TouchGFX with the display (800x480px) in a single buffer format with RGB565. The framebuffer size is calculated to be 750KB; however, the MCU does not have a contiguous 750KB region in RAM.

 

I am exploring ways to utilize this resolution without adding external memory, such as SDRAM.

While I have looked into partial framebuffer rendering, this option does not appear to be available in CubeMX, and I am unsure why.

 

Does anyone know any other workarounds for this issue or why PartialFrame is greyed out for me in CubeMX?

This topic has been closed for replies.

4 replies

Tesla DeLorean
Guru
Jan 14, 2025 3:31 AM UTC

Perhaps you need to find a panel with it's own SGRAM within the controller. Like SSD1963 or RA8875. And a driver that facilitates that..

https://www.raio.com.tw/en/RA8875.html

https://support.touchgfx.com/docs/development/scenarios/lowering-memory-usage-with-partial-framebuffer

"Partial frame buffers will only work on displays that have built-in memory. These are typically DSI displays or displays with a parallel bus connection (DBI type A/B, 8080/6800) or SPI-bus connection."

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
NEdom.1
Associate III
Jan 14, 2025 4:56 AM UTC

If you are not going to use DMA for framebuffer access, try a FreeRTOS with heap 5 option.

Senior
Jan 14, 2025 5:22 PM UTC

My original plan is to use the DMA. From what I've seen I thought it ill advised to not use DMA, have I been misinformed? Have you seen a Display not use DMA and still work fast enough and without any artifacts?

MM..1
Super User
Jan 14, 2025 6:08 PM UTC

For simple projects 565 isnt strict. You can use L8 buffer. And partial is based on used bus for display. LTDC dont support it.