MB91F534 ADC +DMA

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
wxwxc_3645076
Level 1
Level 1
First reply posted First question asked Welcome!

if I used DMA to transfer the result of ADC conversion result, Can I still use adc interrupt normally?             

Will the interrupt flag be cleared by DMA? Because I want to do something in the ADC interrupt.

I found a strange phenomenon:

    When using ADC interrupt to trigger dma transfers, the interrupt flag bit is not set to 1 when the program enters the interrupt function breakpoint.1534384796(1).jpg

0 Likes
1 Solution
HongyanW_86
Moderator
Moderator
Moderator
100 solutions authored 100 replies posted 50 solutions authored

Yes, DMA will clear the interrupt request flag if DMA is triggered by ADC interrupt.

Best regards,

Amy Wang

View solution in original post

0 Likes
1 Reply
HongyanW_86
Moderator
Moderator
Moderator
100 solutions authored 100 replies posted 50 solutions authored

Yes, DMA will clear the interrupt request flag if DMA is triggered by ADC interrupt.

Best regards,

Amy Wang

0 Likes