2025-11-11 12:27 PM - edited 2025-11-11 12:28 PM
Hi everyone, I have an display driving issue causing some unwanted artifacts.
Some context information about my platform. I'm running an STM32H7B0. My binary is stored on an external octospi (quad mode) memory (not just the resources of TouchGFX). My frame buffer is entirely in internal RAM. I have configured the LTDC to drive a 480x800 display at 16bpp. I have also enabled DMA2D with a M2M configuration. Finally, my system is running FreeRTOS as an OS. This all is set up with the CubeMX generator.
The issue I am facing is that some image elements on my display seem to sometime flicker when invalidated. The same elements will have some black lines through my image elements. See attached image for the black lines though the round image objects on my display.
Some points I have looked at so far: I am invalidating my cache after the generated hal performs the flushFrameBuffer. I have my MPU setup to avoid speculative accesses on my OSPI memory range.
Any suggestions to help me identify what the cause could be of this issue?