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
  • 2 replies
  • 958 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.

2 replies

ST 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

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Michal Dudka
Lead
December 22, 2022