Forum Rule: Always post complete source code & details to reproduce any issue!
-
Synchronous ADC read and DMA transfer
Hello,
I am a beginner in microcontroller and teensy world. I need to read say for example voltages and currrent from two ADC's synchronously for 200 samples(Or by using Timer) and transfer to DMA (should notify its able to read 200 or if its full). I dont want to use analogread() cause its blocking method. Can anyone post a pesudocode or anypointers for how to implement??
Thanks
Last edited by sushantvs; 10-20-2017 at 01:23 PM.
-
Senior Member+
You've just to study the source codes of the Teensy ADC and Audio libraries which come with each Teensyduino installation and are both available on GitHub, too.
There are many different use cases and that (known working) code is IMNSHFO the best tutorial.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules