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 ACCEPTED SOLUTION

Accepted Solutions

Hello @MD ,

The issue is confirmed, and it will be investigated by the STM32cubeMX team (Internal ticket number: 196636),

Thanks.

Mahmoud

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.

View solution in original post

2 REPLIES 2
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

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.

Hello @MD ,

The issue is confirmed, and it will be investigated by the STM32cubeMX team (Internal ticket number: 196636),

Thanks.

Mahmoud

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.