Aug 15, 2018
07:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 15, 2018
07:00 PM
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.
Solved! Go to Solution.
Labels
1 Solution
Aug 19, 2018
07:20 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 19, 2018
07:20 PM
Yes, DMA will clear the interrupt request flag if DMA is triggered by ADC interrupt.
Best regards,
Amy Wang
1 Reply
Aug 19, 2018
07:20 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 19, 2018
07:20 PM
Yes, DMA will clear the interrupt request flag if DMA is triggered by ADC interrupt.
Best regards,
Amy Wang