PIC18F4220-I/ML Microchip Technology, PIC18F4220-I/ML Datasheet - Page 385
![IC MCU FLASH 2KX16 EEPROM 44QFN](/photos/6/81/68122/150-44-qfn_sml.jpg)
PIC18F4220-I/ML
Manufacturer Part Number
PIC18F4220-I/ML
Description
IC MCU FLASH 2KX16 EEPROM 44QFN
Manufacturer
Microchip Technology
Series
PIC® 18Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC18F1320-ISS.pdf
(36 pages)
3.PIC18F2220-ISO.pdf
(394 pages)
4.PIC18F2220-ISO.pdf
(6 pages)
5.PIC18F2220-ISO.pdf
(6 pages)
6.PIC18F2220-ISO.pdf
(8 pages)
7.PIC18F2220-ISO.pdf
(6 pages)
8.PIC18F2220-ISO.pdf
(6 pages)
Specifications of PIC18F4220-I/ML
Core Size
8-Bit
Program Memory Size
4KB (2K x 16)
Core Processor
PIC
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
36
Program Memory Type
FLASH
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
Package / Case
44-QFN
Controller Family/series
PIC18
No. Of I/o's
36
Eeprom Memory Size
256Byte
Ram Memory Size
512Byte
Cpu Speed
40MHz
No. Of Timers
4
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With
XLT44QFN2 - SOCKET TRAN ICE 44QFN/40DIPAC164322 - MODULE SOCKET MPLAB PM3 28/44QFN444-1001 - DEMO BOARD FOR PICMICRO MCU
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
MPLINK Object Linker/MPLIB Object Librarian ............... 302
MSSP ............................................................................... 155
MULLW ............................................................................ 284
MULWF ............................................................................ 284
N
NEGF ............................................................................... 285
NOP ................................................................................. 285
O
Opcode Field Descriptions ............................................... 258
Oscillator Configuration ...................................................... 19
Oscillator Selection .......................................................... 237
Oscillator Start-up Timer (OST) ............................28, 44, 237
Oscillator Switching ............................................................ 25
Oscillator Transitions .......................................................... 28
Oscillator, Timer1 ..................................................... 121, 131
Oscillator, Timer3 ............................................................. 129
P
Packaging Information ..................................................... 365
Parallel Slave Port (PSP) ......................................... 109, 114
PICSTART Plus Development Programmer .................... 304
PIE Registers ..................................................................... 94
Pin Functions
© 2007 Microchip Technology Inc.
Control Registers (General) ..................................... 155
Enabling SPI I/O ...................................................... 159
I
I
I
I
Operation ................................................................. 158
Overview .................................................................. 155
Slave Select Control ................................................ 161
SPI Master Mode ..................................................... 160
SPI Master/Slave Connection .................................. 159
SPI Mode ................................................................. 155
SPI Slave Mode ....................................................... 161
SSPBUF Register .................................................... 160
SSPSR Register ...................................................... 160
TMR2 Output for Clock Shift ............................ 127, 128
Typical Connection .................................................. 159
EC .............................................................................. 19
ECIO .......................................................................... 19
HS .............................................................................. 19
HSPLL ........................................................................ 19
Internal Oscillator Block ............................................. 22
INTIO1 ....................................................................... 19
INTIO2 ....................................................................... 19
LP ............................................................................... 19
RC .............................................................................. 19
RCIO .......................................................................... 19
XT .............................................................................. 19
Details ...................................................................... 367
Marking ............................................................ 365, 366
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
MCLR/Vpp/RE3 ................................................... 11, 14
OSC1/CLKI/RA7 .................................................. 11, 14
2
2
2
2
C Master Mode ...................................................... 179
C Mode
C Mode. See I
C Slave Mode ........................................................ 168
2
C
PIC18F2220/2320/4220/4320
Pinout I/O Descriptions
PIR Registers ..................................................................... 92
PLL Lock Time-out ............................................................. 44
Pointer, FSRn .................................................................... 66
POP ................................................................................. 286
POR. See Power-on Reset.
PORTA
PORTB
PORTC
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
V
Vss ........................................................................13, 18
PIC18F2220/2320 ..................................................... 11
PIC18F4220/4320 ..................................................... 14
Associated Registers ............................................... 103
LATA Register ......................................................... 101
PORTA Register ...................................................... 101
TRISA Register ........................................................ 101
Associated Registers ............................................... 106
LATB Register ......................................................... 104
PORTB Register ...................................................... 104
RB7:RB4 Interrupt-on-Change Flag (RBIF Bit) ........ 104
TRISB Register ........................................................ 104
Associated Registers ............................................... 108
LATC Register ......................................................... 107
PORTC Register ...................................................... 107
TRISC Register ........................................................ 107
DD
.......................................................................13, 18
DS39599G-page 383