eDMA major interrupt handler is not working

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

eDMA major interrupt handler is not working

983件の閲覧回数
sametburhan
Contributor I

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);
0 件の賞賛
返信
5 返答(返信)

935件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

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?

0 件の賞賛
返信

974件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

Could you specify used device?

0 件の賞賛
返信

967件の閲覧回数
sametburhan
Contributor I
mpc5777
0 件の賞賛
返信

962件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

MPC5777C or MPC5777M?

0 件の賞賛
返信

960件の閲覧回数
sametburhan
Contributor I
MPC5777C
0 件の賞賛
返信