2024-09-02 03:08 AM - last edited on 2024-09-02 04:11 AM by SofLit
Hi,
I am using an H743 coupled to W9825G6KH-6 (256MBit SDRAM)
Everything works fine on my 1024x600x16bit (RGB565) display with a single buffer held at 0xC0000000, however when I enable double buffering with the second buffer at 0xC012C000 (1024x600x2 added to first buffer address), I get the following error handle occur from the DMA: DMA2D Xfer ErrorCallback
And obviously Touch GFX doesn't continue.
Anyone else come across this, or where I could start looking?
Thanks n advance,
Matt
2024-09-02 04:39 AM - edited 2024-09-02 04:47 AM
@mtechmatt wrote:Hi,
I am using an H743 coupled to W9825G6KH-6 (256MBit SDRAM)
Everything works fine on my 1024x600x16bit (RGB565) display with a single buffer held at 0xC0000000, however when I enable double buffering with the second buffer at 0xC012C000 (1024x600x2 added to first buffer address), I get the following error handle occur from the DMA: DMA2D Xfer ErrorCallback
And obviously Touch GFX doesn't continue.Anyone else come across this, or where I could start looking?
Thanks n advance,
Matt poly clinic
It looks like you’re encountering a DMA2D transfer error when enabling double buffering. This issue might be due to incorrect buffer addresses or configuration.
Here’s a brief checklist to troubleshoot:
Buffer Alignment: Ensure the buffer addresses are correctly aligned. For DMA2D, buffers should typically be aligned to a multiple of 32 bytes.
DMA2D Configuration: Verify that the DMA2D configuration settings match the buffer requirements, including pixel format and buffer size.
Memory Access: Confirm that the memory regions for both buffers are properly set up and accessible.
TouchGFX Configuration: Check if TouchGFX is correctly configured for double buffering.
Start by validating these settings to address the DMA2D error.