cancel
Showing results for 
Search instead for 
Did you mean: 

Partial frame buffer optimization

LMenc.1
Associate

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? 

1 ACCEPTED SOLUTION

Accepted Solutions

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,

Mohammad MORADI
ST Software Developer | TouchGFX

View solution in original post

1 REPLY 1

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,

Mohammad MORADI
ST Software Developer | TouchGFX