Skip to main content
saeed taherianfard
Associate II
January 19, 2021
Solved

LTDC double buffer

  • January 19, 2021
  • 3 replies
  • 1754 views

Hi

I'm using stm32f767 and want to use LTDC with double framebuffer.

Can i do this with one sdram?

LTDC is fetching data from sdram(front buffer) and i have to prepare the back buffer at the same time(load data from sdcard into sdram)

Internal sram capacity is not sufficient.

How can this happen?

LTDC and SDRAM are working and i can display image through LTDC from SDRAM

LTDC is running at 30MHz and SDRAM clock is 90MHz.

This topic has been closed for replies.
Best answer by MM..1

Yes you can when SDRAM have space for two buffers . Good is place buffers start to internal bank starts. Ex D0000000 D0200000

3 replies

MM..1
MM..1Best answer
Super User
January 20, 2021

Yes you can when SDRAM have space for two buffers . Good is place buffers start to internal bank starts. Ex D0000000 D0200000

saeed taherianfard
Associate II
January 20, 2021

Thanks for quick reply

This means that i can fetch data from front buffer(address = 0xC0000000) to the LTDC and load data from sdcard to SDRAM(address = 0xC0200000) "simultaneously" and swap the addresses in the Vsync interurpt?

MM..1
Super User
January 20, 2021

exactly