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

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

Hello all,

I am working on this project where I have 7 multiplexed channels going to a SAR ADC. The output of the ADC is going to a DMA channel and it stores the 7 conversions in RAM.

I'm having an issue where the measurement location has an offset and I'd like to reset the DMA pointer every time I service the interrupt to make sure I don't have swapped channels. Is there a way to reset the DMA pointer?

0 Likes
1 Solution
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

fpereira,

DMA is intended for automatic (unattended) operation. If you intend resetting DMA on each interrupt, it may be easier just not to use DMA at all, performing all operation by processor itself. It may be, actually, faster.

/odissey1

View solution in original post

0 Likes
3 Replies