PIC18F2525-I/SO Microchip Technology, PIC18F2525-I/SO Datasheet - Page 241

IC MCU FLASH 24KX16 28SOIC

PIC18F2525-I/SO

Manufacturer Part Number
PIC18F2525-I/SO
Description
IC MCU FLASH 24KX16 28SOIC
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F2525-I/SO

Program Memory Type
FLASH
Program Memory Size
48KB (24K x 16)
Package / Case
28-SOIC (7.5mm Width)
Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
25
Eeprom Size
1K x 8
Ram Size
3.8K x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 10x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
3986 B
Interface Type
SPI, I2C, EUSART
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
25
Number Of Timers
1 x 8
Operating Supply Voltage
4.2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, ICE4000, DM163022, DV164136
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit
Package
28SOIC W
Device Core
PIC
Family Name
PIC18
Maximum Speed
40 MHz
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT28SO-1 - SOCKET TRANSITION 28SOIC 300MILI3DB18F4620 - BOARD DAUGHTER ICEPIC3
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F2525-I/SO
Manufacturer:
HITTITE
Quantity:
101
21.0
The comparator voltage reference is a 16-tap resistor
ladder network that provides a selectable reference
voltage. Although its primary purpose is to provide a
reference for the analog comparators, it may also be
used independently of them.
A block diagram of the module is shown in Figure 21-1.
The resistor ladder is segmented to provide two ranges
of CV
conserve power when the reference is not being used.
The module’s supply reference can be provided from
either device V
21.1
The voltage reference module is controlled through the
CVRCON register (Register 21-1). The comparator
voltage reference provides two ranges of output
voltage, each with 16 distinct levels. The range to be
REGISTER 21-1:
© 2008 Microchip Technology Inc.
bit 7
Legend:
R = Readable bit
-n = Value at POR
bit 7
bit 6
bit 5
bit 4
bit 3-0
Note 1:
CVREN
R/W-0
REF
COMPARATOR VOLTAGE
REFERENCE MODULE
Configuring the Comparator
Voltage Reference
values and has a power-down function to
CVROE overrides the TRISA<2> bit setting.
DD
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
CVR3:CVR0: Comparator V
When CVRR = 1:
CV
When CVRR = 0:
CV
CVROE
/V
REF
REF
R/W-0
SS
or an external voltage reference.
CVRCON: COMPARATOR VOLTAGE REFERENCE CONTROL REGISTER
= ((CVR3:CVR0)/24) • (CV
= (CV
REF
REF
REF
REF
(1)
voltage is disconnected from the RA2/AN2/V
circuit powered on
circuit powered down
voltage level is also output on the RA2/AN2/V
RSRC
RSRC
W = Writable bit
‘1’ = Bit is set
R/W-0
CVRR
/4) + ((CVR3:CVR0)/32) • (CV
RSRC
to 0.75 CV
REF
REF
REF
, with CV
Range Selection bit
Source Selection bit
Output Enable bit
REF
RSRC
PIC18F2525/2620/4525/4620
CVRSS
RSRC
Value Selection bits (0 ≤ (CVR3:CVR0) ≤ 15)
R/W-0
, with CV
RSRC
/24 step size (low range)
RSRC
RSRC
)
RSRC
= (V
= V
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
(1)
R/W-0
DD
CVR3
used is selected by the CVRR bit (CVRCON<5>). The
primary difference between the ranges is the size of the
steps
(CVR3:CVR0), with one range offering finer resolution.
The equations used to calculate the output of the
comparator voltage reference are as follows:
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
Characteristics”).
output (see Table 26-3 in Section 26.0 “Electrical
/32 step size (high range)
REF
RSRC
REF
– V
+) – (V
If CVRR = 1:
CV
If CVRR = 0:
CV
CV
- that are multiplexed with RA2 and RA3. The
)
SS
REF
REF
RSRC
selected
REF
REF
REF
= (CV
= ((CVR3:CVR0)/24) x CV
-/CV
)
-/CV
DD
-)
R/W-0
CVR2
REF
and V
RSRC
REF
by
pin
pin
x 1/4) + (((CVR3:CVR0)/32) x
SS
the
, or the external V
x = Bit is unknown
R/W-0
CVR1
CV
REF
DS39626E-page 239
RSRC
selection
R/W-0
CVR0
REF
+ and
bit 0
REF
bits

Related parts for PIC18F2525-I/SO