KE15 multi-channels ADC DMA implementation on SDK 2.6.X

cancel
Showing results for 
Search instead for 
Did you mean: 

KE15 multi-channels ADC DMA implementation on SDK 2.6.X

KE15 multi-channels ADC DMA implementation on SDK 2.6.X

Hi:

Kinetis's ADC have no multi channels sequence sampling function, compared with LPC's ADC.

But we could use DMA for such case, attached are two demos:

1.multi_channels_edma_ADC_DMA_SW_TRIG

Description: use SW trigger DMA transfer for 6 ADC channels,

DMA ch0 is for ADC channels transfer, DMA ch1 is for ADC sample result transfer

in DMA ch1 ISR, report ADC sample are done;

2.multi_channels_edma_ADC_DMA_LPIT_HW_TRIG

Description: use LPIT timely trigger DMA transfer for 6 ADC channels,

DMA ch0 is for ADC channels transfer, DMA ch1 is for ADC sample result transfer

in DMA ch1 ISR, report ADC sample are done; but LPIT could trigger continuously without SW engage.

Labels (1)
Attachments
Version history
Revision #:
1 of 1
Last update:
‎01-03-2020 05:26 AM
Updated by: