PIC18LF4520-I/P Microchip Technology, PIC18LF4520-I/P Datasheet - Page 399
![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
INDEX
A
A/D ....................................................................................223
Absolute Maximum Ratings...............................................321
AC (Timing) Characteristics ..............................................340
AC Characteristics
Access Bank
ACKSTAT..........................................................................191
ACKSTAT Status Flag.......................................................191
ADCON0 Register .............................................................223
ADCON1 Register .............................................................223
ADCON2 Register .............................................................223
ADDFSR............................................................................310
ADDLW .............................................................................273
ADDULNK .........................................................................310
ADDWF .............................................................................273
ADDWFC...........................................................................274
ADRESH Register .............................................................223
ADRESL Register...................................................... 223, 226
Analog-to-Digital Converter. See A/D.
ANDLW .............................................................................274
ANDWF .............................................................................275
Assembler
Auto-Wake-up on Sync Break Character ..........................214
B
Bank Select Register (BSR) ................................................59
Baud Rate Generator ........................................................187
BC .....................................................................................275
BCF ...................................................................................276
BF......................................................................................191
BF Status Flag...................................................................191
DS39631E-page 397
Acquisition Requirements .........................................228
ADCON0 Register.....................................................223
ADCON1 Register.....................................................223
ADCON2 Register.....................................................223
ADRESH Register............................................. 223, 226
ADRESL Register .....................................................223
Analog Port Pins, Configuring ...................................230
Associated Registers ................................................232
Configuring the Module .............................................227
Conversion Clock (T
Conversion Status (GO/DONE Bit) ...........................226
Conversions ..............................................................231
Converter Characteristics..........................................359
Converter Interrupt, Configuring................................227
Discharge ..................................................................231
Operation in Power-Managed Modes .......................230
Selecting and Configuring Acquisition Time..............229
Special Event Trigger (CCP) .....................................232
Special Event Trigger (ECCP) ..................................148
Use of the CCP2 Trigger ...........................................232
Load Conditions for Device
Parameter Symbology...............................................340
Temperature and Voltage Specifications ..................341
Timing Conditions .....................................................341
Internal RC Accuracy ................................................343
Mapping with Indexed Literal Offset Mode ..................72
GO/DONE Bit ............................................................226
MPASM Assembler ...................................................318
Timing Specifications ........................................341
AD
) ............................................229
PIC18F2420/2520/4420/4520
Block Diagrams
BN ..................................................................................... 276
BNC .................................................................................. 277
BNN .................................................................................. 277
BNOV................................................................................ 278
BNZ................................................................................... 278
BOR. See Brown-out Reset.
BOV .................................................................................. 281
BRA................................................................................... 279
Break Character (12-Bit) Transmit and Receive ............... 216
BRG. See Baud Rate Generator.
Brown-out Reset (BOR) ...................................................... 44
BSF ................................................................................... 279
BTFSC .............................................................................. 280
BTFSS .............................................................................. 280
BTG................................................................................... 281
BZ ..................................................................................... 282
A/D............................................................................ 226
Analog Input Model ................................................... 227
Baud Rate Generator................................................ 187
Capture Mode Operation .......................................... 141
Comparator Analog Input Model ............................... 237
Comparator I/O Operating Modes ............................ 234
Comparator Output ................................................... 236
Comparator Voltage Reference ................................ 240
Comparator Voltage Reference Output
Compare Mode Operation ........................................ 142
Device Clock............................................................... 28
Enhanced PWM........................................................ 149
EUSART Receive ..................................................... 213
EUSART Transmit .................................................... 211
External Power-on Reset Circuit
Fail-Safe Clock Monitor (FSCM) ............................... 261
Generic I/O Port........................................................ 105
High/Low-Voltage Detect with External Input ........... 244
Interrupt Logic ............................................................. 92
MSSP (I
MSSP (I
MSSP (SPI Mode) .................................................... 161
On-Chip Reset Circuit ................................................. 41
PIC18F2420/2520....................................................... 10
PIC18F4420/4520....................................................... 11
PLL (HS Mode) ........................................................... 25
PORTD and PORTE (Parallel Slave Port) ................ 120
PWM Operation (Simplified) ..................................... 144
Reads from Flash Program Memory........................... 77
Single Comparator .................................................... 235
Table Read Operation ................................................ 73
Table Write Operation................................................. 74
Table Writes to Flash Program Memory ..................... 79
Timer0 in 16-Bit Mode .............................................. 124
Timer0 in 8-Bit Mode ................................................ 124
Timer1....................................................................... 128
Timer1 (16-Bit Read/Write Mode) ............................. 128
Timer2....................................................................... 134
Timer3....................................................................... 136
Timer3 (16-Bit Read/Write Mode) ............................. 136
Watchdog Timer ....................................................... 258
Detecting..................................................................... 44
Disabling in Sleep Mode ............................................. 44
Software Enabled ....................................................... 44
Buffer Example ................................................. 241
(Slow V
2
2
C Master Mode) ......................................... 185
C Mode) ..................................................... 170
DD
Power-up).......................................... 43
© 2008 Microchip Technology Inc.