LTDC FIFO Underrun occurs on STM32H745XI with Emwin 24bit RGB
Hello,
I'm using STM32H745XI based custom board running at 480MHz.
Interfaced SDRAM in 32 bit mode.
Using RGB 24 -bit interface to connect to TFT Displays.
Setup Emwin in ARGB8888 Mode.
Functional memory map is like below.
LTDC Configured as Single layer 800x480 Display.
Frame buffer in sdram [ Using 2 Buffers in Emwin].
Emwin objects data are in AXI RAM at 0x30000000 for 256 Kb
Using FreeRTOS so configured stack and heaps in DTCM ram.
Placed Vector table and ISR routines in ITCM ram.
Configured MPU for 2 Regions.
0x30040000 - 64Kb [ Share,No-cache,No-Buffer,MPU_INSTRUCTION_ACCESS_ENABLE,TEX0 ]
0xC0000000 - 16Mb [ No-Share,Cache,Buffer,MPU_INSTRUCTION_ACCESS_DISABLE,TEX0 ]
Works fine but sometimes it genereates FIFO Underrun error HAL_LTDC_ERROR_FU Error And Program stucks.
How to troubleshoot this issue.
Do i need to configure any other MPU regions.
Any clue will be helpful.
Thanks.
