2024-11-19 06:35 AM - edited 2024-11-19 08:06 AM
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.
2024-11-19 07:16 AM
Hello @MD ,
First let me thank you for posting.
Your request is under investigation. I will get back to you ASAP.
Thanks.
Mahmoud