PIC18LF4221-I/ML Microchip Technology, PIC18LF4221-I/ML Datasheet - Page 29

4 KB Flash, 512 RAM 44 QFN 8x8x0.9mm TUBE

PIC18LF4221-I/ML

Manufacturer Part Number
PIC18LF4221-I/ML
Description
4 KB Flash, 512 RAM 44 QFN 8x8x0.9mm TUBE
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18LF4221-I/ML

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
36
Program Memory Size
4KB (2K x 16)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 13x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
44-QFN
Processor Series
PIC18LF
Core
PIC
Data Bus Width
8 bit
Data Ram Size
512 B
Interface Type
EUSART, I2C, MSSP, SPI
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
36
Number Of Timers
4
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, DV164136
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 13 Channel
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
3.0
3.1
The PIC18F2221/2321/4221/4321 family of devices
can be operated in ten different oscillator modes. The
user can program the Configuration bits, FOSC<3:0>,
in Configuration Register 1H to select one of these ten
modes:
1.
2.
3.
4.
5.
6.
7.
8.
9.
10. ECIO
3.2
In XT, LP, HS or HSPLL Oscillator modes, a crystal or
ceramic resonator is connected to the OSC1 and
OSC2 pins to establish oscillation. Figure 3-1 shows
the pin connections.
The oscillator design requires the use of a parallel cut
crystal.
© 2009 Microchip Technology Inc.
Note:
LP
XT
HS
HSPLL High-Speed Crystal/Resonator
RC
RCIO
INTIO1 Internal Oscillator with F
INTIO2 Internal Oscillator with I/O on RA6
EC
OSCILLATOR
CONFIGURATIONS
Oscillator Types
Crystal Oscillator/Ceramic
Resonators
Use of a series cut crystal may give a
frequency out of the crystal manufacturer’s
specifications.
Low-Power Crystal
Crystal/Resonator
High-Speed Crystal/Resonator
with PLL enabled
External Resistor/Capacitor with
F
External Resistor/Capacitor with I/O
on RA6
on RA6 and I/O on RA7
and RA7
External Clock with F
External Clock with I/O on RA6
OSC
/4 output on RA6
PIC18F2221/2321/4221/4321 FAMILY
OSC
OSC
/4 output
/4 output
FIGURE 3-1:
TABLE 3-1:
Capacitor values are for design guidance only.
Different capacitor values may be required to produce
acceptable oscillator operation. The user should test
the performance of the oscillator over the expected
V
to the following application notes for oscillator specific
information:
• AN588, “PIC
• AN826, “Crystal Oscillator Basics and Crystal
• AN849, “Basic PIC
• AN943, “Practical PIC
• AN949, “Making Your Oscillator Work”
See the notes following Table 3-2 for additional
information.
Note 1: See Table 3-1 and Table 3-2 for initial values of
DD
Note:
Mode
Guide”
Selection for rfPIC
Design”
XT
and temperature range for the application. Refer
C1
C2
2: A series resistor (R
3: R
(1)
(1)
Typical Capacitor Values Used:
C1 and C2.
strip cut crystals.
When using resonators with frequencies
above 3.5 MHz, the use of HS mode,
rather than XT mode, is recommended.
HS mode may be used at any V
which the controller is rated. If HS is
selected, it is possible that the gain of the
oscillator will overdrive the resonator.
Therefore, a series resistor may be placed
between the OSC2 pin and the resonator.
As
recommended value of R
F
3.58 MHz
XTAL
R
varies with the oscillator mode chosen.
S
®
Freq
(2)
Microcontroller Oscillator Design
a
CAPACITOR SELECTION FOR
CERAMIC RESONATORS
OSC2
OSC1
®
®
good
CRYSTAL/CERAMIC
RESONATOR OPERATION
(XT, LP, HS OR HSPLL
CONFIGURATION)
and PIC
Oscillator Design”
®
Oscillator Analysis and
S
OSC1
22 pF
) may be required for AT
R
starting
®
F
(3)
Devices”
DS39689F-page 29
S
PIC18FXXXX
is 330Ω.
Sleep
point,
To
OSC2
22 pF
Internal
Logic
DD
the
for

Related parts for PIC18LF4221-I/ML