Hi,
Am trying to use ADC of MSP430FG6426 i.e CTSD16. I am getting some reading in CTSD16MEM0. However it is not the decimal value corresponding to the input voltage. Here I have used internal reference voltage i.e 1.16V. so I understand that the range will be from-1.16 to 1.16 with 65535 steps as it is 16 bit ADC. Please correct me if am wrong. If i disable the input reference voltage the default reference voltage would be 3Volts
2. I am m not quite sure about the connection's. Like can I provide the floating voltage supply by connecting the ground of the voltage supply to AVSS. I did this however am getting a garbage value in the ADC buffer. Do I mandatorily have to use the potentiometer with same Vcc and GND as the controller
3. I have referred the user guide but it just confuses me more. I just need to use the single-ended ADC input for the project. Do you have any suggestion on the connections. Also I know a formula used for ADC.
(ADC value/vin=65535/Vref.) . Please let me know if anything otherwise.
Can you please provide information on this.
Thanks,
Veena