STM32H7 ADC3 (LL) code generator does not generate code for INJected channel config
CubeIDE 1.6.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-23 6:43 AM
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).
Solved! Go to Solution.
- Labels:
-
Bug-report
-
STM32CubeMX
-
STM32H7 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-29 2:27 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-25 7:31 AM
Hello @Remon Dijkstra​
Thank you for your post,
Could you please share your ioc file to check your case?
Khouloud
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-28 1:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-29 2:27 AM
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
