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...
Type: Posts; User: digi.ctrl
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...
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...
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...
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
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?
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...
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,...
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...