English
Language : 

PIC24FV32KA304_1 Datasheet, PDF (224/320 Pages) Microchip Technology – 20/28/44/48-Pin, General Purpose, 16-Bit Flash Microcontrollers with XLP Technology
PIC24FV32KA304 FAMILY
22.3 Transfer Function
The transfer functions of the A/D Converter in 12-bit
resolution are shown in Figure 22-3. The difference of
the input voltages, (VINH – VINL), is compared to the
reference, ((VR+) – (VR-)).
• The first code transition occurs when the input
voltage is ((VR+) – (VR-))/4096 or 1.0 LSb.
• The 0000 0000 0001 code is centered at
VR- + (1.5 * ((VR+) – (VR-))/4096).
• The 0010 0000 0000 code is centered at
VREFL + (2048.5 * ((VR+) – (VR-))/4096).
• An input voltage less than VR- + (((VR-) –
(VR-))/4096) converts as 0000 0000 0000.
• An input voltage greater than (VR-) + (1023 ((VR+) –
(VR-))/4096) converts as 1111 1111 1111.
FIGURE 22-3:
12-BIT A/D TRANSFER FUNCTION
Output Code
(Binary (Decimal))
1111 1111 1111 (4095)
1111 1111 1110 (4094)
0010 0000 0011 (2051)
0010 0000 0010 (2050)
0010 0000 0001 (2049)
0010 0000 0000 (2048)
0001 1111 1111 (2047)
0001 1111 1110 (2046)
0001 1111 1101 (2045)
0000 0000 0001 (1)
0000 0000 0000 (0)
Voltage Level
DS39995B-page 224
 2011 Microchip Technology Inc.