cancel
Showing results for 
Search instead for 
Did you mean: 

The adc use the timer trgo,is wrong.

cs c
Associate II

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)

1 ACCEPTED SOLUTION

Accepted Solutions
Imen.D
ST Employee

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

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

View solution in original post

1 REPLY 1
Imen.D
ST Employee

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

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