Replies: 1 comment
-
I'm no longer using this implementation. Still curious about circular DMA though |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've got circular ADC DMA working but I'm not sure I've implemented it in a smart way. Essentially I want to continually sample the analog inputs, which as far as I can tell means I need to restart the DMA process every time I've read the second half buffer. Is that correct? Or is there a way to tell it to automatically start writing into the first half without me needing to restart it?
I expected the circular buffer mode to automatically start writing into the first half whilst I'm reading the second half, otherwise I may as well just use the single buffer
Transfer
method. Any clarity on the matter would be appreciated.This is my current code:
Beta Was this translation helpful? Give feedback.
All reactions