English
Language : 

PIC18F2220 Datasheet, PDF (379/388 Pages) Microchip Technology – 28/40/44-Pin High-Performance, Enhanced Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology
PIC18F2220/2320/4220/4320
M
Master Synchronous Serial Port (MSSP). See MSSP.
Memory Organization ......................................................... 53
Data Memory ............................................................. 59
Program Memory ....................................................... 53
Memory Programming Requirements .............................. 320
Migration from Baseline to Enhanced Devices ................ 370
Migration from High-End to Enhanced Devices ............... 371
Migration from Mid-Range to Enhanced Devices ............. 371
MOVF ............................................................................... 279
MOVFF ............................................................................. 280
MOVLB ............................................................................. 280
MOVLW ............................................................................ 281
MOVWF ........................................................................... 281
MPLAB ASM30 Assembler, Linker, Librarian .................. 300
MPLAB ICD 2 In-Circuit Debugger ................................... 301
MPLAB ICE 2000 High Performance
Universal In-Circuit Emulator ................................... 301
MPLAB ICE 4000 High Performance
Universal In-Circuit Emulator ................................... 301
MPLAB Integrated Development
Environment Software .............................................. 299
MPLINK Object Linker/MPLIB Object Librarian ............... 300
MSSP ............................................................................... 155
Control Registers (General) ..................................... 155
Enabling SPI I/O ...................................................... 159
I2C Master Mode ...................................................... 179
I2C Mode
I2C Slave Mode ........................................................ 168
Operation ................................................................. 158
Overview .................................................................. 155
Slave Select Control ................................................ 161
SPI Master Mode ..................................................... 160
SPI Master/Slave Connection .................................. 159
SPI Mode ................................................................. 155
SPI Slave Mode ....................................................... 161
Typical Connection .................................................. 159
MULLW ............................................................................ 282
MULWF ............................................................................ 282
N
NEGF ............................................................................... 283
NOP ................................................................................. 283
O
Opcode Field Descriptions ............................................... 256
OPTION_REG Register
PSA Bit ..................................................................... 119
T0CS Bit ................................................................... 119
T0PS2:T0PS0 Bits ................................................... 119
T0SE Bit ................................................................... 119
Oscillator Configuration ...................................................... 19
EC .............................................................................. 19
ECIO .......................................................................... 19
HS .............................................................................. 19
HSPLL ........................................................................ 19
Internal Oscillator Block ............................................. 22
INTIO1 ....................................................................... 19
INTIO2 ....................................................................... 19
LP ............................................................................... 19
RC .............................................................................. 19
RCIO .......................................................................... 19
XT .............................................................................. 19
Oscillator Selection .......................................................... 237
Oscillator Start-up Timer (OST) ............................ 27, 44, 237
Oscillator Switching ........................................................... 24
Oscillator Transitions ......................................................... 27
Oscillator, Timer1 ......................................................121, 131
Oscillator, Timer3 ............................................................. 129
P
Packaging Information ..................................................... 361
Marking .............................................................361, 362
Parallel Slave Port (PSP) ..........................................109, 114
Associated Registers ............................................... 115
CS (Chip Select) ...............................................113, 114
PORTD .................................................................... 114
RD (Read Input) ................................................113, 114
RE0/AN5/RD Pin ..................................................... 113
RE1/AN6/WR Pin ..................................................... 113
RE2/AN7/CS Pin ...................................................... 113
Select (PSPMODE Bit) .....................................109, 114
WR (Write Input) ...............................................113, 114
PICkit 1 Flash Starter Kit ................................................. 303
PICSTART Plus Development Programmer .................... 301
PIE Registers ..................................................................... 94
Pin Functions
MCLR/VPP/RE3 ....................................................11, 14
OSC1/CLKI/RA7 ...................................................11, 14
OSC2/CLKO/RA6 .................................................11, 14
RA0/AN0 ...............................................................11, 14
RA1/AN1 ...............................................................11, 14
RA2/AN2/VREF-/CVREF .........................................11, 14
RA3/AN3/VREF+ ...................................................11, 14
RA4/T0CKI/C1OUT ..............................................11, 14
RA5/AN4/SS/LVDIN/C2OUT ................................11, 14
RB0/AN12/INT0 ....................................................12, 15
RB1/AN10/INT1 ....................................................12, 15
RB2/AN8/INT2 ......................................................12, 15
RB3/AN9/CCP2 ....................................................12, 15
RB4/AN11/KBI0 ....................................................12, 15
RB5/KBI1/PGM .....................................................12, 15
RB6/KBI2/PGC .....................................................12, 15
RB7/KBI3/PGD .......................................................... 12
RB7/PGD ................................................................... 15
RC0/T1OSO/T1CKI ..............................................13, 16
RC1/T1OSI/CCP2 .................................................13, 16
RC2/CCP1/P1A ....................................................13, 16
RC3/SCK/SCL ......................................................13, 16
RC4/SDI/SDA .......................................................13, 16
RC5/SDO ..............................................................13, 16
RC6/TX/CK ...........................................................13, 16
RC7/RX/DT ...........................................................13, 16
RD0/PSP0 ................................................................. 17
RD1/PSP1 ................................................................. 17
RD2/PSP2 ................................................................. 17
RD3/PSP3 ................................................................. 17
RD4/PSP4 ................................................................. 17
RD5/PSP5/P1B ......................................................... 17
RD6/PSP6/P1C ......................................................... 17
RD7/PSP7/P1D ......................................................... 17
RE0/AN5/RD .............................................................. 18
RE1/AN6/WR ............................................................. 18
RE2/AN7/CS .............................................................. 18
RE3 ............................................................................ 18
VDD .......................................................................13, 18
VSS .......................................................................13, 18
 2003 Microchip Technology Inc.
DS39599C-page 377