Skip to main content
Associate II
December 18, 2025
Solved

DMA2D_XferErrorCallback function due to a DMA2D error

  • December 18, 2025
  • 2 replies
  • 383 views

I am using a custom PCB design with a 480x800 pixel RGB input LCD display. I am driving the display via the LTDC peripheral. When I change the default colors, the color on the screen changes accordingly, which indicates that there is no apparent hardware issue with driving the LCD.

However, when I try to display a simple text on the screen using TouchGFX, the system enters the DMA2D_XferErrorCallback function due to a DMA2D error. Because of this, the text cannot be rendered on the display.

Could you please explain the possible reasons for this DMA2D transfer error and what might be causing it?

 

best regards

Celil Bayrakdar

This topic has been closed for replies.
Best answer by Osman SOYKURT

Hello @celo01 ,

Which STM32 MCU do you use?
Does the issue happen also on other widget like an image widget or a texture mapper widget? I expect that if DMA2D_XferErrorCallback is entered when using texts, it will happen on all widgets using the hardware accelerator (check the list here). If my assumption is correct, you might have a issue with you hardware accelerator configuration.

2 replies

Osman SOYKURT
Osman SOYKURTBest answer
Technical Moderator
December 18, 2025

Hello @celo01 ,

Which STM32 MCU do you use?
Does the issue happen also on other widget like an image widget or a texture mapper widget? I expect that if DMA2D_XferErrorCallback is entered when using texts, it will happen on all widgets using the hardware accelerator (check the list here). If my assumption is correct, you might have a issue with you hardware accelerator configuration.

Osman SOYKURTST Software Developer | TouchGFX
celo01Author
Associate II
December 18, 2025

merhaba

 

STM32H743GT kullanıyorum

Osman SOYKURT
Technical Moderator
April 16, 2026

Hello, I'm closing the thread due to inactivity. Feel free to open a new one if you still face the issue.

Osman SOYKURTST Software Developer | TouchGFX