PIC18F27J53T-I/SO Microchip Technology, PIC18F27J53T-I/SO Datasheet - Page 416

no-image

PIC18F27J53T-I/SO

Manufacturer Part Number
PIC18F27J53T-I/SO
Description
28-pin, USB, 128KB Flash, 4KB RAM, 12 MIPS, 12-bit ADC, NanoWatt XLP 28 SOIC .30
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr
Datasheets

Specifications of PIC18F27J53T-I/SO

Core Processor
PIC
Core Size
8-Bit
Speed
48MHz
Connectivity
I²C, LIN, SPI, UART/USART, USB
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
22
Program Memory Size
128KB (64K x 16)
Program Memory Type
FLASH
Ram Size
3.8K x 8
Voltage - Supply (vcc/vdd)
2.15 V ~ 3.6 V
Data Converters
A/D 10x10b/12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
*
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
3.8 KB
Interface Type
I2C, SPI, USART
Maximum Clock Frequency
48 MHz
Number Of Programmable I/os
16
Number Of Timers
8
Operating Supply Voltage
2.15 V to 3.6 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
Minimum Operating Temperature
- 40 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / Rohs Status
 Details
PIC18F47J53 FAMILY
25.1
The comparator voltage reference module is controlled
through the CVRCON register (Register 25-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 25-1:
REGISTER 25-1:
DS39964B-page 416
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 (CV
= (CV
= ((CVR<3:0>)/24) x (CV
= (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 (CV
/4) + ((CVR<3:0>)/32) x (CV
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)
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
RSRC
RSRC
RSRC
RSRC
W = Writable bit
‘1’ = Bit is set
)
) + V
R/W-0
CVRR
/4) + ((CVR<3:0>)/32)  (CV
RSRC
to 0.75 CV
REF
REF
REF
REF
REF
-
with CV
RSRC
RSRC
Selection bits
Range Selection bit
REF
Source Selection bit
Output Enable bit
)
) +V
RSRC
Value Selection bits (0  (CVR<3:0>)  15)
RSRC
REF
CVRSS
RSRC
R/W-0
with CV
-)
/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 31-2 in Section 31.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 PIC18F27J53T-I/SO