2017-08-24 04:24 AM
LL_ADC_Init in CubeF0 contains a check for ADC_InitStruct.Clock, which is not used in the function. CubeMX does not generate a value for ADC_InitStruct.Clock and thus the assert in LL_ADC_Init fails.
ADC_InitStruct.Clock and the assert should be removed.
#ll-bug2017-08-24 04:33 AM
Hello
Buga.D_niel
,I can confirm this issue in latest release of software. I will report it internally.
Thank you for your contribution.
Best regards,
Tilen
2017-08-24 06:41 AM
I'm sorry. CubeMX 4.22.0 and STM32Cube FW_F0 V1.8.0
2018-05-30 06:16 AM
Hello,
There is no more an Assert issue related to clock parameter in ADC configuration (checked with CubeMX 4.25).
-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.