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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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.

标签 (1)
附件
无评分
版本历史
最后更新:
‎01-03-2020 05:26 AM
更新人: