Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: digi.ctrl

Search: Search took 0.00 seconds.

  1. Replies
    18
    Views
    24,440

    These lines were not there in the posted...

    These lines were not there in the posted setupADC(). I included them later on. Even though the sequence of those lines posted was correct, but whil testing I wrote them in reverse order. When...
  2. Replies
    18
    Views
    24,440

    Well, I have set ADC continuous mode at the end...

    Well, I have set ADC continuous mode at the end of setupADC() by
    ADC0_SC3 |= ADC_SC3_ADCO;
    and ADC0_SC1A = channel;

    With this change too DMA request does not start (no toggling of pin...
  3. Replies
    18
    Views
    24,440

    I am trying to use DMA when the ADC is running in...

    I am trying to use DMA when the ADC is running in continuous mode. But, there seems to be some problem.
    I am using part of the code from Audio.cpp. I have used software trigger and continuous mode...
  4. Replies
    18
    Views
    24,440

    Making Sample time Short (ADC_CFG1_ADLSMP = 0), I...

    Making Sample time Short (ADC_CFG1_ADLSMP = 0), I am getting for hardware average of 32 - 16 bit and 8 bit


    ADC sampling rate (AVG 32) = 464 kSPS
    ADC sampling rate (AVG 32) = 1299 kSPS
  5. Replies
    18
    Views
    24,440

    Paul, you have used hardware trigger in audio...

    Paul, you have used hardware trigger in audio library for sampling at a specific rate. When it is running in continuous mode, can ADC data can be stored at every EOC with DMA?
  6. Replies
    18
    Views
    24,440

    By default Teensy 3.1 is running with Continuous...

    By default Teensy 3.1 is running with Continuous Conversion (free-running) Enabled (check ADCx_SC3, x = 0 & 1). Strangely, setting High-Speed Configuration mode (ADHSC bit in ADCx_CFG2) reduces the...
  7. Replies
    18
    Views
    24,440

    I have used a very simple code to find sampling...

    I have used a very simple code to find sampling rate of the ADC at 16 bit resolution and at different hardware average count (1 to 32).



    #define RES 16
    // change HARDWARE AVG to 1, 2, 4, 8,...
  8. Replies
    18
    Views
    24,440

    Teensy 3.1 ADC with DMA

    I am very new to Teensy. I have received my Teensy 3.1 recently. I have used analogRead for reading analog input. I need to read analog input at its fastest speed. I understand, DMA would be the only...
Results 1 to 8 of 8