cancel
Showing results for 
Search instead for 
Did you mean: 

How to specify addresses of multiple buffers (not multiple layers) in STEMWIN?

RFrac
Associate

Using STM32F429 board with 2 external SRAMS (512K each), one at 0xD0000000, other at 0xD0200000. Application set for 1 layer, 2 frame buffers.

If I set breakpoint in HAL_LTDC_LineEvenCallback, I find that LTDC->L1CFBAR toggles between 0xD0000000 and 0xD003FC00.

How can I configure STEMWIN toggle LTDC->L1CFBAR between 0xD0000000 and 0xD0200000 so each frame buffer is located in separate SRAM?

Thanks!

1 REPLY 1

Pretty sure none of the software has any awareness of your hardware configurations. Best you track this through the initialization, and expectations on size of frame, and linear memory.

Perhaps HAL_LTDC_SetAddress? Or BSP level stuff?

If no response from ST, try an Online Support Request, or push in via your FAE

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..