PIC18LF27J13-I/SO Microchip Technology, PIC18LF27J13-I/SO Datasheet - Page 388

no-image

PIC18LF27J13-I/SO

Manufacturer Part Number
PIC18LF27J13-I/SO
Description
IC PIC MCU 128KB FLASH 28SOIC
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr

Specifications of PIC18LF27J13-I/SO

Core Size
8-Bit
Program Memory Size
128KB (64K x 16)
Core Processor
PIC
Speed
48MHz
Connectivity
I²C, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
22
Program Memory Type
FLASH
Ram Size
3.8K x 8
Voltage - Supply (vcc/vdd)
2 V ~ 2.75 V
Data Converters
A/D 10x10b/12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
*
Controller Family/series
PIC18
Cpu Speed
48MHz
Digital Ic Case Style
SOIC
Supply Voltage Range
1.8V To 3.6V
Embedded Interface Type
I2C, SPI, USART
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
PIC18F47J13 FAMILY
24.1
The comparator voltage reference module is controlled
through the CVRCON register (Register 24-1). The
comparator voltage reference provides two ranges of
output voltage, each with 16 distinct levels. The range
to be used is selected by the CVRR bit (CVRCON<5>).
The primary difference between the ranges is the size
of the steps selected by the CV
(CVR<3:0>), with one range offering finer resolution.
The equations used to calculate the output of the
comparator voltage reference are as follows:
EQUATION 24-1:
REGISTER 24-1:
DS39974A-page 388
When CVRR = 1 and CVRSS = 0:
CV
When CVRR = 0 and CVRSS = 0:
CV
When CVRR = 1 and CVRSS = 1:
CV
When CVRR = 0 and CVRSS = 1:
CV
bit 7
Legend:
R = Readable bit
-n = Value at POR
bit 7
bit 6
bit 5
bit 4
bit 3-0
Note 1:
REF
REF
REF
REF
CVREN
R/W-0
= ((CVR<3:0>)/24) x (AV
= (CV
= ((CVR<3:0>)/24) x ((V
= (CV
Configuring the Comparator
Voltage Reference
RSRC
RSRC
CVROE overrides the TRIS bit setting.
CVREN: Comparator Voltage Reference Enable bit
1 = CV
0 = CV
CVROE: Comparator V
1 = CV
0 = CV
CVRR: Comparator V
1 = 0 to 0.667 CV
0 = 0.25 CV
CVRSS: Comparator V
1 = Comparator reference source, CV
0 = Comparator reference source, CV
CVR<3:0>: Comparator V
When CVRR = 1:
CV
When CVRR = 0:
CV
/4) + ((CVR<3:0>)/32) x (AV
/4) + ((CVR<3:0>)/32) x ((V
CVROE
REF
REF
R/W-0
CALCULATING OUTPUT
OF THE COMPARATOR
VOLTAGE REFERENCE
CVRCON: COMPARATOR VOLTAGE REFERENCE CONTROL REGISTER (F53h)
= ((CVR<3:0>)/24)  (CV
= (CV
REF
REF
REF
REF
(1)
REF
circuit is powered on
circuit is powered down
voltage level is also output on the RA2/AN2//C2INB/C1IND/C3INB/V
voltage is disconnected from the RA2/AN2//C2INB/C1IND/C3INB/V
DD
RSRC
RSRC
+) – V
W = Writable bit
‘1’ = Bit is set
- AV
R/W-0
CVRR
/4) + ((CVR<3:0>)/32)  (CV
RSRC
to 0.75 CV
SS
REF
REF
)
REF
-)
REF
REF
REF
with CV
DD
Selection bits
Range Selection bit
REF
+) – V
- AV
Source Selection bit
Output Enable bit
RSRC
Value Selection bits (0  (CVR<3:0>)  15)
SS
REF
RSRC
CVRSS
RSRC
)
R/W-0
-)
with CV
Preliminary
/24 step size (low range)
)
RSRC
RSRC
RSRC
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
= (V
= AV
(1)
RSRC
R/W-0
/32 step size (high range)
CVR3
The comparator reference supply voltage can come
from either V
V
voltage source is selected by the CVRSS bit
(CVRCON<4>).
The settling time of the comparator voltage reference
must be considered when changing the CV
output (see Table 30-2 in Section 30.0 “Electrical
Characteristics”).
REF
DD
REF
)
+) – (V
– AV
- that are multiplexed with RA2 and RA3. The
SS
REF
DD
-)
R/W-0
CVR2
and V
SS
 2010 Microchip Technology Inc.
x = Bit is unknown
, or the external V
R/W-0
CVR1
REF
REF
-/CV
-/CV
REF
REF
pin
R/W-0
CVR0
pin
REF
+ and
bit 0
REF

Related parts for PIC18LF27J13-I/SO