2016-08-03 06:14 AM
Hello! I am trying to start ADC2 on stm32l476, but it always goes to error handler
multimode.Mode = ADC_MODE_INDEPENDENT; if (HAL_ADCEx_MultiModeConfigChannel(&hadc2, &multimode) != HAL_OK) { Error_Handler(); } This condition never return true if ( (ADC_IS_CONVERSION_ONGOING_REGULAR(hadc) == RESET) && (ADC_IS_CONVERSION_ONGOING_REGULAR(&tmphadcSlave) == RESET) ) I checked bits in registers but they are ok. Can you tell me thats wrong?Solved! Go to Solution.
2017-01-13 06:48 AM
Hello
telezhkin.artur,
This issue is solved in CubeMX4.18.
Please, upgrade CubeMX to avoid having this issue.
BR. Eric
2016-08-18 08:03 AM
Hi telezhkin.artur,
I think that this is the same issue as the one highlighted in [DEAD LINK /public/STe2ecommunities/mcu/Lists/STM32Java/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM32Java/STM32L4%20ADC%20Initialization%20Problem&FolderCTID¤tviews=53]this thread. A workaround is already suggested there.We will try to get it fixed soon.-Mayla-To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2017-01-13 06:48 AM
Hello
telezhkin.artur,
This issue is solved in CubeMX4.18.
Please, upgrade CubeMX to avoid having this issue.
BR. Eric