Skip to main content
Associate II
Nov 19, 2024 2:35 PM UTC
Solved

ADC Injected trigger source not set in LL - STM32CubeIde 1.16.1

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.

This topic has been closed for replies.
ST Technical Moderator
Nov 20, 2024 12:02 PM UTC

Hello @MD_it ,

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.

2 replies

ST Technical Moderator
Nov 19, 2024 3:16 PM UTC

Hello @MD_it ,

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.
ST Technical Moderator
Nov 20, 2024 12:02 PM UTC

Hello @MD_it ,

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.