how to clear dma interrupt on s32k

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

how to clear dma interrupt on s32k

960件の閲覧回数
momo12
Contributor III

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);

タグ(1)
0 件の賞賛
1 返信

733件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

The SDK doesn't seem to have such a function.

But it is described in Section 18.4.5.14.2, RM rev.8

Regards,

Daniel

0 件の賞賛