PIC18F2220-I/SP Microchip Technology, PIC18F2220-I/SP Datasheet - Page 386
![IC MCU FLASH 2KX16 A/D 28DIP](/photos/6/59/65908/150-28-dip_sml.jpg)
PIC18F2220-I/SP
Manufacturer Part Number
PIC18F2220-I/SP
Description
IC MCU FLASH 2KX16 A/D 28DIP
Manufacturer
Microchip Technology
Series
PIC® 18Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC18F2220-ISO.pdf
(394 pages)
3.PIC18F2220-ISO.pdf
(6 pages)
4.PIC18F2220-ISO.pdf
(6 pages)
5.PIC18F2220-ISO.pdf
(8 pages)
6.PIC18F2220-ISO.pdf
(6 pages)
7.PIC18F2220-ISO.pdf
(6 pages)
8.PIC18F2220-ISP.pdf
(388 pages)
Specifications of PIC18F2220-I/SP
Program Memory Type
FLASH
Program Memory Size
4KB (2K x 16)
Package / Case
28-DIP (0.300", 7.62mm)
Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
25
Eeprom Size
256 x 8
Ram Size
512 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
512 B
Interface Type
SPI/I2C/USART
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
25
Number Of Timers
5
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, ICE4000, ICE2000, DV164136
Minimum Operating Temperature
- 40 C
On-chip Adc
10-ch x 10-bit
Package
28SPDIP
Device Core
PIC
Family Name
PIC18
Maximum Speed
40 MHz
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DVA18XP280 - DEVICE ADAPTER 18F2220 PDIP 28LD
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F2220-I/SP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC18F2220/2320/4220/4320
PORTD
PORTE
Postscaler, WDT
Power-Managed Modes ..................................................... 29
Power-on Reset (POR) .............................................. 44, 237
Power-up Delays ................................................................ 28
Power-up Timer (PWRT) ...................................... 28, 44, 237
Prescaler, Capture ........................................................... 135
Prescaler, Timer0 ............................................................. 119
Prescaler, Timer2 ............................................................. 139
Product Identification System ........................................... 391
Program Counter
Program Memory
Program Memory Code Protection ................................... 253
Program Verification ......................................................... 252
Program Verification and Code Protection
Programming, Device Instructions ................................... 257
PSP. See Parallel Slave Port.
Pulse-Width Modulation. See PWM (CCP Module)
PUSH ............................................................................... 286
PUSH and POP Instructions .............................................. 55
PWM (CCP Module) ......................................................... 138
DS39599G-page 384
Associated Registers ............................................... 110
LATD Register .......................................................... 109
Parallel Slave Port (PSP) Function .......................... 109
PORTD Register ...................................................... 109
TRISD Register ........................................................ 109
Analog Port Pins ...................................................... 113
Associated Registers ............................................... 113
LATE Register .......................................................... 111
PORTE Register ...................................................... 111
PSP Mode Select (PSPMODE Bit) .......................... 109
RE0/AN5/RD Pin ...................................................... 113
RE1/AN6/WR Pin ..................................................... 113
RE2/AN7/CS Pin ...................................................... 113
TRISE Register ........................................................ 111
Assignment (PSA Bit) ............................................... 119
Rate Select (T0PS2:T0PS0 Bits) ............................. 119
Entering ...................................................................... 30
Idle Modes .................................................................. 31
Run Modes ................................................................. 36
Sleep Mode ................................................................ 31
Summary (table) ......................................................... 29
Wake from .................................................................. 38
Assignment (PSA Bit) ............................................... 119
Rate Select (T0PS2:T0PS0 Bits) ............................. 119
PCL Register .............................................................. 56
PCLATH Register ....................................................... 56
PCLATU Register ....................................................... 56
Instructions ................................................................. 58
Interrupt Vector .......................................................... 53
Map and Stack for PIC18F2220/4220 ........................ 53
Map and Stack for PIC18F2320/4320 ........................ 53
Reset Vector .............................................................. 53
Associated Registers ............................................... 252
and PWM (ECCP Module).
Associated Registers ............................................... 139
CCPR1H:CCPR1L Registers ................................... 138
Duty Cycle ................................................................ 138
Example Frequencies/Resolutions ........................... 139
Period ....................................................................... 138
Setup for PWM Operation ........................................ 139
TMR2 to PR2 Match ......................................... 127, 138
Two-Word .......................................................... 58
PWM (ECCP Module) ...................................................... 143
Q
Q Clock ............................................................................ 139
R
RAM. See Data Memory.
RC Oscillator ...................................................................... 21
RCALL ............................................................................. 287
RCON Register
RCSTA Register
Reader Response ............................................................ 390
Register File ....................................................................... 59
Registers
Associated Registers ............................................... 153
Direction Change in Full-Bridge
Effects of a Reset .................................................... 152
Full-Bridge Application Example .............................. 147
Full-Bridge Mode ..................................................... 146
Half-Bridge Mode ..................................................... 145
Half-Bridge Output Mode Applications Example ...... 145
Operation in Power-Managed Modes ...................... 152
Operation with Fail-Safe Clock Monitor ................... 152
Output Configurations .............................................. 143
Output Relationships (Active-High State) ................ 144
Output Relationships (Active-Low State) ................. 144
Programmable Dead-Band Delay ............................ 149
Setup for Operation ................................................. 152
Shoot-Through Current ............................................ 149
Start-up Considerations ........................................... 151
RCIO Oscillator Mode ................................................ 21
Bit Status During Initialization .................................... 45
Bits and Positions ...................................................... 45
SPEN Bit .................................................................. 195
ADCON0 (A/D Control 0) ......................................... 211
ADCON1 (A/D Control 1) ......................................... 212
ADCON2 (A/D Control 2) ......................................... 213
CCP1CON (ECCP Control) ..................................... 141
CCPxCON (CCPx Control) ...................................... 133
CMCON (Comparator Control) ................................ 221
CONFIG1H (Configuration 1 High) .......................... 238
CONFIG2H (Configuration 2 High) .......................... 240
CONFIG2L (Configuration 2 Low) ........................... 239
CONFIG3H (Configuration 3 High) .......................... 241
CONFIG4L (Configuration 4 Low) ........................... 241
CONFIG5H (Configuration 5 High) .......................... 242
CONFIG5L (Configuration 5 Low) ........................... 242
CONFIG6H (Configuration 6 High) .......................... 243
CONFIG6L (Configuration 6 Low) ........................... 243
CONFIG7H (Configuration 7 High) .......................... 244
CONFIG7L (Configuration 7 Low) ........................... 244
CVRCON (Comparator Voltage
DEVID1 (Device ID 1) .............................................. 245
DEVID2 (Device ID 2) .............................................. 245
ECCPAS (Enhanced Capture/Compare/PWM
EECON1 (Data EEPROM Control 1) ....................73, 82
INTCON (Interrupt Control) ........................................ 89
INTCON2 (Interrupt Control 2) ................................... 90
INTCON3 (Interrupt Control 3) ................................... 91
IPR1 (Peripheral Interrupt Priority 1) ......................... 96
IPR2 (Peripheral Interrupt Priority 2) ......................... 97
LVDCON (Low-Voltage Detect Control) .................. 233
OSCCON (Oscillator Control) .................................... 27
Output Mode .................................................... 147
Reference Control) .......................................... 227
Auto-Shutdown Control) .................................. 150
© 2007 Microchip Technology Inc.