3 years, 12 months ago.

ADC problem nucleo l432kc

Hi, I've a problem with ADC on nucleo l432kc. I connect A0 analogin to 3.3v pin on the board and I read value. Value measured with a multimeter is 3.327v. Returned value is 0.9871. I was expecting 1 as a user manual. Where is the problem? Can anyone help me?

Many Thanks code:

  1. include "mbed.h"

AnalogIn in0(A0);

DigitalOut led(LED1); float in_value=0; int main() {

while(1) {


in_value = in0.read();

printf("in0:%.4f ", in_value);

led = !led;




Question relating to:

Affordable and flexible platform to ease prototyping using a STM32L432KCU6 microcontroller.
Be the first to answer this question.