TouchGFX framebuffer flickering - Cacheable or Non-cacheable MPU configuration?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-03-18 4:15 AM - last edited on 2025-03-18 4:16 AM by Andrew Neil
Hello,
I'm currently developing graphics on an STM32H750-based board using TouchGFX, and my framebuffer is located in external SDRAM.
I've noticed flickering occurring in certain screen areas, especially when the UI becomes complex.
After investigating, I discovered that configuring the MPU region for SDRAM as Non-cacheable completely resolves the flickering issue.
I wonder what the recommended approach is in this scenario:
- Should I configure the SDRAM MPU region as Non-cacheable?
- Or, should I keep the SDRAM MPU region as Cacheable, and instead manually handle cache maintenance (e.g., using SCB_CleanDCache() at framebuffer flush or buffer switch points)?
Which approach is the proper or recommended practice?
Thanks for any guidance!
Labels:
- Labels:
-
DMA
-
LCD-LTDC
-
STM32H7 series
0 REPLIES 0
