eDMA major interrupt handler is not working

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

eDMA major interrupt handler is not working

681 Views
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 Kudos
Reply
5 Replies

633 Views
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 Kudos
Reply

672 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Could you specify used device?

0 Kudos
Reply

665 Views
sametburhan
Contributor I
mpc5777
0 Kudos
Reply

660 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

MPC5777C or MPC5777M?

0 Kudos
Reply

658 Views
sametburhan
Contributor I
MPC5777C
0 Kudos
Reply