cancel
Showing results for 
Search instead for 
Did you mean: 

Dual ADC mode multi channel

2424824120
Associate II
Posted on February 19, 2014 at 11:43

If under the Multi ADC mode only one channel can be conversed

in one ADCs(adc1/adc2/adc3)
5 REPLIES 5
chen
Associate II
Posted on February 19, 2014 at 12:20

Hi

''If under the Multi ADC mode only one channel can be conversed

in one ADCs(adc1/adc2/adc3)''

Is this a statement or a question?

If it is a question - it is unclear what you are asking?

2424824120
Associate II
Posted on February 19, 2014 at 12:55

Hi!

It is a question. when I set ''

 ADC_CommonInitStructure.ADC_DMAAccessMode = ADC_DMAAccessMode_2;

  /* ADC1 regular channel11 configuration   Pin PC1*************************************/

  ADC_RegularChannelConfig(ADC1, ADC_Channel_11, 1, ADC_SampleTime_3Cycles);

 /* ADC1 regular channel6 configuration  Pin PA6*************************************/

  ADC_RegularChannelConfig(ADC1, ADC_Channel_6, 2, ADC_SampleTime_3Cycles);

    

     /* ADC2 regular channel14 configuration  Pin PC4*************************************/

  ADC_RegularChannelConfig(ADC2, ADC_Channel_14, 1, ADC_SampleTime_3Cycles);

     /* ADC2 regular channel8 configuration  Pin PB0*************************************/

  ADC_RegularChannelConfig(ADC2, ADC_Channel_8, 2, ADC_SampleTime_3Cycles);

'' that only (

ADC1, ADC_Channel_11

)and

(ADC2, ADC_Channel_14

)can be converted.Why the remaining channels couldn't be converted?

Posted on February 19, 2014 at 13:44

Learn to post complete examples

  ADC_InitStructure.ADC_ScanConvMode = ENABLE; // Multiple Channels

  ADC_InitStructure.ADC_NbrOfConversion = 2;

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
2424824120
Associate II
Posted on February 19, 2014 at 13:46

Thank you! Now I know where I am rong!

2424824120
Associate II
Posted on February 19, 2014 at 13:47

Thank you! Now I know where I am rong!