Skip to main content
Remon Dijkstra
Associate II
Jun 23, 2021 1:43 PM UTC
Solved

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

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).

This topic has been closed for replies.
Khouloud ZEMMELI
Khouloud ZEMMELIBest answer
ST Employee
Jun 29, 2021 9:27 AM UTC

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

3 replies

Khouloud ZEMMELI
ST Employee
Jun 25, 2021 2:31 PM UTC

Hello @Remon Dijkstra​ 

Thank you for your post,

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

Khouloud

Remon Dijkstra
Associate II
Jun 28, 2021 8:10 AM UTC

Here is my IOC file.

I renamed it to not reveal our customer.

Khouloud ZEMMELI
Khouloud ZEMMELIBest answer
ST Employee
Jun 29, 2021 9:27 AM UTC

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