cancel
Showing results for 
Search instead for 
Did you mean: 

ADC 1,2,3 independent mode

TK.17
Associate

I've got a problem with stm32f407zet   . I use also LL drivers and 3 ADCs with dma .

No problem when run separately , e.g.  only ADC 1 - results are corrects  , only ADC3 - results are corrects .

Problem is when I turn on two ADC  by :

//adc1

   LL_ADC_CommonInitTypeDef ADC_CommonInitStruct;

   ADC_CommonInitStruct.CommonClock = LL_ADC_CLOCK_SYNC_PCLK_DIV2;

   ADC_CommonInitStruct.Multimode = LL_ADC_MULTI_INDEPENDENT; 

   LL_ADC_CommonInit(__LL_ADC_COMMON_INSTANCE(ADC1), &ADC_CommonInitStruct);    

//adc3

 LL_ADC_CommonInitTypeDef ADC_CommonInitStruct;

   ADC_CommonInitStruct.CommonClock = LL_ADC_CLOCK_SYNC_PCLK_DIV2;

   ADC_CommonInitStruct.Multimode = LL_ADC_MULTI_INDEPENDENT; 

   LL_ADC_CommonInit(__LL_ADC_COMMON_INSTANCE(ADC3), &ADC_CommonInitStruct);   

Only noise results , what's wrong ?

1 REPLY 1
TK.17
Associate

I answer self . Now , all ADC's works well thanks to good configuration .