PIC18LF4420-I/P Microchip Technology, PIC18LF4420-I/P Datasheet - Page 404
![IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,DIP,40PIN,PLASTIC](/photos/6/61/66192/150-40-dip_sml.jpg)
PIC18LF4420-I/P
Manufacturer Part Number
PIC18LF4420-I/P
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,DIP,40PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 18Fr
Datasheets
1.PIC18F2221-ISO.pdf
(46 pages)
2.PIC18F2420-IML.pdf
(412 pages)
3.PIC18F2420-IML.pdf
(16 pages)
4.PIC18F2420-IML.pdf
(8 pages)
5.PIC18F2420-IML.pdf
(6 pages)
6.PIC18F2420-IML.pdf
(8 pages)
7.PIC18F2420-IML.pdf
(4 pages)
Specifications of PIC18LF4420-I/P
Rohs Compliant
YES
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
16KB (8K x 16)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
768 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
40-DIP (0.600", 15.24mm)
Processor Series
PIC18LF
Core
PIC
Data Bus Width
8 bit
Data Ram Size
768 B
Interface Type
MSSP, SPI, I2C, PSP, USART
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
36
Number Of Timers
1 x 8
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 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC18LF4420-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC18F2420/2520/4420/4520
Pinout I/O Descriptions
PIR Registers ................................................................ 96–97
PLL Frequency Multiplier .................................................... 25
POP................................................................................... 296
POR. See Power-on Reset.
PORTA
PORTB
PORTC
PORTD
DS39631E-page 402
RA4/T0CKI/C1OUT............................................... 13, 17
RA5/AN4/SS/HLVDIN/C2OUT .............................. 13, 17
RB0/INT0/FLT0/AN12 ........................................... 14, 18
RB1/INT1/AN10 .................................................... 14, 18
RB2/INT2/AN8 ...................................................... 14, 18
RB3/AN9/CCP2 .................................................... 14, 18
RB4/KBI0/AN11 .................................................... 14, 18
RB5/KBI1/PGM ..................................................... 14, 18
RB6/KBI2/PGC ..................................................... 14, 18
RB7/KBI3/PGD ..................................................... 14, 18
RC0/T1OSO/T13CKI ............................................ 15, 19
RC1/T1OSI/CCP2 ................................................. 15, 19
RC2/CCP1 .................................................................. 15
RC2/CCP1/P1A .......................................................... 19
RC3/SCK/SCL ...................................................... 15, 19
RC4/SDI/SDA ....................................................... 15, 19
RC5/SDO .............................................................. 15, 19
RC6/TX/CK ........................................................... 15, 19
RC7/RX/DT ........................................................... 15, 19
RD0/PSP0................................................................... 20
RD1/PSP1................................................................... 20
RD2/PSP2................................................................... 20
RD3/PSP3................................................................... 20
RD4/PSP4................................................................... 20
RD5/PSP5/P1B........................................................... 20
RD6/PSP6/P1C........................................................... 20
RD7/PSP7/P1D........................................................... 20
RE0/RD/AN5 ............................................................... 21
RE1/WR/AN6 .............................................................. 21
RE2/CS/AN7 ............................................................... 21
V
V
PIC18F2420/2520....................................................... 12
PIC18F4420/4520....................................................... 16
HSPLL Oscillator Mode............................................... 25
Use with INTOSC........................................................ 25
Associated Registers ................................................ 107
LATA Register........................................................... 105
PORTA Register ....................................................... 105
TRISA Register ......................................................... 105
Associated Registers ................................................ 110
LATB Register........................................................... 108
PORTB Register ....................................................... 108
RB7:RB4 Interrupt-on-Change Flag
TRISB Register ......................................................... 108
Associated Registers ................................................ 113
LATC Register .......................................................... 111
PORTC Register ....................................................... 111
RC3/SCK/SCL Pin .................................................... 175
TRISC Register ......................................................... 111
Associated Registers ................................................ 116
LATD Register .......................................................... 114
Parallel Slave Port (PSP) Function ........................... 114
PORTD Register ....................................................... 114
TRISD Register ......................................................... 114
DD
SS
........................................................................ 15, 21
........................................................................ 15, 21
(RBIF Bit) .......................................................... 108
PORTE
Power-Managed Modes...................................................... 33
Power-on Reset (POR)....................................................... 43
Power-up Delays ................................................................ 31
Power-up Timer (PWRT) .................................................... 31
Prescaler
Prescaler, Timer0 ............................................................. 125
Prescaler, Timer2 ............................................................. 145
PRI_IDLE Mode.................................................................. 38
PRI_RUN Mode .................................................................. 34
Program Counter ................................................................ 54
Program Memory
Program Verification and Code Protection ....................... 263
Programming, Device Instructions.................................... 267
PSP. See Parallel Slave Port.
Pulse-Width Modulation. See PWM (CCP Module)
PUSH................................................................................ 296
PUSH and POP Instructions............................................... 55
PUSHL.............................................................................. 312
Associated Registers ................................................ 119
LATE Register .......................................................... 117
PORTE Register ....................................................... 117
PSP Mode Select (PSPMODE Bit) ........................... 114
TRISE Register......................................................... 117
and A/D Operation .................................................... 230
and EUSART Operation ........................................... 205
and Multiple Sleep Commands................................... 34
and PWM Operation ................................................. 159
and SPI Operation .................................................... 169
Clock Transitions and Status Indicators ..................... 34
Effects on Clock Sources............................................ 31
Entering ...................................................................... 33
Exiting Idle and Sleep Modes ..................................... 39
Idle Modes .................................................................. 37
Run Modes ................................................................. 34
Selecting ..................................................................... 33
Sleep Mode ................................................................ 37
Summary (table) ......................................................... 33
Power-up Timer (PWRT) ............................................ 45
Time-out Sequence .................................................... 45
Timer2 ...................................................................... 150
PCL, PCH and PCU Registers ................................... 54
PCLATH and PCLATU Registers ............................... 54
and Extended Instruction Set ..................................... 72
Code Protection ........................................................ 264
Instructions ................................................................. 58
Interrupt Vector ........................................................... 53
Look-up Tables ........................................................... 56
Map and Stack (diagram) ........................................... 53
Reset Vector ............................................................... 53
Associated Registers ................................................ 263
and PWM (ECCP Module).
by Interrupt ......................................................... 39
by Reset ............................................................. 39
by WDT Time-out ............................................... 39
Without a Start-up Delay .................................... 40
PRI_IDLE............................................................ 38
RC_IDLE ............................................................ 39
SEC_IDLE .......................................................... 38
PRI_RUN............................................................ 34
RC_RUN............................................................. 35
SEC_RUN .......................................................... 34
Two-Word ........................................................... 58
© 2008 Microchip Technology Inc.