I am using the GPDMA for SPI tranfers on a LPC-4078, closely following the provided sample code.
My application is basically working, but I noticed that the DMA_IRQHandler() is called more often than it should be.
In fact, LPC_GPDMA->INTSTAT and all similar registers are zero at the very beginning of the IRQ handler, but it is still called.
How is that possible? How can I find out what triggers the call to the DMA_IRQHandler() if it is not an IRQ of the DMA unit?