cancel
Showing results for 
Search instead for 
Did you mean: 

BUG in ADC LL Examples in STM32Cube_FW_G0_V1.5.1 (and also CubeMX)

There is an error in the ADC LL example projects on STM32G0 (Fw 1.5.1).

Initalisation function (MX_ADC1_Init) call function

LL_ADC_SetTriggerFrequencyMode()

with inadmissible argument LL_ADC_CLOCK_FREQ_MODE_HIGH

permissible arguments are

LL_ADC_TRIGGER_FREQ_HIGH or

LL_ADC_TRIGGER_FREQ_LOW

Also CubeMX generate the same problem.

2 REPLIES 2
Imen.D
ST Employee

Hello @Michal Dudka​,

Which CubeMX release are you using?

Did you try with latest release of CubeMX and STM32CubeG0 v1.6.1 ?

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen