Solved
ADC Injected trigger source not set in LL - STM32CubeIde 1.16.1
- November 19, 2024
- 1 reply
- 767 views
Hello,
my injected Adc sequence was not being triggered, and I found that the cause is that, with LL driver, the trigger source is not being set by the CubeMX code generation.
I had to add this line in the main code:
LL_ADC_INJ_SetTriggerSource(ADC1,LL_ADC_INJ_TRIG_EXT_TIM1_CH4);
I am testing on a Nucleo L432KC
P.S. I have fitted SB17 to have the 8MHz clock in from the STLInk. Otherwise, to use a default solder bridge configuration, the clock source in the IOC file needs to change.
