Tool/software:
So i am converting six channels.
Rising edge Convst for A B C.
Waiting for BUSY falling interrupt
Setting CS Low
Setting RD Low and reading CH1
Setting RD high and then low and reading CH2 and so on.
Internal Ref with +-4Vref Range selected.
So when i apply 3.3V, I get around adcOutput = ~27340
And when i apply 5V, I get around adcOutput = ~24700
To get float this is what i am doing:
adcValue = int16_t(adcOutput)
float voltage = adcValue * 10/32767;
My question is why i am getting this wrong adcoutput?
And just to mention here that i am doing this on prototype before finalizing the pcb, i have a uC development board and I just connected wires for parallel to adc. And similarly adc is on lqfp64 to dip converter and then wires use to supply voltage and define states for hardware interface. Of course i have placed all the necessary cap on the converter for adc.
And I am not using any RIN or CIN (low pass) to input voltage. Just directly applying voltage to channel pins.