|
ADC DMA多通道连续采样时,采样没按使能的顺序采样,使能顺序如下:
FL_ADC_DisableSequencerChannel(ADC, FL_ADC_ALL_CHANNEL);
FL_ADC_EnableSequencerChannel(ADC, FL_ADC_INTERNAL_AVREF);
FL_ADC_EnableSequencerChannel(ADC, FL_ADC_EXTERNAL_CH1);
FL_ADC_EnableSequencerChannel(ADC, FL_ADC_EXTERNAL_CH0);
FL_ADC_EnableSequencerChannel(ADC, FL_ADC_EXTERNAL_CH7);
FL_ADC_EnableSequencerChannel(ADC, FL_ADC_EXTERNAL_CH10);
实际采样顺序是AVREF,CH7,CH10, CH0 CH1,请问是哪个配置的不对吗
|
|