AnsweredAssumed Answered

STM32L4 ADC HAL Multimode

Question asked by telezhkin.artur on Aug 3, 2016
Latest reply on Jan 13, 2017 by Jeanne Joly
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?

Outcomes