Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 2 of 2

Thread: Synchronous ADC read and DMA transfer

  1. #1
    Junior Member
    Join Date
    Aug 2016

    Synchronous ADC read and DMA transfer


    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??

    Last edited by sushantvs; 10-20-2017 at 01:23 PM.

  2. #2
    Senior Member+ Theremingenieur's Avatar
    Join Date
    Feb 2014
    Colmar, France
    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