cancel
Showing results for 
Search instead for 
Did you mean: 

How to specify Front buffer and Back buffer address fir StemWin?

RFrac
Associate

ST's Appnote AN4861 (DM00287603), para. 4.5.1, "Memory Allocation" discusses "Splitting up the slave memories between masters...."

My StemWin application uses a single layer, with multi-buffering ("Front buffer" and "Back buffer"). I am able to set up the LTDC to switch between buffers located at pretty much any address I choose, but StemWin seems determined to choose it's own "Back buffer" address based on the setting of LCD_LAYER0_FRAME_BUFFER + (X size * Y size * Bytes per Pixel).

My question is: How can I configure StemWin to write to a specific, user-selected address for "Front Buffer", and a separate,

non-contiguous address for "Back buffer"? I understand there is a function to accomplish this when using the HAL, but I see no corresponding functionality when using StemWin.

Thanks,

Ron

0 REPLIES 0