Double buffer with external LCD controller via FMC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-18 6:23 AM
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
- Labels:
-
TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-18 6:48 AM
Double buffer isnt required for use DMA.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-18 6:54 AM
Isn't it required to allow TouchGFX to prepare the next screen while the current one is being transferred to the LCD controller? LCD update process takes around 13ms so there is not much time left if one wants to update screen at 60Hz (animations etc.).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-18 7:08 AM
you can use it and is based on fmc and spi LCD have own framebuffers ,
on SPI is data slow for animations, then double buffer is default commented.
