Skip to main content
cs c
Associate
May 8, 2019
Solved

The adc use the timer trgo,is wrong.

  • May 8, 2019
  • 1 reply
  • 638 views

A bug in cubemx hal lib,a file named "stm32l4xx_hal_adc.h" in the STM32Cube_FW_L4_V1.13.0 ,in code line 518.#define ADC_EXTERNALTRIG_T4_TRGO     (LL_ADC_REG_TRIG_EXT_TIM4_CH4) make sure as #define ADC_EXTERNALTRIG_T4_TRGO     (LL_ADC_REG_TRIG_EXT_TIM4_TRGO)

This topic has been closed for replies.
Best answer by Imen.D

Hello,

This issue is fixed with the latest version of STM32CubeL4 V1.14.0.

#define ADC_EXTERNALTRIG_T4_TRGO (LL_ADC_REG_TRIG_EXT_TIM4_TRGO) /*!< ADC group regular conversion trigger from external peripheral: TIM4 TRGO. Trigger edge set to rising edge (default setting). */

Please update and use this new version contains correction.

Regards,

Imen

1 reply

Imen.DBest answer
Technical Moderator
May 9, 2019

Hello,

This issue is fixed with the latest version of STM32CubeL4 V1.14.0.

#define ADC_EXTERNALTRIG_T4_TRGO (LL_ADC_REG_TRIG_EXT_TIM4_TRGO) /*!< ADC group regular conversion trigger from external peripheral: TIM4 TRGO. Trigger edge set to rising edge (default setting). */

Please update and use this new version contains correction.

Regards,

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