Part Number: MSP432P401R
Hi!
I'm trying to send through UART the ADC sample value converted to float. I read this post:

However, I can't figure out which value I could get. I read from page 12 of DriverLib manual that if I set my ADC with 14 bit resolution and a positive reference of 2.5V (and a negative 0V), the conversion value of 16383 corresponds to 2.5V in unsigned mode. I would like to ask you two questions:
1) if I receive as ADC value an uint16_t, it means that I’m in unsigned mode?
2) As from your example in Resource Explorer, I set the reference voltage to 2.5V with these lines
//![Simple REF Example]
/* Setting reference voltage to 2.5 and enabling reference */
MAP_REF_A_setReferenceVoltage(REF_A_VREF2_5V);
MAP_REF_A_enableReferenceVoltage();
//![Simple REF Example]
and then I configured my ADC with
MAP_ADC14_configureConversionMemory(ADC_MEM0, ADC_VREFPOS_INTBUF_VREFNEG_VSS,ADC_INPUT_A0, false);
With this line of code I set the voltage range of the ADC among 0 and 2.5V? (and then I will have a non negative values in output?)
Thank you,
Best regards,
Mattia Ducci

