cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H7 ADC3 (LL) code generator does not generate code for INJected channel config CubeIDE 1.6.1

Remon Dijkstra
Associate II

This is the code that is missing (and i had to add myself):

ADC_INJ_InitStruct.TriggerSource = LL_ADC_INJ_TRIG_SOFTWARE;
ADC_INJ_InitStruct.SequencerLength = 2;
ADC_INJ_InitStruct.SequencerDiscont = LL_ADC_INJ_SEQ_DISCONT_DISABLE;
ADC_INJ_InitStruct.TrigAuto = LL_ADC_INJ_TRIG_INDEPENDENT;
LL_ADC_INJ_Init(ADC3, &ADC_INJ_InitStruct);

(The HAL code generator does this correctly).

1 ACCEPTED SOLUTION

Accepted Solutions

Hi again @Remon Dijkstra​ ,

You're right, I reproduced the issue and it will be fixed.

Thanks for raising the problem to our attention and for your contribution.

Khouloud

View solution in original post

3 REPLIES 3
Khouloud ZEMMELI
ST Employee

Hello @Remon Dijkstra​ 

Thank you for your post,

Could you please share your ioc file to check your case?

Khouloud

Remon Dijkstra
Associate II

Here is my IOC file.

I renamed it to not reveal our customer.

Hi again @Remon Dijkstra​ ,

You're right, I reproduced the issue and it will be fixed.

Thanks for raising the problem to our attention and for your contribution.

Khouloud