Skip to main content
Remon Dijkstra
Associate II
June 23, 2021
Solved

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

  • June 23, 2021
  • 3 replies
  • 1178 views

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.
Best answer by Khouloud ZEMMELI

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
June 25, 2021

Hello @Remon Dijkstra​ 

Thank you for your post,

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

Khouloud

Remon Dijkstra
Associate II
June 28, 2021

Here is my IOC file.

I renamed it to not reveal our customer.

Khouloud ZEMMELI
Khouloud ZEMMELIBest answer
ST Employee
June 29, 2021

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