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

Thread: ADC and DMA

  1. #1
    Senior Member
    Join Date
    Apr 2018
    Location
    Eastern Time, USA
    Posts
    107

    ADC and DMA

    Are there example codes using DMA to transfer from the ADC, preferably in a Teensy 3.1/2?

    And could someone please point me to the relevant documentation?

    Thank you

  2. #2
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    7,692
    You might take a look at the ADC library. There are details up on the forum post: https://forum.pjrc.com/threads/25532...for-Teensy-3-1
    There are versions that are installed by Teensyduino, but if you need the latest it is up at: https://github.com/pedvide/ADC

    There are example sketches (adc_dma.ino. adc_timer_dma.ino) up there that use DMA and Timers and the like. I have not run them on T3.2, but I believe they would work.

  3. #3
    Senior Member
    Join Date
    Apr 2018
    Location
    Eastern Time, USA
    Posts
    107
    Thank you, will look for them.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •