cancel
Showing results for 
Search instead for 
Did you mean: 

CubeF0 ADC LL bug

danielbuga9
Associate III
Posted on August 24, 2017 at 13:24

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-bug
3 REPLIES 3
Tilen MAJERLE
ST Employee
Posted on August 24, 2017 at 13:33

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

Posted on August 24, 2017 at 13:41

I'm sorry. CubeMX 4.22.0 and STM32Cube FW_F0 V1.8.0

Amel NASRI
ST Employee
Posted on May 30, 2018 at 15:16

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.