I configurated the eDMA and after the 10 minor loops, it should enter the interrupt. But the related handler is not working. Are there any additional settings for intmajor?
DMA->TCD[CH].CSR |= DMA_TCD_CSR_START(0x0) |//software start bit DMA_TCD_CSR_ACTIVE(0x0) | DMA_TCD_CSR_DONE(0x0) | DMA_TCD_CSR_INTMAJOR(0x1) |//interrupt when major count completes DMA_TCD_CSR_INTHALF(0x0) | DMA_TCD_CSR_DREQ(0x1) |//after the major loop, disable the channel request DMA_TCD_CSR_ESG(0x0) | DMA_TCD_CSR_MAJORELINK(0x0) |//major link disable DMA_TCD_CSR_MAJORLINKCH(0x0) |//major link channel DMA_TCD_CSR_BWC(0x0);
There is nothing else to be configured if you have rest of the descriptor configured properly. Have you checked error status register? Do you have properly set interrupt controller, vectors and enabled interrupts?