cancel
Showing results for 
Search instead for 
Did you mean: 

ADC Injected trigger source not set in LL - STM32CubeIde 1.16.1

MD
Associate II

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.

1 REPLY 1
Mahmoud Ben Romdhane
ST Employee

Hello @MD ,

First let me thank you for posting.

Your request is under investigation. I will get back to you ASAP.

Thanks.

Mahmoud