eDMA major interrupt handler is not working

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

eDMA major interrupt handler is not working

683 次查看
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 回复数

635 次查看
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 项奖励
回复

674 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

Could you specify used device?

0 项奖励
回复

667 次查看
sametburhan
Contributor I
mpc5777
0 项奖励
回复

662 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

MPC5777C or MPC5777M?

0 项奖励
回复

660 次查看
sametburhan
Contributor I
MPC5777C
0 项奖励
回复