Have: STM32L151C8xxA Get VREFINT trouble (VREFINT voltage drifts depended on external power supply), how to get REAL input voltage?
Code for prepare MCU ADhadc.Instance = ADC1; hadc.Init.ClockPrescaler = ADC_CLOCK_ASYNC_DIV2; hadc.Init.Resolution = ADC_RESOLUTION_12B; hadc.Init.DataAlign = ADC_DATAALIGN_RIGHT; hadc.Init.ScanConvMode = ADC_SCAN_DISABLE; hadc.Init.EOCSele...