2025-09-29 1:00 AM
Hello All,
I'm working on my own project using an STM32H573x microcontroller. I use TouchGFX to design the display graphics, and the FMC module to interface with an ILI9341 display controller. Data is transferred to the FMC banks using DMA in linked-list mode.
After some time, when the display is flooded with updates, it completely freezes. During debugging, I noticed that the DMA somehow stalls, and the interrupt for transfer completion never triggers again.
I tried restarting the DMA module after it crashes, and it does work again, but the display performance becomes poor. This is understandable, since resetting the DMA takes time and causes some frames to be lost. I also noticed that after the first occurrence of the error, the reset DMA function gets called more and more often, which means the error is happening more frequently. This made me suspect an issue with the FMC configuration. However, I checked against the datasheet, and it seems correct for my case.
Has anyone experienced a similar issue, or could provide any tips in such a situation?