PIC18F2520-I/ML Microchip Technology Inc., PIC18F2520-I/ML Datasheet - Page 403
![no-image](/images/manufacturer_photos/0/4/440/microchip_technology_inc__sml.jpg)
PIC18F2520-I/ML
Manufacturer Part Number
PIC18F2520-I/ML
Description
28 QFN 6x6mm TUBE, 32 KB Flash, 1536 RAM, 25 I/O
Manufacturer
Microchip Technology Inc.
Datasheet
1.PIC18F2520-IML.pdf
(412 pages)
Specifications of PIC18F2520-I/ML
A/d Inputs
10-Channel, 10-Bit
Comparators
2
Cpu Speed
10 MIPS
Eeprom Memory
1K Bytes
Input Output
25
Interface
I2C/SPI/UART/USART
Memory Type
Flash
Number Of Bits
8
Package Type
28-pin QFN
Programmable Memory
32K Bytes
Ram Size
1.5K Bytes
Speed
40 MHz
Temperature Range
–40 to 125 °C
Timers
1-8-bit, 3-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F2520-I/ML
Manufacturer:
MICROCHI
Quantity:
20 000
- Current page: 403 of 412
- Download datasheet (7Mb)
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
Related parts for PIC18F2520-I/ML
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC18F252-I/SP](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Microcontroller; 32 KB Flash; 1536 RAM; 256 EEPROM; 25 I/O; 28-Pin-SPDIP
Manufacturer:
Microchip Technology Inc.
Datasheet:
![PIC18F252-I/SO](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Microcontroller; 32 KB Flash; 1536 RAM; 256 EEPROM; 25 I/O; 28-Pin-SOIC
Manufacturer:
Microchip Technology Inc.
Datasheet:
![PIC18F6393T-I/PT](/photos/6/81/68123/c04-066_pf_tmb.jpg)
Part Number:
Description:
PIC18F With 128-segment LCD Driver And 12-bit ADC, 8KB Flash, 768B RAM, CCP, MSS
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F6493T-I/PT](/photos/6/81/68123/c04-066_pf_tmb.jpg)
Part Number:
Description:
PIC18F With 128-segment LCD Driver And 12-bit ADC, 16KB Flash, 768B RAM, CCP, MS
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F8393T-I/PT](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
PIC18F With 192-segment LCD Driver And 12-bit ADC, 8KB Flash, 768B RAM, CCP, MSS
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F8493T-I/PT](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
PIC18F With 192-segment LCD Driver And 12-bit ADC, 16KB Flash, 768B RAM, CCP, MS
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F6585-I/L](/photos/16/12/161282/68-plcc-large-300dpi-lyrd_tmb.jpg)
Part Number:
Description:
Microcontrollers (MCU) 48KB 3328 RAM 52 I/O
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F6680-I/L](/photos/16/12/161282/68-plcc-large-300dpi-lyrd_tmb.jpg)
Part Number:
Description:
Microcontrollers (MCU) 64KB 3328 RAM 52 I/O
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F65K90T-I/MR](/photos/16/3/160368/qfn64_tmb.jpg)
Part Number:
Description:
32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, LCD 64 QFN 9x9x0.9mm T/R
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F65K90T-I/PT](/photos/16/3/160367/tqfp-64_tmb.jpg)
Part Number:
Description:
32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, LCD 64 TQFP 10x10x1mm T/R
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F87K90T-I/PT](/photos/40/31/403173/tqfp-80_tmb.jpg)
Part Number:
Description:
128kB Flash, 4kB RAM, 1kB EE, 16MIPS, NanoWatt XLP, LCD, 5V 80 TQFP 12x12x1mm T/
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F65K90-I/MR](/photos/16/3/160368/qfn64_tmb.jpg)
Part Number:
Description:
32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, LCD 64 QFN 9x9x0.9mm TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F65K90-I/PT](/photos/16/3/160367/tqfp-64_tmb.jpg)
Part Number:
Description:
32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, LCD 64 TQFP 10x10x1mm TRAY
Manufacturer:
Microchip Technology
![PIC18F87K90-I/PT](/photos/40/31/403173/tqfp-80_tmb.jpg)
Part Number:
Description:
128kB Flash, 4kB RAM, 1kB EE, 16MIPS, NanoWatt XLP, LCD, 5V 80 TQFP 12x12x1mm TR
Manufacturer:
Microchip Technology