F446RE ADC with DMA hack (need pin to ADC channel) 1000 samples, for loop adc.read_u16() rate is 2.2us/sample for DMA block read, rate is 0.34us/sample

Dependencies:   mbed

F446RE ADC with DMA for 1000 samples. (a hack for now, need to get ADC channel from pin name, for asynch operation would need callback)

For 1000 samples with loop adc.read_u16(), sample rate is 2.2us/sample

For DMA, 0.34us/sample.

This matches expected rate: ADC clock at 45MHz, ADC configured for 3CYCLES/sample, cycles = 12+3, rate = 15/45 =0.33us/sample

Committer:
manitou
Date:
Fri Nov 13 13:20:03 2015 +0000
Revision:
0:b0470b4e6b60
F446RE ADC with DMA, hack

Who changed what in which revision?

UserRevisionLine numberNew contents of line
manitou 0:b0470b4e6b60 1 http://mbed.org/users/mbed_official/code/mbed/builds/9296ab0bfc11