2018-11-21 12:32 AM
I want to signal a possible bug in CubeMx version 4.27, in the STM32L4xx HAL library package. In the ADC configuration of the external trigger, the TIM4 TRGO setting does not work.
I think the error is in line 518 of file "stm32l4xx_hal_adc.h". The original is:
#define ADC_EXTERNALTRIG_T4_TRGO (LL_ADC_REG_TRIG_EXT_TIM4_CH4)
but it should be:
#define ADC_EXTERNALTRIG_T4_TRGO (LL_ADC_REG_TRIG_EXT_TIM4_TRGO)
2018-11-22 8:46 AM
Hello @GZini.16 ,
Please note that this typo is reported to our development team to implement the fix in stm32l4xx_hal_adc.h.
Thanks for reporting it.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.