Skip to main content
TK.17
Associate
September 4, 2018
Question

ADC 1,2,3 independent mode

  • September 4, 2018
  • 1 reply
  • 598 views

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 ?

This topic has been closed for replies.

1 reply

TK.17
TK.17Author
Associate
September 22, 2018

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