DMA2D and LTDC double buffering
Hi everybody,
I'm developing a simple gui on an STM32F429 microcontroller with the use of the STemWin grapich library. Everything is working well till I'm using just one framebuffer; now I would like to use double buffering to optimize the interface and have a better displaying, but something is going wrong, since I can no more see anything shown, just a black screen with backlight.
I read chapter 23 of emWin manual, where Multiple Buffering is described, and I've done changes to my code accordingly: enabled multiple buffering, customized buffer copy callback, manage buffers switching, enabled Window Manager multiple buffering option. To make this changes, I've used the project "STemWin_SampleDemo" of the "STM32F429I_Discovery" board.
DMA2D and LTDC are used.
Is it possible to copy one buffet into another using DMA2D if it's configured as Register-to-Memory? Should I modify its working mode to Memory-to-Memory?
Thanks in advance for any help,
Andrea
