Synchronous ADC read and DMA transfer

Status
Not open for further replies.

sushantvs

New member
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:
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.
 
Status
Not open for further replies.
Back
Top