PIC18F2520-I/SO Microchip Technology, PIC18F2520-I/SO Datasheet - Page 65
![IC MCU FLASH 16KX16 28SOIC](/photos/6/59/65909/150-28-soic_sml.jpg)
PIC18F2520-I/SO
Manufacturer Part Number
PIC18F2520-I/SO
Description
IC MCU FLASH 16KX16 28SOIC
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)
9.PIC18F4420-IP.pdf
(390 pages)
Specifications of PIC18F2520-I/SO
Program Memory Type
FLASH
Program Memory Size
32KB (16K x 16)
Package / Case
28-SOIC (7.5mm Width)
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
25
Eeprom Size
256 x 8
Ram Size
1.5K x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 10x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
1.5 KB
Interface Type
MSSP/SPI/I2C/PSP/USART
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
25
Number Of Timers
4
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, ICE4000, DM163022, DV164136
Minimum Operating Temperature
- 40 C
On-chip Adc
10-ch x 10-bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT28SO-1 - SOCKET TRANSITION 28SOIC 300MILMCP3909RD-3PH1 - REF DESIGN MCP3909 3PH ENGY MTR
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC18F2520-I/SO
Manufacturer:
SEMIKRON
Quantity:
120
Company:
Part Number:
PIC18F2520-I/SO
Manufacturer:
MICROCHIP
Quantity:
91
Company:
Part Number:
PIC18F2520-I/SO
Manufacturer:
MIC
Quantity:
6
Part Number:
PIC18F2520-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
5.3.4
The Special Function Registers (SFRs) are registers
used by the CPU and peripheral modules for controlling
the desired operation of the device. These registers are
implemented as static RAM. SFRs start at the top of
data memory (FFFh) and extend downward to occupy
the top half of Bank 15 (F80h to FFFh). A list of these
registers is given in Table 5-1 and Table 5-2.
TABLE 5-1:
2004 Microchip Technology Inc.
Note 1:
Address
FEDh POSTDEC0
FECh
FFDh
FFCh
FEEh POSTINC0
FEBh
FEAh
FFEh
FFBh
FEFh
2:
3:
FFFh
FFAh
FE9h
FE8h
FE7h
FE6h POSTINC1
FE5h POSTDEC1
FE4h
FE3h
FE2h
FE1h
FE0h
FF9h
FF8h
FF7h
FF6h
FF5h
FF4h
FF3h
FF2h
FF1h
FF0h
This is not a physical register.
Unimplemented registers are read as ‘0’.
This register is not available on 28-pin devices.
SPECIAL FUNCTION REGISTERS
PREINC0
PREINC1
PLUSW1
PLUSW0
TBLPTRU
TBLPTRH
TBLPTRL
INTCON2
INTCON3
STKPTR
PCLATU
PCLATH
INDF0
INDF1
INTCON
TABLAT
PRODH
PRODL
FSR0H
FSR1H
FSR0L
WREG
FSR1L
SPECIAL FUNCTION REGISTER MAP FOR PIC18F2420/2520/4420/4520 DEVICES
Name
TOSU
TOSH
TOSL
BSR
PCL
(1)
(1)
(1)
(1)
(1)
(1)
(1)
(1)
(1)
(1)
Address
FDDh POSTDEC2
FDCh
FCDh
FCCh
FDEh POSTINC2
FDBh
FDAh
FCEh
FCBh
FCAh
FDFh
FCFh
FD9h
FD8h
FD7h
FD6h
FD5h
FD4h
FD3h
FD2h
FD1h
FD0h
FC9h
FC8h
FC7h
FC6h
FC5h
FC4h
FC3h
FC2h
FC1h
FC0h
PREINC2
PIC18F2420/2520/4420/4520
PLUSW2
HLVDCON
SSPCON1
SSPCON2
WDTCON
OSCCON
SSPSTAT
ADRESH
ADCON0
ADCON1
ADCON2
SSPBUF
SSPADD
ADRESL
INDF2
STATUS
TMR0H
T0CON
TMR1H
T1CON
T2CON
FSR2H
TMR0L
TMR1L
FSR2L
RCON
Name
TMR2
—
PR2
Preliminary
(2)
(1)
(1)
(1)
(1)
(1)
Address
The SFRs can be classified into two sets: those asso-
ciated with the “core” device functionality (ALU, Resets
and interrupts) and those related to the peripheral func-
tions. The reset and interrupt registers are described in
their respective chapters, while the ALU’s Status regis-
ter is described later in this section. Registers related to
the operation of a peripheral feature are described in
the chapter for that peripheral.
The SFRs are typically distributed among the
peripherals whose functions they control. Unused SFR
locations are unimplemented and read as ‘0’s.
FBEh
FBDh
FBCh
FBBh
FBAh
FADh
FACh
FBFh
FAEh
FABh
FAAh
FB9h
FB8h
FB7h PWM1CON
FB6h
FB5h
FB4h
FB3h
FB2h
FB1h
FB0h
FAFh
FA9h
FA8h
FA7h
FA6h
FA5h
FA4h
FA3h
FA2h
FA1h
FA0h
ECCP1AS
BAUDCON
EECON2
CCP1CON
CCP2CON
CVRCON
SPBRGH
CCPR1H
CCPR2H
EECON1
CCPR1L
CCPR2L
CMCON
EEDATA
SPBRG
RCREG
TMR3H
T3CON
TXREG
EEADR
TMR3L
RCSTA
TXSTA
Name
IPR2
PIR2
PIE2
—
—
—
—
—
(2)
(2)
(2)
(2)
(2)
(1)
(3)
(3)
Address
F9Dh
F9Ch
F8Dh
F8Ch
F9Eh
F9Bh
F9Ah
F8Eh
F8Bh
F8Ah
F9Fh
F8Fh
F99h
F98h
F97h
F96h
F95h
F94h
F93h
F92h
F91h
F90h
F89h
F88h
F87h
F86h
F85h
F84h
F83h
F82h
F81h
F80h
DS39631A-page 63
OSCTUNE
PORTD
PORTE
TRISD
TRISE
LATE
LATD
PORTC
PORTB
PORTA
TRISC
TRISB
TRISA
Name
LATC
LATB
LATA
IPR1
PIR1
PIE1
—
—
—
—
—
—
—
—
—
—
—
—
—
(2)
(2)
(2)
(2)
(2)
(2)
(2)
(2)
(2)
(2)
(2)
(2)
(2)
(3)
(3)
(3)
(3)
(3)
(3)