possible cubemx or library bug?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-07-13 4:05 PM
Posted on July 14, 2016 at 01:05
Hi,
I generated a project that included ADC2. Multimode is set to independent. When I run my project I get an error in MX_ADC2_Init. When I trace it, the problem is in HAL_ADCEx_MultiModeConfigChannel(). At line 2200 in the attached file t it tries to set the slave, using ADC_MULTI_SLAVE, but since it is ADC2 the slave instance is set to NULL. It then immediately tries to access that null on line 2208, causing the function to return an error. Is this a bug, or have I configured something wrong? Ricardo #stm32l4-cubemx-fw1.5.1-adc
Labels:
- Labels:
-
STM32CubeMX
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-07-21 3:37 AM
Posted on July 21, 2016 at 12:37
Hi,
This issue is reported to ST team.You can refer to this [DEAD LINK /public/STe2ecommunities/mcu/Lists/STM32Java/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM32Java/STM32L4%20ADC%20Initialization%20Problem&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000F9A0E3A95BA69146A17C2E80209ADC21¤tviews=15]thread with same problem.ST team is aware about this issue now.RegardsOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-08-25 3:43 AM
Posted on August 25, 2017 at 10:43
Hello
Hassan.Ricardo
,Sorry for the very long delay to answer.
This has been fixed since L4 firmware version 1.5.2. An error is now returning.
Kind regards
Sirma
