Skip to main content
RFrac
Visitor II
December 29, 2018
Question

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

  • December 29, 2018
  • 0 replies
  • 469 views

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

This topic has been closed for replies.