Skip to main content
LMenc.1
Associate II
July 25, 2024
Solved

Partial frame buffer optimization

  • July 25, 2024
  • 1 reply
  • 956 views

Hi everyone,

I'm working on a 320*240 SPI LCD and I need to optimize the memory consumption and the refresh speed on it.

At the moment I'm using 4 partial frame buffer of 9.6kB each (with RGB565 16-bit, so 4800 pixels per buffer), but, when I draw an image with dimension 48*45 (2160 pixels) on a already initialized Screen, the touchGFX calls the write on LCD function 3 times:

1 - 48*20 pixels
2 - 48*20 pixels
3 - 48*5   pixels

There is any way or strategy to draw it in one single transaction? 

Best answer by Mohammad MORADI ESFAHANIASL

Hello @LMenc.1 ,

Unfortunately, this is handled by the TouchGFX framework; therefore, it is not possible to change the strategy, at least from the TouchGFX side. 

Best regards,

1 reply

ST Employee
July 26, 2024

Hello @LMenc.1 ,

Unfortunately, this is handled by the TouchGFX framework; therefore, it is not possible to change the strategy, at least from the TouchGFX side. 

Best regards,