Skip to main content
Michal Dudka
Lead
December 22, 2022
Question

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

  • December 22, 2022
  • 1 reply
  • 944 views

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.

This topic has been closed for replies.

1 reply

Technical Moderator
December 22, 2022

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"".ThanksImen"
Michal Dudka
Lead
December 22, 2022