PIC18F4520-I/P Microchip Technology, PIC18F4520-I/P Datasheet

IC MCU FLASH 16KX16 40DIP

PIC18F4520-I/P

Manufacturer Part Number
PIC18F4520-I/P
Description
IC MCU FLASH 16KX16 40DIP
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F4520-I/P

Program Memory Type
FLASH
Program Memory Size
32KB (16K x 16)
Package / Case
40-DIP (0.600", 15.24mm)
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
36
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 13x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
1536 B
Interface Type
MSSP, SPI, I2C, PSP, USART
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
36
Number Of Timers
1 x 8
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, 53275-917, EWPIC18
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, ICE4000, DV164136, DM163022
Minimum Operating Temperature
- 40 C
On-chip Adc
13 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DVA18XP400 - DEVICE ADAPTER 18F4220 PDIP 40LD444-1001 - DEMO BOARD FOR PICMICRO MCUACICE0206 - ADAPTER MPLABICE 40P 600 MIL
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F4520-I/P
Manufacturer:
ST
Quantity:
104
Part Number:
PIC18F4520-I/P
Manufacturer:
MICROCH
Quantity:
20 000
Part Number:
PIC18F4520-I/PT
Manufacturer:
TI
Quantity:
14 300
Part Number:
PIC18F4520-I/PT
Manufacturer:
Microchip Technology
Quantity:
33 055
Part Number:
PIC18F4520-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC18F4520-I/PT
Manufacturer:
MICROCHIP
Quantity:
510
Part Number:
PIC18F4520-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F4520-I/PT
0
The PIC18F2420/2520/4420/4520 Rev. B3 parts you
have received conform functionally to the Device Data
Sheet
described below. Any Data Sheet Clarification issues
related to the PIC18F2420/2520/4420/4520 will be
reported in a separate Data Sheet errata. Please check
the Microchip web site for any existing issues.
The
PIC18F2420/2520/4420/4520 devices with these
Device/Revision IDs:
All of the issues listed here will be addressed in future
revisions of the PIC18F2420/2520/4420/4520 silicon.
1. Module: MSSP
TABLE 1:
 2009 Microchip Technology Inc.
Param
70
The Device IDs (DEVID1 and DEVID2) are located at
addresses
configuration space. They are shown in hexadecimal
in the format “DEVID2 DEVID1”.
No.
Part Number
PIC18F2420
PIC18F2520
PIC18F4420
PIC18F4520
In SPI Slave mode with slave select enabled
(SSPM<3:0> = 0100), the minimum time between
the falling edge of the SS pin and first SCK edge
is greater than specified in parameter 70 in
Table 26-16 and Table 26-17 of the above
referenced data sheet.
The updated specification is shown in bold in
Table 1.
Work around
None.
Date Codes that pertain to this issue:
All engineering and production devices.
following
T
T
(DS39631E),
PIC18F2420/2520/4420/4520 Rev. B3 Silicon Errata
SS
SS
Symbol
L2
L2
3FFFFEh:3FFFFFh
SC
SC
EXAMPLE SPI MODE REQUIREMENTS (SLAVE MODE TIMING)
H,
L
silicon
0001 0001 010
0001 0001 000
0001 0000 110
0001 0000 100
SS  to SCK  or SCK  Input
Device ID
except
errata apply
for
in
the
PIC18F2420/2520/4420/4520
Revision ID
the
Characteristic
0 0110
0 0110
0 0110
0 0110
anomalies
only
device’s
to
2. Module: MSSP (SPI Mode)
FIGURE 1:
EXAMPLE 1:
LOOP BTFSSSSPSTAT, BF
When the SPI is using Timer2/2 as the clock
source, a shorter than expected SCK pulse may
occur on the first bit of the transmitted/received
data (Figure 1).
Work around
To avoid producing the short pulse, turn off Timer2
and clear the TMR2 register, load the SSPBUF
with the data to transmit and then turn Timer2 back
on. Refer to Example 1 for sample code.
Date Codes that pertain to this issue:
All engineering and production devices.
BRA LOOP
MOVFSSPBUF, W
MOVWFRXDATA
MOVFTXDATA, W
BCF T2CON, TMR2ON;Timer2 off
CLRFTMR2
MOVWFSSPBUF
BSF T2CON, TMR2ON;Timer2 on
SDO
SCK
Write SSPBUF
3 T
Min
bit 0 = 1 bit 1 = 0
SCK PULSE VARIATION
USING TIMER2/2
AVOIDING THE INITIAL
SHORT SCK PULSE
CY
;(Xmit complete?)
;Save in user RAM
;W = TXDATA
;Clear Timer2
;Xmit New data
;No
;W = SSPBUF
Max Units Conditions
;Data received?
bit 2 = 1 . . . .
ns
DS80304D-page 1

Related parts for PIC18F4520-I/P

PIC18F4520-I/P Summary of contents

Page 1

... Part Number Device ID PIC18F2420 0001 0001 010 PIC18F2520 0001 0001 000 PIC18F4420 0001 0000 110 PIC18F4520 0001 0000 100 The Device IDs (DEVID1 and DEVID2) are located at addresses 3FFFFEh:3FFFFFh in configuration space. They are shown in hexadecimal in the format “DEVID2 DEVID1”. All of the issues listed here will be addressed in future revisions of the PIC18F2420/2520/4420/4520 silicon ...

Page 2

... None required. Date Codes that pertain to this issue: All engineering and production devices. and RXDTP R/W-0 R/W-0 TXCKP BRG16 U = Unimplemented bit, read as ‘0’ ‘0’ = Bit is cleared U-0 R/W-0 R/W-0 — WUE ABDEN bit Bit is unknown  2009 Microchip Technology Inc. ...

Page 3

... OSC OSC OSC RC. OSC Date Codes that pertain to this issue: All engineering and production devices.  2009 Microchip Technology Inc. PIC18F2420/2520/4420/4520 5. Module: Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART) In rare situations when interrupts are enabled, or unexpected results may occur if: OSC • ...

Page 4

... Master] ). Rev B Document (4/2007) Added silicon Synchronous Receiver Transmitter – EUSART). Rev C Document (6/2007) Added silicon issue 4 (10-Bit Analog-to-Digital Converter). Rev D Document (8/2009) Added silicon issues 5 (EUSART) and 6 (MSSP). the SEN bit issue 3 (Enhanced Universal  2009 Microchip Technology Inc. ...

Page 5

... REAL ICE, rfLAB, Select Mode, Total Endurance, TSHARC, UniWinDriver, WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. All other trademarks mentioned herein are property of their respective companies. ...

Page 6

... Fax: 886-3-6578-370 Taiwan - Kaohsiung Tel: 886-7-536-4818 Fax: 886-7-536-4803 Taiwan - Taipei Tel: 886-2-2500-6610 Fax: 886-2-2508-0102 Thailand - Bangkok Tel: 66-2-694-1351 Fax: 66-2-694-1350  2009 Microchip Technology Inc. EUROPE Austria - Wels Tel: 43-7242-2244-39 Fax: 43-7242-2244-393 Denmark - Copenhagen Tel: 45-4450-2828 Fax: 45-4485-2829 France - Paris Tel: 33-1-69-53-63-20 ...

Related keywords