Question
Double buffer with external LCD controller via FMC
I have TouchGFX with ST7789 LCD controller connected via FMC and would like to use double framebuffer strategy to offload the CPU by transferring data to LCD by DMA.
Is this a supported use case?
I noticed a few things which may suggest otherwise:
- TouchGFX documentation here says that HAL::flushFrameBuffer() should wait for the pixel data transfer to complete.
- With double buffering enabled in CubeMX getClientFrameBuffer() always returns address of frameBuffer1.
- A comment in generated source:
//setTFTFrameBuffer() not used for selected display interface