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

Revisions of mbed.bld

Revision Date Message Actions
0:b0470b4e6b60 2015-11-13 F446RE ADC with DMA, hack File  Diff  Annotate