PIC18LF4520-I/P Microchip Technology, PIC18LF4520-I/P Datasheet - Page 403
![IC MCU FLASH 16KX16 40DIP](/photos/6/61/66192/150-40-dip_sml.jpg)
PIC18LF4520-I/P
Manufacturer Part Number
PIC18LF4520-I/P
Description
IC MCU FLASH 16KX16 40DIP
Manufacturer
Microchip Technology
Series
PIC® 18Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC18F2221-ISO.pdf
(46 pages)
3.PIC18F2420-IML.pdf
(412 pages)
4.PIC18F2420-IML.pdf
(16 pages)
5.PIC18F2420-IML.pdf
(8 pages)
6.PIC18F2420-IML.pdf
(6 pages)
7.PIC18F2420-IML.pdf
(8 pages)
8.PIC18F2420-IML.pdf
(4 pages)
Specifications of PIC18LF4520-I/P
Core Size
8-Bit
Program Memory Size
32KB (16K x 16)
Core Processor
PIC
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
36
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
1.5K 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)
Controller Family/series
PIC18
No. Of I/o's
36
Eeprom Memory Size
256Byte
Ram Memory Size
1.5KB
Cpu Speed
40MHz
No. Of Timers
4
Package
40PDIP
Device Core
PIC
Family Name
PIC18
Maximum Speed
40 MHz
Operating Supply Voltage
2.5|3.3|5 V
Data Bus Width
8 Bit
Number Of Programmable I/os
36
Interface Type
I2C/SPI/USART
On-chip Adc
13-chx10-bit
Number Of Timers
4
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC18LF4520-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC18LF4520-I/PT
Manufacturer:
MICROCHI
Quantity:
20 000
INTCON Registers ........................................................ 93–95
Inter-Integrated Circuit. See I
Internal Oscillator Block.......................................................26
Internal RC Oscillator
Internet Address ................................................................407
Interrupt Sources...............................................................249
Interrupts .............................................................................91
Interrupts, Flag Bits
INTOSC, INTRC. See Internal Oscillator Block.
IORLW...............................................................................290
IORWF ..............................................................................290
IPR Registers ............................................................100–101
L
LFSR .................................................................................291
Low-Voltage ICSP Programming. See Single-Supply
M
Master Clear (MCLR) ..........................................................43
Master Synchronous Serial Port (MSSP). See MSSP.
Memory Organization ..........................................................53
Memory Programming Requirements ...............................337
Microchip Internet Web Site ..............................................407
Migration from High-End to Enhanced Devices ................396
Migration from Mid-Range to Enhanced Devices..............396
MOVF ................................................................................291
MOVFF..............................................................................292
MOVLB..............................................................................292
MOVLW.............................................................................293
MOVSF..............................................................................311
MOVSS .............................................................................312
MOVWF.............................................................................293
DS39631E-page 401
Standard Instructions ................................................267
SUBFWB...................................................................302
SUBLW .....................................................................303
SUBWF .....................................................................303
SUBWFB...................................................................304
SWAPF .....................................................................304
TBLRD ......................................................................305
TBLWT ......................................................................306
TSTFSZ.....................................................................307
XORLW .....................................................................307
XORWF.....................................................................308
Adjustment ..................................................................26
INTIO Modes...............................................................26
INTOSC Frequency Drift .............................................26
INTOSC Output Frequency.........................................26
OSCTUNE Register ....................................................26
PLL in INTOSC Modes................................................26
Use with WDT ...........................................................258
A/D Conversion Complete.........................................227
Capture Complete (CCP) ..........................................141
Compare Complete (CCP) ........................................142
Interrupt-on-Change (RB7:RB4) ...............................108
INTx Pin ....................................................................103
PORTB, Interrupt-on-Change ...................................103
TMR0 ........................................................................103
TMR0 Overflow .........................................................125
TMR1 Overflow .........................................................127
TMR2 to PR2 Match (PWM) ............................. 144, 149
TMR3 Overflow ................................................. 135, 137
Interrupt-on-Change (RB7:RB4) Flag
ICSP Programming
Data Memory...............................................................59
Program Memory ........................................................53
(RBIF Bit) ..........................................................108
2
C.
PIC18F2420/2520/4420/4520
MPLAB ASM30 Assembler, Linker, Librarian ................... 318
MPLAB ICD 2 In-Circuit Debugger ................................... 319
MPLAB ICE 2000 High-Performance
MPLAB Integrated Development
MPLAB PM3 Device Programmer .................................... 319
MPLAB REAL ICE In-Circuit Emulator System................. 319
MPLINK Object Linker/MPLIB Object Librarian ................ 318
MSSP
MULLW ............................................................................. 294
MULWF............................................................................. 294
N
NEGF ................................................................................ 295
NOP .................................................................................. 295
O
Oscillator Configuration....................................................... 23
Oscillator Selection ........................................................... 249
Oscillator Start-up Timer (OST) .................................... 31, 45
Oscillator Switching............................................................. 28
Oscillator Transitions .......................................................... 29
Oscillator, Timer1...................................................... 127, 137
Oscillator, Timer3.............................................................. 135
P
Packaging Information ...................................................... 383
Parallel Slave Port (PSP).......................................... 114, 120
PICSTART Plus Development Programmer ..................... 320
PIE Registers ................................................................ 98–99
Pin Functions
Universal In-Circuit Emulator .................................... 319
Environment Software .............................................. 317
ACK Pulse ........................................................ 174, 175
Control Registers (general)....................................... 161
I
Module Overview ...................................................... 161
SPI Master/Slave Connection ................................... 165
SPI Mode. See SPI Mode.
SSPBUF Register ..................................................... 166
SSPSR Register ....................................................... 166
EC............................................................................... 23
ECIO ........................................................................... 23
HS............................................................................... 23
HSPLL ........................................................................ 23
Internal Oscillator Block .............................................. 26
INTIO1 ........................................................................ 23
INTIO2 ........................................................................ 23
LP ............................................................................... 23
RC............................................................................... 23
RCIO ........................................................................... 23
XT ............................................................................... 23
Details....................................................................... 385
Marking ..................................................................... 383
Associated Registers ................................................ 121
CS (Chip Select) ....................................................... 120
PORTD ..................................................................... 120
RD (Read Input)........................................................ 120
Select (PSPMODE Bit) ..................................... 114, 120
WR (Write Input) ....................................................... 120
MCLR/V
OSC1/CLKI/RA7 ................................................... 12, 16
OSC2/CLKO/RA6 ................................................. 12, 16
RA0/AN0 ............................................................... 13, 17
RA1/AN1 ............................................................... 13, 17
RA2/AN2/V
RA3/AN3/V
2
C Mode. See I
PP
/RE3 .................................................... 12, 16
REF
REF
-/CV
+.................................................... 13, 17
2
C Mode.
REF
© 2008 Microchip Technology Inc.
......................................... 13, 17