PIC18F2520-I/ML Microchip Technology Inc., PIC18F2520-I/ML Datasheet - Page 402
![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: 402 of 412
- Download datasheet (7Mb)
PIC18F2420/2520/4420/4520
High/Low-Voltage Detect
HLVD. See High/Low-Voltage Detect.
I
I/O Ports ............................................................................ 105
I
ID Locations .............................................................. 249, 266
INCF.................................................................................. 288
INCFSZ ............................................................................. 289
In-Circuit Debugger ........................................................... 266
In-Circuit Serial Programming (ICSP) ....................... 249, 266
Indexed Literal Offset Addressing
Indexed Literal Offset Mode .............................................. 314
Indirect Addressing ............................................................. 69
INFSNZ ............................................................................. 289
Initialization Conditions for all Registers ....................... 49–52
Instruction Cycle.................................................................. 57
Instruction Flow/Pipelining .................................................. 57
Instruction Set ................................................................... 267
DS39631E-page 400
2
C Mode (MSSP)
Applications............................................................... 246
Associated Registers ................................................ 247
Characteristics .......................................................... 339
Current Consumption ................................................ 245
Effects of a Reset...................................................... 247
Operation .................................................................. 244
Setup......................................................................... 245
Start-up Time ............................................................ 245
Typical Application .................................................... 246
Acknowledge Sequence Timing................................ 194
Baud Rate Generator ................................................ 187
Bus Collision
Clock Arbitration........................................................ 188
Clock Stretching ........................................................ 180
Clock Synchronization and the
Effects of a Reset...................................................... 195
General Call Address Support .................................. 184
I
Master Mode ............................................................. 185
Multi-Master Communication, Bus
Multi-Master Mode .................................................... 195
Operation .................................................................. 174
Read/Write Bit Information (R/W Bit) ................ 174, 175
Registers................................................................... 170
Serial Clock (RC3/SCK/SCL) .................................... 175
Slave Mode ............................................................... 174
Sleep Operation ........................................................ 195
Stop Condition Timing............................................... 194
and Standard PIC18 Instructions .............................. 314
Clocking Scheme ........................................................ 57
2
C Clock Rate w/BRG .............................................. 187
During Sleep ..................................................... 247
During a Repeated Start Condition ................... 198
During a Stop Condition.................................... 199
10-Bit Slave Receive Mode (SEN = 1).............. 180
10-Bit Slave Transmit Mode.............................. 180
7-Bit Slave Receive Mode (SEN = 1)................ 180
7-Bit Slave Transmit Mode................................ 180
CKP bit (SEN = 1) ............................................. 181
Operation .......................................................... 186
Reception.......................................................... 191
Repeated Start Condition Timing...................... 190
Start Condition Timing ...................................... 189
Transmission..................................................... 191
Collision and Arbitration .................................... 195
Addressing ........................................................ 174
Reception.......................................................... 175
Transmission..................................................... 175
ADDLW..................................................................... 273
ADDWF..................................................................... 273
ADDWF (Indexed Literal Offset Mode) ..................... 315
ADDWFC .................................................................. 274
ANDLW..................................................................... 274
ANDWF..................................................................... 275
BC............................................................................. 275
BCF .......................................................................... 276
BN............................................................................. 276
BNC .......................................................................... 277
BNN .......................................................................... 277
BNOV ....................................................................... 278
BNZ .......................................................................... 278
BOV .......................................................................... 281
BRA .......................................................................... 279
BSF........................................................................... 279
BSF (Indexed Literal Offset Mode) ........................... 315
BTFSC ...................................................................... 280
BTFSS ...................................................................... 280
BTG .......................................................................... 281
BZ ............................................................................. 282
CALL......................................................................... 282
CLRF ........................................................................ 283
CLRWDT .................................................................. 283
COMF ....................................................................... 284
CPFSEQ ................................................................... 284
CPFSGT ................................................................... 285
CPFSLT .................................................................... 285
DAW ......................................................................... 286
DCFSNZ ................................................................... 287
DECF ........................................................................ 286
DECFSZ ................................................................... 287
Extended Instruction Set .......................................... 309
General Format......................................................... 269
GOTO ....................................................................... 288
INCF ......................................................................... 288
INCFSZ..................................................................... 289
INFSNZ..................................................................... 289
IORLW ...................................................................... 290
IORWF...................................................................... 290
LFSR ........................................................................ 291
MOVF ....................................................................... 291
MOVFF ..................................................................... 292
MOVLB ..................................................................... 292
MOVLW .................................................................... 293
MOVWF .................................................................... 293
MULLW..................................................................... 294
MULWF..................................................................... 294
NEGF........................................................................ 295
NOP .......................................................................... 295
Opcode Field Descriptions........................................ 268
POP .......................................................................... 296
PUSH........................................................................ 296
RCALL ...................................................................... 297
RESET...................................................................... 297
RETFIE ..................................................................... 298
RETLW ..................................................................... 298
RETURN................................................................... 299
RLCF ........................................................................ 299
RLNCF...................................................................... 300
RRCF........................................................................ 300
RRNCF ..................................................................... 301
SETF ........................................................................ 301
SETF (Indexed Literal Offset Mode) ......................... 315
SLEEP ...................................................................... 302
© 2008 Microchip Technology Inc.
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