CubeMX adc rank number bug
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-05-30 5:33 AM
Hello there,
When configuring an ADC periph (STM32L452) the ranks are assigned incorrectly. Cube generates this:
sConfig.Rank = 1;
sConfig.Rank = 2;
// etc
Instead of this:
sConfig.Rank = ADC_REGULAR_RANK_1;
sConfig.Rank = ADC_REGULAR_RANK_2;
// etc
Thus, it doesnt work.
DAHMEN.IMEN
‌#adc #stm32l4 #cubemx- Labels:
-
ADC
-
STM32CubeMX
-
STM32L4 series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-05-30 5:51 AM
Hello
Przenioslo.Lukasz
,Please update the STM32CubeMX version to use V4.1 and check that this issue is reproduced with the latest version.
If your problem still persists, please share your .ioc file.
With Regards,
Imen.
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-05-30 7:19 AM
Hi
Przenioslo.Lukasz
‌,You can switch to 4.1, it is OK
Regards,
Houda
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-05-30 7:54 AM
The thing is that learned by experience, I dont update the cube when new version comes, because they are always bugged. If this bug is fixed in that version, without breaking other functionalities (they do this most of the time) then I shall update. Is there any changelog providing information that this bug was fixed there?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-05-31 11:37 PM
Hello,
Thank you for answer. This exact bug is indeed fixed in 4.25.1. Now we need to check either the rest of the code was not altered in a negative way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-06-01 12:26 AM
houda.ghabri
‌DAHMEN.IMEN
‌ Just so you know, when imported the project from cube 4.0 to 4.1, all my internal pull-ups on all uart periph lines got removed: