AnsweredAssumed Answered

how to clear dma interrupt on s32k

Question asked by m. m. on Jul 26, 2018
Latest reply on Jul 30, 2018 by Daniel Martynek

Hi

I can clear an LPIt interrupt by:

LPIT_DRV_ClearInterruptFlagTimerChannels(INST_LPIT1, (1 << LPIT_CHANNEL));

How do I clear it for a DMA? I am missing such a function in edma block?

 

At the moment I am hang in RxDmaCallback:

    INT_SYS_InstallHandler(DMA4_IRQn, &RxDmaCallback, (isr_t*) 0);
    INT_SYS_SetPriority(DMA4_IRQn,1);
    INT_SYS_EnableIRQ(DMA4_IRQn);

 

Which interrupt Do I need to clear?

this doesn't help:

INT_SYS_ClearPending(DMA4_IRQn);

Outcomes