ADC conversion result and negative output

Thread Starter

hunterage2000

Joined May 2, 2010
487
Hi all, I have a pic16F1782 and the ADC conversion result can be supplied in 2 formats, either magnitude or 2's compliment.

Both formats show the decimal range for -4096 to 4096 and their equivalent binary representations. The pic also has the option of differential analog inputs so does this mean I can have a Vref+ of 5V and a Vref- of GND but able to process a negative differential input i.e 0V - 5V = -5V = -4096?
 

simozz

Joined Jul 23, 2017
128
Hello,

The result of the conversion represents the difference between the positive and negative input channels.
For the allowed voltage input levels, see the chapter 30.0 from the DS.
Check also the AN842.

Regards,
simozz
 
Last edited:
Top