Hi,
--> read PIC datasheet.
What about debugging?
Instead of looking only at the END values on the LCDisplay you should go step by step.
First measure VCC, FO, REF+, REF- IN+, IN- all with respect to ground.
Show us the values.
you have a 32 bit result from ADC,
* Bits 31...30 are status bits. What do they show?
* Bits 29 is the sign bit. What does it show?
* Bits 28..5 is the conversion result. What does it show? (unchanged. without any correction, just the raw bits)
* bits 4..0 don´t have a meaning.
for calculation you need bits 29 ... 5.
Use a "32 bit signed int" result value.
* put ADC bit 29 into result bit 31
* put ADC bits 28..5 into result bits 30.. 7
* put "0" in result bits 6...0
* invert result bit 31
the 32 bit signed result value range equals the ADC input range.
Klaus