Solved
DMA2D throws configuration error
Hello!
We are use STM32H747 and TouchGFX. We are need to use DMA2D. But we have issue with mode DMA2D_R2M.
Our configuration
hdma2d.Instance = DMA2D;
hdma2d.Init.Mode = DMA2D_R2M;
hdma2d.Init.ColorMode = DMA2D_OUTPUT_ARGB8888;
hdma2d.Init.OutputOffset = 0;
if (HAL_DMA2D_Init(&hdma2d) != HAL_OK)
{
while (1);
}
if (HAL_DMA2D_ConfigLayer(&hdma2d, 1) != HAL_OK)
{
while (1);
}Our test
NVIC_EnableIRQ(DMA2D_IRQn);
HAL_DMA2D_Start_IT(&hdma2d, 0x12345678, 0xD0165800, 640, 572);In this case we have callback from DMA with configuration error.
For mode DMA2D_R2M - all Ok.
Any ideas?