PIC18F4221-I/P Microchip Technology, PIC18F4221-I/P Datasheet - Page 31

IC PIC MCU FLASH 2KX16 400IP

PIC18F4221-I/P

Manufacturer Part Number
PIC18F4221-I/P
Description
IC PIC MCU FLASH 2KX16 400IP
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F4221-I/P

Program Memory Type
FLASH
Program Memory Size
4KB (2K x 16)
Package / Case
40-DIP (0.600", 15.24mm)
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
Eeprom Size
256 x 8
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 13x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC18F
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
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
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
13-ch x 10-bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DVA18XP400 - DEVICE ADAPTER 18F4220 PDIP 40LD444-1001 - DEMO BOARD FOR PICMICRO MCUACICE0206 - ADAPTER MPLABICE 40P 600 MIL
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F4221-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
3.4
For timing insensitive applications, the RC and RCIO
Oscillator modes offer additional cost savings. The
actual oscillator frequency is a function of several
factors:
• supply voltage
• values of the external resistor (R
• operating temperature
Given the same device, operating voltage, temperature
and component values, there will also be unit-to-unit
frequency variations. These are due to factors such as:
• normal manufacturing variation
• difference in lead frame capacitance between
• variations within the tolerance of limits of R
In the RC Oscillator mode, the oscillator frequency
divided by 4 is available on the OSC2 pin. This signal
may be used for test purposes or to synchronize other
logic. Figure 3-5 shows how the R/C combination is
connected.
FIGURE 3-5:
The RCIO Oscillator mode (Figure 3-6) functions like
the RC mode, except that the OSC2 pin becomes an
additional general purpose I/O pin. The I/O pin
becomes bit 6 of PORTA (RA6).
FIGURE 3-6:
© 2009 Microchip Technology Inc.
C
V
C
V
Recommended values: 3 kΩ ≤ R
Recommended values: 3 kΩ ≤ R
capacitor (C
package types (especially for low C
and C
R
R
EXT
SS
EXT
SS
EXT
EXT
V
V
DD
DD
EXT
RC Oscillator
RA6
EXT
F
OSC
)
/4
OSC1
RC OSCILLATOR MODE
RCIO OSCILLATOR MODE
OSC1
PIC18F2221/2321/4221/4321 FAMILY
OSC2/CLKO
I/O (OSC2)
20 pF ≤ C
20 pF ≤ C
EXT
EXT
EXT
EXT
EXT
≤ 100 kΩ
≤ 100 kΩ
≤ 300 pF
≤ 300 pF
EXT
PIC18FXXXX
PIC18FXXXX
) and
values)
Internal
Internal
Clock
Clock
EXT
3.5
A Phase Locked Loop (PLL) circuit is provided as an
option for users who wish to use a lower frequency
oscillator circuit or to clock the device up to its highest
rated frequency from a crystal oscillator. This may be
useful for customers who are concerned with EMI due
to high-frequency crystals or users who require higher
clock speeds from an internal oscillator.
3.5.1
The HSPLL mode makes use of the HS mode oscillator
for frequencies up to 10 MHz. A PLL then multiplies the
oscillator output frequency by 4 to produce an internal
clock frequency up to 40 MHz. The PLLEN bit is not
available when this mode is configured as the primary
clock source.
The PLL is only available to the crystal oscillator when
the FOSC<3:0> Configuration bits are programmed for
HSPLL mode (= 0110).
FIGURE 3-7:
3.5.2
The PLL is also available to the internal oscillator block
when the internal oscillator block is configured as the
primary clock source. In this configuration, the PLL is
enabled in software and generates a clock output of up
to 32 MHz. The operation of INTOSC with the PLL is
described in Section 3.6.4 “PLL in INTOSC Modes”.
OSC2
OSC1
PLL Frequency Multiplier
(from Configuration Register 1H)
HS Oscillator Enable
HS Mode
HSPLL OSCILLATOR MODE
PLL AND INTOSC
Crystal
Osc
PLL Enable
F
F
IN
OUT
÷4
HSPLL BLOCK DIAGRAM
Comparator
Loop
Filter
Phase
VCO
DS39689F-page 31
SYSCLK

Related parts for PIC18F4221-I/P