PIC18F2420-I/ML Microchip Technology, PIC18F2420-I/ML Datasheet

IC PIC MCU FLASH 8KX16 28QFN

PIC18F2420-I/ML

Manufacturer Part Number
PIC18F2420-I/ML
Description
IC PIC MCU FLASH 8KX16 28QFN
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F2420-I/ML

Program Memory Type
FLASH
Program Memory Size
16KB (8K x 16)
Package / Case
28-VQFN Exposed Pad, 28-HVQFN, 28-SQFN, 28-DHVQFN
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
768 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
768 B
Interface Type
EUSART, I2C, MSSP, SPI
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
25
Number Of Timers
1 x 8
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, DM163014, DV164136
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit
Package
28QFN EP
Device Core
PIC
Family Name
PIC18
Maximum Speed
40 MHz
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT28QFN4 - SOCKET TRANS ICE 28QFN W/CABLEAC164322 - MODULE SOCKET MPLAB PM3 28/44QFN
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F2420-I/ML
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
The PIC18F2420/2520/4420/4520 Rev. A1 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.
All the problems listed here will be addressed in future
revisions of the PIC18F2420/2520/4420/4520 silicon.
The
PIC18F2420/2520/4420/4520 devices with these
Device/Revision IDs:
TABLE 1:
© 2008 Microchip Technology Inc.
The Device IDs (DEVID1 and DEVID2) are located at
addresses
configuration space. They are shown in binary in the
format “DEVID2 DEVID1”.
Note 1:
Part Number
PIC18F2420
PIC18F2520
PIC18F4420
PIC18F4520
PIC18F2420/2520/4420/4520 Rev. A1 Silicon Errata Sheet
following
40 MHz
40 MHz
40 MHz
16 MHz
16 MHz
16 MHz
(DS39631D),
4 MHz
4 MHz
4 MHz
F
OSC
The I
100 kHz) in all details, but may be used with care where higher rates are required by the application.
3FFFFEh:3FFFFFh
I
2
2
C™ interface does not conform to the 400 kHz I
C™ CLOCK RATE w/BRG
silicon
0001 0001 010
0001 0001 000
0001 0000 110
0001 0000 100
Device ID
except
errata apply
10 MHz
10 MHz
10 MHz
4 MHz
4 MHz
4 MHz
1 MHz
1 MHz
1 MHz
for
F
CY
in
the
PIC18F2420/2520/4420/4520
Revision ID
the
0 0001
0 0001
0 0001
0 0001
anomalies
only
device’s
to
20 MHz
20 MHz
20 MHz
F
8 MHz
8 MHz
8 MHz
2 MHz
2 MHz
2 MHz
CY
* 2
1. Module: MSSP
2
C specification (which applies to rates greater than
In its current implementation, the I
mode operates as follows:
a) The Baud Rate Generator for I
b) Use the following formula in place of the one
Date Codes that pertain to this issue:
All engineering and production devices.
mode is slower than the rates specified in
Table 17-3 of the Device Data Sheet.
For this revision of silicon, use the values
shown in Table 1 in place of those shown in
Table 17-3 of the Device Data Sheet. The
differences are shown in bold text.
shown in Register 17-4 (SSPCON1) of the
Device
SSPM3:SSPM0 = 1000.
SSPADD = INT((F
BRG Value
Data
0Eh
15h
59h
05h
08h
23h
01h
08h
00h
Sheet
CY
/F
SCL
(2 Rollovers of BRG)
) – (F
for
CY
400 kHz
400 kHz
333 kHz
312.5 kHz
DS80209H-page 1
1 MHz
bit
100 kHz
308 kHz
100 kHz
100 kHz
/1.111 MHz)) – 1
F
2
2
SCL
C in Master
C™ Master
description
(1)
(1)
(1)
(1)

Related parts for PIC18F2420-I/ML

PIC18F2420-I/ML Summary of contents

Page 1

... 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. All the problems listed here will be addressed in future revisions of the PIC18F2420/2520/4420/4520 silicon. ...

Page 2

... PIC18F2420/2520/4420/4520 2. Module: MSSP When the MSSP is configured for SPI Master mode, the SDO pin cannot be disabled by setting the TRISC<5> bit. The SDO pin always outputs the content of SSPBUF regardless of the state of the TRIS bit. In Slave mode with Slave Select enabled, SSPM3:SSPM0 = 0010 (SSPCON1<3:0>), the SDO pin can be disabled by placing a logic high level on the SS pin (RA5) ...

Page 3

... None. Date Codes that pertain to this issue: All engineering and production devices. © 2008 Microchip Technology Inc. PIC18F2420/2520/4420/4520 9. Module: ECCP and CCP The CCP1 and CCP2 configured for PWM mode, with 1:1 Timer2 prescaler and duty cycle set to the period minus 1, may result in the PWM output(s) remaining at a logic low level ...

Page 4

... PIC18F2420/2520/4420/4520 12. Module: ECCP The PWM pin(s) may change state if a breakpoint is encountered during emulation and an auto- shutdown event occurs via FLT0. This affects the ® MPLAB ICD 2 debugger and the ICE 2000 and ICE 4000 emulators. Work around During emulation, use the comparator for auto- shutdown ...

Page 5

... BORV1:BORV0 = 11 N/A 2.05 N/A Work around Use the next higher BOD voltage setting to ensure a low V is detected above 2.0V. DD Date Codes that pertain to this issue: All engineering and production devices. © 2008 Microchip Technology Inc. PIC18F2420/2520/4420/4520 + and V - REF REF PIC18LFX42X/X52X (INDUSTRIAL) Min Typ Max — ...

Page 6

... PIC18F2420/2520/4420/4520 19. Module: EUSART When performing back-to-back transmission in 9-bit mode (TX9D bit in the TXSTA register is set), the second byte may be corrupted written into TXREG immediately after the TMRT bit is set. Work around Execute a software delay, at least one-half the transmission’s bit time, after TMRT is set and prior to writing subsequent bytes into TXREG ...

Page 7

... ISR code here : RETFIE FAST © 2008 Microchip Technology Inc. PIC18F2420/2520/4420/4520 Work around 1. Assembly Language Programming any two-cycle instruction is used to modify the WREG, BSR or STATUS register, do not use the RETFIE FAST instruction to return from the interrupt. Instead, save/restore WREG, BSR and STATUS via software per Example 9-1 in the Device Data Sheet ...

Page 8

... PIC18F2420/2520/4420/4520 2. C Language Programming: The exact work around depends on the compiler in use. Please refer to your C compiler documentation for details. ® If using the Microchip MPLAB define both high and low priority interrupt han- dler functions as “low priority” by using the directive. pragma interruptlow ...

Page 9

... SSPBUF and clear SSPOV. Discard the data from SSPBUF. Date Codes that pertain to this issue: All engineering and production devices. © 2008 Microchip Technology Inc. PIC18F2420/2520/4420/4520 28. Module: MSSP Master mode, the BRG value of ‘0’ may not work correctly. ...

Page 10

... PIC18F2420/2520/4420/4520 31. Module: MSSP In SPI mode, the Buffer Full flag (BF bit in the SSPSTAT register), the Write Collision Detect bit (WCOL bit in SSPCON1) and the Receive Overflow Indicator bit (SSPOV in SSPCON1) are not reset upon disabling the SPI module (by clearing the SSPEN bit in the SSPCON1 register). ...

Page 11

... WUE bit is automatically cleared. Date Codes that pertain to this issue: All engineering and production devices. © 2008 Microchip Technology Inc. PIC18F2420/2520/4420/4520 37. Module: MSSP The MSSP configured in SPI Slave mode will generate a write collision if SSPBUF is updated and the previous SSPBUF contents have not been ...

Page 12

... PIC18F2420/2520/4420/4520 39. Module: MSSP In SPI mode, the SDO output may change after the inactive clock edge of the bit ‘0’ output. This may affect some SPI components that read data over 300 ns after the inactive edge of SCK. Work around None Date Codes that pertain to this issue: All engineering and production devices ...

Page 13

... Change the 7-bit slave address in SSPADD to an address in the range of 0x08 to 0x77. • Use Revision B silicon This version of silicon removes this issue’s addressing restrictions. Date Codes that pertain to this issue: All engineering and production devices. © 2008 Microchip Technology Inc. PIC18F2420/2520/4420/4520 Slave mode DS80209H-page 13 ...

Page 14

... PIC18F2420/2520/4420/4520 REVISION HISTORY Rev A Document (9/2004) First revision of this document which includes silicon issues 1-6 (ECCP), 7-11 (MSSP), 12 (ECCP and CCP), 13 (A/D), 14-15 (Timer1/Timer3) and 16 (BOD/HLVD). Rev B Document (11/2004) Changes made to silicon issue 7 (MSSP), 9 (MSSP) and 10 (MSSP). Added silicon issue 17 (EUSART), 18 (Interrupts), 19 (ECCP) and 20 (Timer1/Timer3) ...

Page 15

... PowerTool, REAL ICE, rfLAB, Select Mode, Total Endurance, UNI/O, 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 16

... Fax: 886-3-572-6459 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 © 2008 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