STM32f446re
HAL_ADC_Start(&hadc1);
HAL_ADC_PollForConversion(&hadc1,1000);
readValue1 = HAL_ADC_GetValue(&hadc1);
HAL_ADC_Stop(&hadc1);
HAL_Delay(100);
HAL_ADC_Start(&hadc2);
HAL_ADC_PollForConversion(&hadc2,1000);
readValue2 = HAL_ADC_GetValue(&hadc2);
HAL_ADC_Stop(&hadc2);
HAL_Delay(100);
HAL_ADC_Start(&hadc3);
HAL_ADC_PollForConversion(&hadc3,1000);
readValue3 = HAL_ADC_GetValue(&hadc3);
HAL_ADC_Stop(&hadc3);
HAL_Delay(100);
after executing this adc code the read values of readValue1, readValue2 and readValue3
are mutually reading the same value. i.e when i try to change the adc value of readValue3 with pot the other values are also changing
need help here...
thank you.
