DMA2D configuration error IRQ after creating dynamic bitmap
Hi,
I have a problem when using a dynamic bitmap (no problems in simulator, only on MCU).
No problems arise when calling the Bitmap::dynamicBitmapCreate() function, it returns a valid bitmap_id, but then when I set an Image with this bitmap_id, things go wrong.
We keep getting into the DMA2D_IRQHandler() untill the watchdog resets the MCU.
When inspecting the registers, I saw that in DMA2D->ISR the CEIF (configuration error) is set.
void DMA2D_IRQHandler(void)
{
if (DMA2D->ISR & 2)
{
DMA2D->IFCR = 2;
//invalidate D-Cache after DMA transfer
SCB_CleanInvalidateDCache();
touchgfx::HAL::getInstance()->signalDMAInterrupt();
}Does anyone have an idea what can be the problem?
Thanks in advance!
Kind regards,
Jens Jonckheere
Platform info:
- STM32F767
- 8 MB external SDRAM
