Skip to content
Discussion options

You must be logged in to vote

I assume this would involve reprogramming the destination register after every A/D read.

This was my first thought too. But then you would not only have to reprogram it after each A/D read to the two different memory locations but also to increase the counters within the respective arrays accordingly. Which you cannot achieve with DMA easily, provided you are not willing to set up an extra array containing only the respective addresses (A, B, A+1,m, B+1, A+2, ...).

We have quite a few DMA channels. So better have different channels for A and B, then the independent counting is solved. You need to trigger a read from ADC intermittently by DMA-A and DMA-B, which may be set up to happen wh…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@AttilaTheHunBruce
Comment options

@rkompass
Comment options

Answer selected by AttilaTheHunBruce
@AttilaTheHunBruce
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants