2018-05-30 04:38 AM
Hi everyone,
I'm sorry to push this old thread but I'm facing problems using the LL drivers and initializing the ADC.
The function LL_ADC_Init(ADC_TypeDef *ADCx, LL_ADC_InitTypeDef *ADC_InitStruct) doesn't set the CKMODE in ADC_CFGR2.
Does anyone else also have this problem?
Best regards
Solved! Go to Solution.
2018-05-30 06:47 AM
Hi
Cabrita.Miguel
,I confirm thatLL_ADC_Init has to be updated in order to set the correct value in ADC_CFGR2 depending on selected clock source.
This issue is reported to our development team.
As workaround, I suggest you may set ADC clock with a call of 'LL_ADC_SetClock'.
Ex:LL_ADC_SetClock(ADC1, LL_ADC_CLOCK_SYNC_PCLK_DIV2);
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2018-05-30 06:47 AM
Hi
Cabrita.Miguel
,I confirm thatLL_ADC_Init has to be updated in order to set the correct value in ADC_CFGR2 depending on selected clock source.
This issue is reported to our development team.
As workaround, I suggest you may set ADC clock with a call of 'LL_ADC_SetClock'.
Ex:LL_ADC_SetClock(ADC1, LL_ADC_CLOCK_SYNC_PCLK_DIV2);
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2018-06-07 11:21 AM
Hi Amel,
thank you for confirming this issue. I'm looking forward to the update
Best regards