PIC18F24J11 MICROCHIP [Microchip Technology], PIC18F24J11 Datasheet - Page 371

no-image

PIC18F24J11

Manufacturer Part Number
PIC18F24J11
Description
28/44-Pin, Low-Power, High-Performance USB Microcontrollers with nanoWatt XLP Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F24J11-I/ML
Manufacturer:
MICROCHIP
Quantity:
49 000
Part Number:
PIC18F24J11-I/SO
Manufacturer:
Microchip Technology
Quantity:
1 960
23.2
The full range of voltage reference cannot be realized
due to the construction of the module. The transistors
on the top and bottom of the resistor ladder network
(see
reference source rails. The voltage reference is derived
from the reference source; therefore, the CV
changes with fluctuations in that source. The tested
absolute accuracy of the voltage reference can be
found in
23.3
The voltage reference module operates independently
of the comparator module. The output of the reference
generator may be connected to the RA2 pin if the
CVROE bit is set. Enabling the voltage reference out-
put onto RA2 when it is configured as a digital input will
increase current consumption. Connecting RA2 as a
digital output with CVRSS enabled will also increase
current consumption.
FIGURE 23-2:
TABLE 23-1:
 2011 Microchip Technology Inc.
CVRCON
CM1CON
CM2CON
TRISA
ANCON0
ANCON1
Legend: — = unimplemented, read as ‘0’, r = reserved. Shaded cells are not used with the comparator voltage
Note 1:
Name
Note 1:
Figure
Section 29.0 “Electrical
Voltage Reference Accuracy/Error
Connection Considerations
reference.
These bits are only available on 44-pin devices.
23-1) keep CV
PCFG7
R is dependent upon the Comparator Voltage Reference Configuration bits, CVRCON<5> and CVRCON<3:0>.
CVREN
TRISA7
VBGEN
CON
CON
Bit 7
REGISTERS ASSOCIATED WITH COMPARATOR VOLTAGE REFERENCE
CV
Module
COMPARATOR VOLTAGE REFERENCE OUTPUT BUFFER EXAMPLE
(1)
PIC18F46J11
REF
PCFG6
REF
CVROE
TRISA6
COE
COE
Bit 6
Impedance
Reference
r
Voltage
from approaching the
Output
R
(1)
Characteristics”.
(1)
PCFG5
TRISA5
CVRR
CPOL
CPOL
Bit 5
RA2
REF
(1)
output
EVPOL1
EVPOL1
PCFG12
CVRSS
PCFG4
Bit 4
EVPOL0
EVPOL0
PCFG11
PIC18F46J11 FAMILY
TRISA3
PCFG3
CVR3
The RA2 pin can be used as a simple D/A output with
limited drive capability. Due to the limited current drive
capability, a buffer must be used on the voltage
reference output for external connections to V
Figure 23-2
23.4
When the device wakes up from Sleep through an
interrupt or a Watchdog Timer time-out, the contents of
the CVRCON register are not affected. To minimize
current consumption in Sleep mode, the voltage
reference should be disabled.
23.5
A device Reset disables the voltage reference by
clearing bit, CVREN (CVRCON<7>). This Reset also
disconnects the reference from the RA2 pin by clearing
bit, CVROE (CVRCON<6>) and selects the high-voltage
range by clearing bit, CVRR (CVRCON<5>). The CVR
value select bits are also cleared.
Bit 3
Operation During Sleep
Effects of a Reset
+
PCFG10
TRISA2
PCFG2
CVR2
CREF
CREF
Bit 2
for an example buffering technique.
TRISA1
PCFG1
PCFG9
CVR1
CCH1
CCH1
CV
Bit 1
REF
Output
TRISA0
PCFG0
PCFG8
CCH0
CCH0
CVR0
Bit 0
DS39932D-page 371
on Page:
Values
REF
Reset
74
70
70
72
74
74
. See

Related parts for PIC18F24J11