This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

doubts regarding adc operation

I have written the code for adc operation in msp4305418A. I have configured the registers for 12 bit resolution and 2.5v reference, mclk and sample and hold time as maximum.I am getting 3168 as the converted answer, the expected answer is according to the formula 4095* vin/vref, vin=acc/2=1.5 ie, result= 2457. When i change the sample and hold time, the result is varying. The given formula holds good for what configuration of registers?

**Attention** This is a public forum