PIC18F2331/2431/4331/4431 Data Sheet Errata

PIC18F2331/2431/4331/4431
PIC18F2331/2431/4331/4431 Data Sheet Errata
In the Device Data Sheet (DS39616B), the following
clarifications and corrections should be noted. Any silicon issues related to the PIC18F2331/2431/4331/4431
will be reported in a separate silicon errata. Please
check the Microchip Web site for any existing issues.
3. Module: PWM Equations
In Section 17.5 “PWM Period”, Equations 17-1,
17-2 and 17-3 should be corrected as shown.
EQUATION 17-1:
Clarifications/Corrections to the
Data Sheet:
TPWM =
In the Device Data Sheet (DS39616B), the following
clarifications and corrections should be noted.
EQUATION 17-2:
1. Module: Power-on Reset
The following note has been added to Section 4.1
“Power-on Reset (POR)”:
Note:
is
TPWM =
1. A 1 μF capacitor should be connected
across AVDD and AVSS.
2. A similar capacitor should be
connected across VDD and VSS.
EQUATION 17-3:
The following decoupling method
recommended:
2. Module: Watchdog Timer
PWM PERIOD FOR FREE
RUNNING MODE
(PTPER + 1) x PTMRPS
FOSC/4
PWM PERIOD FOR
UP/DOWN COUNTING
MODE
(2 x PTPER) x PTMRPS
FOSC
4
PWM RESOLUTION
FOSC
log Fpwm
Resolution =
log(2)
In Table 22-2: Summary of Watchdog Timer
Registers, the WINEN bit (CONFIG2H<5>) should
not be shaded.
© 2005 Microchip Technology Inc.
DS80239A-page 1
PIC18F2331/2431/4331/4431
4. Module: DC Characteristics
Specifications and parameter numbers have been
revised for specific temperature ranges for date
codes from 0421xxx and higher.
The specifications and parameter numbers for the
Brown-out Reset Voltage limits (VBOR, originally
parameter D005) in Section 25.1 “DC Characteristics: Supply Voltage” of the Device Data Sheet
have been changed.
The new information is shown in bold text.
The specifications and parameter numbers have
been revised for devices with date codes from
0401xxx to 0420xxx, inclusive.
25.1
DC Characteristics: Supply Voltage
PIC18F2331/2431/4331/4431 (Industrial)
PIC18LF2331/2431/4331/4431 (Industrial, Extended)
PIC18LF2331/2431/4331/4431
(Industrial)
Standard Operating Conditions (unless otherwise stated)
Operating temperature
-40°C ≤ TA ≤ +85°C for industrial
PIC18F2331/2431/4331/4431
(Industrial, Extended)
Standard Operating Conditions (unless otherwise stated)
Operating temperature
-40°C ≤ TA ≤ +85°C for industrial
-40°C ≤ TA ≤ +125°C for extended
Param
No.
Symbol
Characteristic
Min
Typ
Max
Units
Conditions
Date Codes from 0401xxx to 0420xxx, inclusive
VBOR
D005A
Brown-out Reset Voltage
PIC18LF2X31/4X31
N/A
N/A
N/A
V
BORV1:BORV0 = 10
2.45
2.72
2.99
V
BORV1:BORV0 = 01
3.80
4.22
4.64
V
4.09
4.54
4.99
V
BORV1:BORV0 = 00
D005B
PIC18F2X31/4X31
Legend:
Note 1:
2:
Reserved
Industrial (-40°C to +85°C)
BORV1:BORV0 = 1x
N/A
N/A
N/A
V
Reserved
BORV1:BORV0 = 01
3.80
4.22
4.64
V
(Note 2)
4.09
4.54
4.99
V
(Note 2)
BORV1:BORV0 = 00
D005C
Industrial Low Voltage (-40°C to +85°C)
BORV1:BORV0 = 11
PIC18F2X31/4X31
Extended (-40°C to +125°C)
BORV1:BORV0 = 1x
N/A
N/A
N/A
V
Reserved
BORV1:BORV0 = 01
3.80
4.22
4.64
V
(Note 2)
BORV1:BORV0 = 00
4.09
4.54
4.99
V
(Note 2)
Shading of rows is to assist in readability of the table.
This is the limit to which VDD can be lowered in Sleep mode, or during a device Reset, without losing RAM data.
When BOR is on and BORV<1:0> = 0x, the device will operate correctly at 40 MHz for any VDD at which the BOR
allows execution.
DS80239A-page 2
© 2005 Microchip Technology Inc.
PIC18F2331/2431/4331/4431
25.1
DC Characteristics: Supply Voltage
PIC18F2331/2431/4331/4431 (Industrial)
PIC18LF2331/2431/4331/4431 (Industrial, Extended)
PIC18LF2331/2431/4331/4431
(Industrial)
Standard Operating Conditions (unless otherwise stated)
Operating temperature
-40°C ≤ TA ≤ +85°C for industrial
PIC18F2331/2431/4331/4431
(Industrial, Extended)
Standard Operating Conditions (unless otherwise stated)
Operating temperature
-40°C ≤ TA ≤ +85°C for industrial
-40°C ≤ TA ≤ +125°C for extended
Param
No.
Symbol
Characteristic
Min
Typ
Max
Units
Conditions
Date Codes from 0421xxx and higher
VBOR
Brown-out Reset Voltage
D005D
PIC18LF2X31/4X31
N/A
N/A
N/A
V
BORV1:BORV0 = 10
2.50
2.72
2.94
V
BORV1:BORV0 = 01
3.88
4.22
4.56
V
BORV1:BORV0 = 00
4.18
4.54
4.90
V
D005F
PIC18LF2X31/4X31
N/A
N/A
N/A
V
BORV1:BORV0 = 10
2.34
2.72
3.10
V
BORV1:BORV0 = 01
3.63
4.22
4.81
V
BORV1:BORV0 = 00
3.90
4.54
5.18
V
PIC18F2X31/4X31
Reserved
Industrial Low Voltage (-40°C to -10°C)
BORV1:BORV0 = 11
D005G
Reserved
Industrial (-10°C to +85°C)
BORV1:BORV0 = 1x
N/A
N/A
N/A
V
Reserved
BORV1:BORV0 = 01
3.88
4.22
4.56
V
(Note 2)
BORV1:BORV0 = 00
4.18
4.54
4.90
V
(Note 2)
D005H
PIC18F2X31/4X31
Industrial (-40°C to -10°C)
BORV1:BORV0 = 1x
N/A
N/A
N/A
V
Reserved
BORV1:BORV0 = 01
N/A
N/A
N/A
V
Reserved
BORV1:BORV0 = 00
3.90
4.54
5.18
V
(Note 2)
D005J
PIC18F2X31/4X31
Extended (-10°C to +85°C)
BORV1:BORV0 = 1x
N/A
N/A
N/A
V
Reserved
BORV1:BORV0 = 01
3.88
4.22
4.56
V
(Note 2)
BORV1:BORV0 = 00
4.18
4.54
4.90
V
(Note 2)
D005K
Legend:
Note 1:
2:
Industrial Low Voltage (-10°C to +85°C)
BORV1:BORV0 = 11
PIC18F2X31/4X31
Extended (-40°C to -10°C, +85°C to +125°C)
BORV1:BORV0 = 1x
N/A
N/A
N/A
V
Reserved
BORV1:BORV0 = 01
N/A
N/A
N/A
V
Reserved
BORV1:BORV0 = 00
3.90
4.54
5.18
V
(Note 2)
Shading of rows is to assist in readability of the table.
This is the limit to which VDD can be lowered in Sleep mode, or during a device Reset, without losing RAM data.
When BOR is on and BORV<1:0> = 0x, the device will operate correctly at 40 MHz for any VDD at which the BOR
allows execution.
© 2005 Microchip Technology Inc.
DS80239A-page 3
PIC18F2331/2431/4331/4431
5. Module: LVD Characteristics
Specifications and parameter numbers have been
revised for specific temperature ranges for date
codes from 0421xxx and higher.
The specifications and parameter numbers for the
Low-Voltage Detect thresholds (VLVD, originally
parameter D420) in Table 25-2 of the Device Data
Sheet have been changed.
The new information is shown in bold text.
The specifications and parameter numbers have
been revised for devices with date codes from
0401xxx to 0420xxx, inclusive.
TABLE 25-2:
LOW-VOLTAGE DETECT CHARACTERISTICS
PIC18LF2331/2431/4331/4431
(Industrial)
Standard Operating Conditions (unless otherwise stated)
Operating temperature
-40°C ≤ TA ≤ +85°C for industrial
PIC18F2331/2431/4331/4431
(Industrial, Extended)
Standard Operating Conditions (unless otherwise stated)
Operating temperature
-40°C ≤ TA ≤ +85°C for industrial
-40°C ≤ TA ≤ +125°C for extended
Param
No.
Symbol
Characteristic
Min
Typ†
Max
Units
Conditions
Date Codes from 0401xxx to 0420xxx, inclusive
D420A
VLVD
LVD Voltage on VDD Transition High-to-Low
PIC18LF2X31/4X31 LVDL<3:0> = 0000
D420C
Legend:
†
N/A
N/A
N/A
V
Reserved
Reserved
LVDL<3:0> = 0001
N/A
N/A
N/A
V
LVDL<3:0> = 0010
2.08
2.26
2.44
V
LVDL<3:0> = 0011
2.26
2.45
2.65
V
LVDL<3:0> = 0100
2.35
2.55
2.76
V
LVDL<3:0> = 0101
2.55
2.77
2.99
V
LVDL<3:0> = 0110
2.64
2.87
3.10
V
LVDL<3:0> = 0111
2.82
3.07
3.31
V
LVDL<3:0> = 1000
3.09
3.36
3.63
V
LVDL<3:0> = 1001
3.29
3.57
3.86
V
LVDL<3:0> = 1010
3.38
3.67
3.96
V
LVDL<3:0> = 1011
3.56
3.87
4.18
V
LVDL<3:0> = 1100
3.75
4.07
4.40
V
LVDL<3:0> = 1101
3.93
4.28
4.62
V
LVDL<3:0> = 1110
4.23
4.60
4.96
V
LVD Voltage on VDD Transition High-to-Low
D420B
Industrial Low Voltage (-40°C to +85°C)
Industrial (-40°C to +85°C)
PIC18F2X31/4X31 LVDL<3:0> = 1011
3.56
3.87
4.18
V
LVDL<3:0> = 1100
3.75
4.07
4.40
V
LVDL<3:0> = 1101
3.93
4.28
4.62
V
LVDL<3:0> = 1110
4.23
4.60
4.96
V
LVD Voltage on VDD Transition High-to-Low
Extended (-40°C to +125°C)
PIC18F2X31/4X31 LVDL<3:0> = 1011
3.41
3.87
4.33
V
LVDL<3:0> = 1100
3.58
4.07
4.56
V
LVDL<3:0> = 1101
3.77
4.28
4.79
V
LVDL<3:0> = 1110
4.04
4.60
5.15
V
Shading of rows is to assist in readability of the table.
Production tested at TAMB = 25°C. Specifications over temperature limits ensured by characterization.
DS80239A-page 4
© 2005 Microchip Technology Inc.
PIC18F2331/2431/4331/4431
TABLE 25-2:
LOW-VOLTAGE DETECT CHARACTERISTICS (CONTINUED)
PIC18LF2331/2431/4331/4431
(Industrial)
Standard Operating Conditions (unless otherwise stated)
Operating temperature
-40°C ≤ TA ≤ +85°C for industrial
PIC18F2331/2431/4331/4431
(Industrial, Extended)
Standard Operating Conditions (unless otherwise stated)
Operating temperature
-40°C ≤ TA ≤ +85°C for industrial
-40°C ≤ TA ≤ +125°C for extended
Param
No.
Symbol
Characteristic
Min
Typ†
Max
Units
Conditions
Date Codes from 0421xxx and higher
D420D
VLVD
D420F
Legend:
†
LVD Voltage on VDD Transition High-to-Low
Industrial Low Voltage (-10°C to +85°C)
PIC18LF2X31/4X31 LVDL<3:0> = 0000
N/A
N/A
N/A
V
Reserved
LVDL<3:0> = 0001
N/A
N/A
N/A
V
Reserved
LVDL<3:0> = 0010
2.08
2.26
2.44
V
LVDL<3:0> = 0011
2.26
2.45
2.65
V
LVDL<3:0> = 0100
2.35
2.55
2.76
V
LVDL<3:0> = 0101
2.55
2.77
2.99
V
LVDL<3:0> = 0110
2.64
2.87
3.10
V
LVDL<3:0> = 0111
2.82
3.07
3.31
V
LVDL<3:0> = 1000
3.09
3.36
3.63
V
LVDL<3:0> = 1001
3.29
3.57
3.86
V
LVDL<3:0> = 1010
3.38
3.67
3.96
V
LVDL<3:0> = 1011
3.56
3.87
4.18
V
LVDL<3:0> = 1100
3.75
4.07
4.40
V
LVDL<3:0> = 1101
3.93
4.28
4.62
V
LVDL<3:0> = 1110
4.23
4.60
4.96
V
LVD Voltage on VDD Transition High-to-Low
Industrial Low Voltage (-40°C to -10°C)
PIC18LF2X31/4X31 LVDL<3:0> = 0000
N/A
N/A
N/A
V
Reserved
LVDL<3:0> = 0001
N/A
N/A
N/A
V
Reserved
LVDL<3:0> = 0010
1.99
2.26
2.53
V
LVDL<3:0> = 0011
2.16
2.45
2.75
V
LVDL<3:0> = 0100
2.25
2.55
2.86
V
LVDL<3:0> = 0101
2.43
2.77
3.10
V
LVDL<3:0> = 0110
2.53
2.87
3.21
V
LVDL<3:0> = 0111
2.70
3.07
3.43
V
LVDL<3:0> = 1000
2.96
3.36
3.77
V
LVDL<3:0> = 1001
3.14
3.57
4.00
V
LVDL<3:0> = 1010
3.23
3.67
4.11
V
LVDL<3:0> = 1011
3.41
3.87
4.34
V
LVDL<3:0> = 1100
3.58
4.07
4.56
V
LVDL<3:0> = 1101
3.76
4.28
4.79
V
LVDL<3:0> = 1110
4.04
4.60
5.15
V
Shading of rows is to assist in readability of the table.
Production tested at TAMB = 25°C. Specifications over temperature limits ensured by characterization.
© 2005 Microchip Technology Inc.
DS80239A-page 5
PIC18F2331/2431/4331/4431
TABLE 25-2:
LOW-VOLTAGE DETECT CHARACTERISTICS (CONTINUED)
PIC18LF2331/2431/4331/4431
(Industrial)
Standard Operating Conditions (unless otherwise stated)
Operating temperature
-40°C ≤ TA ≤ +85°C for industrial
PIC18F2331/2431/4331/4431
(Industrial, Extended)
Standard Operating Conditions (unless otherwise stated)
Operating temperature
-40°C ≤ TA ≤ +85°C for industrial
-40°C ≤ TA ≤ +125°C for extended
Param
No.
Symbol
Characteristic
Min
Typ†
Max
Units
Conditions
Date Codes from 0421xxx and higher
D420G
VLVD
D420H
LVD Voltage on VDD Transition High-to-Low
3.93
4.28
4.62
V
LVDL<3:0> = 1110
4.23
4.60
4.96
V
LVD Voltage on VDD Transition High-to-Low
PIC18F2X31/4X31 LVDL<3:0> = 1101
LVDL<3:0> = 1110
D420J
LVD Voltage on VDD Transition High-to-Low
PIC18F2X31/4X31 LVDL<3:0> = 1101
LVDL<3:0> = 1110
D420K
Legend:
†
Industrial (-10°C to +85°C)
PIC18F2X31/4X31 LVDL<3:0> = 1101
LVD Voltage on VDD Transition High-to-Low
Industrial (-40°C to -10°C)
3.76
4.28
4.79
V
4.04
4.60
5.15
V
Reserved
Extended (-10°C to +85°C)
3.94
4.28
4.62
V
4.23
4.60
4.96
V
Extended (-40°C to -10°C, +85°C to +125°C)
PIC18F2X31/4X31 LVDL<3:0> = 1101
3.77
4.28
4.79
V
LVDL<3:0> = 1110
4.05
4.60
5.15
V
Reserved
Shading of rows is to assist in readability of the table.
Production tested at TAMB = 25°C. Specifications over temperature limits ensured by characterization.
DS80239A-page 6
© 2005 Microchip Technology Inc.
PIC18F2331/2431/4331/4431
6. Module: 28-Pin QFN Diagram
A 28-pin QFN package has been introduced for
the PIC18F2331 and PIC18F2431 devices. The
Device Data Sheet has been updated as follows:
• The Pin Diagram section (page 3) has been
updated to include the new 28-pin QFN
package.
FIGURE 1:
28-PIN QFN DIAGRAM
28
27
26
25
24
23
22
RA1/AN1
RA0/AN0
MCLR/VPP/RE3
RB7/KBI3/PGD
RB6/KBI2/PGC
RB5/KBI1/PWM4/PGM(1)
RB4/KBI0/PWM5
28-Pin QFN
PIC18F2231
PIC18F2431
8
9
10
11
12
13
14
1
2
3
4
5
6
7
21
20
19
18
17
16
15
RB3/PWM3
RB2/PWM2
RB1/PWM1
RB0/PWM0
VDD
VSS
RC7/RX/DT/SDO
RC0/T1OSO/T1CKI
RC1/T1OSI/CCP2/FLTA
RC2/CCP1/FLTB
RC3/T0CKI/T5CKI/INT0
RC4/INT1/SDI/SDA
RC5/INT2/SCK/SCL
RC6/TX/CK/SS
RA2/AN2/VREF-/CAP1/INDX
RA3/AN3/VREF+/CAP2/QEA
RA4/AN4/CAP3/QEB
VDD
VSS
OSC1/CLKI/RA7
OSC2/CLKO/RA6
Note
1:
Low-Voltage Programming must be enabled.
• The Packages information in Table 1-1 (page 9)
and Table B-1 (page 379) has been updated to
include a reference to the 28-pin QFN. The new
text is shown in bold.
TABLE 1:
Features
Packages
© 2005 Microchip Technology Inc.
PIC18F2331
PIC18F2431
PIC18F4331
PIC18F4431
28-pin SDIP
28-pin SOIC
28-pin QFN
28-pin SDIP
28-pin SOIC
28-pin QFN
40-pin DIP
44-pin TQFP
44-pin QFN
40-pin DIP
44-pin TQFP
44-pin QFN
DS80239A-page 7
PIC18F2331/2431/4331/4431
• A new column with pin number information for
the 28-pin QFN package has been added to
Table 1-2 (pages 12-14). New information is
shown in bold text.
TABLE 1-2:
PIC18F2331/2431 PINOUT I/O DESCRIPTIONS
Pin
Number
Pin Name
DIP,
QFN
SOIC
MCLR/VPP/RE3
MCLR
1
26
VPP
RE3
OSC1/CLKI/RA7
OSC1
9
Pin Buffer
Type Type
I
ST
P
I
ST
6
I
CLKI
I
RA7
I/O
OSC2/CLKO/RA6
OSC2
10
Description
Master Clear (input) or programming voltage (input).
Master Clear (Reset) input. This pin is an active-low
Reset to the device.
High-voltage ICSP programming enable pin.
Digital input. Available only when MCLR is disabled.
Oscillator crystal or external clock input.
Oscillator crystal input or external clock source input.
ST buffer when configured in RC mode, CMOS otherwise.
CMOS
External clock source input. Always associated with pin
function OSC1. (See related OSC1/CLKI, OSC2/CLKO pins.)
TTL
General purpose I/O pin.
ST
7
O
—
CLKO
O
—
RA6
I/O
TTL
Oscillator crystal or clock output.
Oscillator crystal output. Connects to crystal or resonator
in Crystal Oscillator mode.
In RC mode, OSC2 pin outputs CLKO, which has 1/4 the
frequency of OSC1 and denotes the instruction cycle rate.
General purpose I/O pin.
PORTA is a bidirectional I/O port.
RA0/AN0
RA0
AN0
2
RA1/AN1
RA1
AN1
3
RA2/AN2/VREF-/CAP1/INDX
RA2
AN2
VREFCAP1
INDX
4
RA3/AN3/VREF+/CAP2/QEA
RA3
AN3
VREF+
CAP2
QEA
5
RA4/AN4/CAP3/QEB
RA4
AN4
CAP3
QEB
6
Legend: TTL
ST
O
OD
DS80239A-page 8
27
I/O
TTL
I Analog
Digital I/O.
Analog input 0.
I/O
TTL
I Analog
Digital I/O.
Analog input 1.
TTL
I/O
I Analog
I Analog
I
ST
I
ST
Digital I/O.
Analog input 2.
A/D reference voltage (Low) input.
Input capture pin 1.
Quadrature Encoder Interface index input pin.
I/O
TTL
I Analog
I Analog
I
ST
I
ST
Digital I/O.
Analog input 3.
A/D reference voltage (High) input.
Input capture pin 2.
Quadrature Encoder Interface channel A input pin.
I/O
TTL
I Analog
I
ST
I
ST
Digital I/O.
Analog input 4.
Input capture pin 3.
Quadrature Encoder Interface channel B input pin.
28
1
2
3
= TTL compatible input
= Schmitt Trigger input with CMOS levels
= Output
= Open-Drain (no diode to VDD)
CMOS = CMOS compatible input or output
I
= Input
P
= Power
© 2005 Microchip Technology Inc.
PIC18F2331/2431/4331/4431
TABLE 1-2:
PIC18F2331/2431 PINOUT I/O DESCRIPTIONS (CONTINUED)
Pin
Number
Pin Name
Pin Buffer
Type Type
DIP,
QFN
SOIC
Description
PORTB is a bidirectional I/O port. PORTB can be software
programmed for internal weak pull-ups on all inputs.
RB0/PWM0
RB0
PWM0
21
RB1/PWM1
RB1
PWM1
22
RB2/PWM2
RB2
PWM2
23
RB3/PWM3
RB3
PWM3
24
RB4/KBI0/PWM5
RB4
KBI0
PWM5
25
RB5/KBI1/PWM4/PGM
RB5
KBI1
PWM4
PGM
26
RB6/KBI2/PGC
RB6
KBI2
PGC
27
RB7/KBI3/PGD
RB7
KBI3
PGD
28
Legend: TTL
ST
O
OD
18
I/O
O
TTL
TTL
Digital I/O.
PWM output 0.
I/O
O
TTL
TTL
Digital I/O.
PWM output 1.
I/O
O
TTL
TTL
Digital I/O.
PWM output 2.
I/O
O
TTL
TTL
Digital I/O.
PWM output 3.
I/O
I
O
TTL
TTL
TTL
Digital I/O.
Interrupt-on-change pin.
PWM output 5.
I/O
I
O
I/O
TTL
TTL
TTL
ST
Digital I/O.
Interrupt-on-change pin.
PWM output 4.
Low-Voltage ICSP™ Programming entry pin.
I/O
I
I/O
TTL
TTL
ST
Digital I/O.
Interrupt-on-change pin.
In-Circuit Debugger and ICSP programming clock pin.
I/O
I
I/O
TTL
TTL
ST
Digital I/O.
Interrupt-on-change pin.
In-Circuit Debugger and ICSP programming data pin.
19
20
21
22
23
24
25
= TTL compatible input
= Schmitt Trigger input with CMOS levels
= Output
= Open-Drain (no diode to VDD)
© 2005 Microchip Technology Inc.
CMOS = CMOS compatible input or output
I
= Input
P
= Power
DS80239A-page 9
PIC18F2331/2431/4331/4431
TABLE 1-2:
PIC18F2331/2431 PINOUT I/O DESCRIPTIONS (CONTINUED)
Pin
Number
Pin Name
Pin Buffer
Type Type
DIP,
QFN
SOIC
Description
PORTC is a bidirectional I/O port.
RC0/T1OSO/T1CKI
RC0
T1OSO
T1CKI
11
RC1/T1OSI/CCP2/FLTA
RC1
T1OSI
CCP2
FLTA
12
RC2/CCP1/FLTB
RC2
CCP1
FLTB
13
RC3/T0CKI/T5CKI/INT0
RC3
T0CKI
T5CKI
INT0
14
RC4/INT1/SDI/SDA
RC4
INT1
SDI
SDA
15
RC5/INT2/SCK/SCL
RC5
INT2
SCK
SCL
16
RC6/TX/CK/SS
RC6
TX
CK
SS
17
RC7/RX/DT/SDO
RC7
RX
DT
SDO
18
8
I/O
O
I
ST
—
ST
Digital I/O.
Timer1 oscillator output.
Timer1 external clock input.
I/O
I
I/O
I
ST
CMOS
ST
ST
Digital I/O.
Timer1 oscillator input.
Capture 2 input, Compare 2 output, PWM 2 output.
Fault interrupt input pin.
I/O
I/O
I
ST
ST
ST
Digital I/O.
Capture 1 input/Compare 1 output/PWM 1 output.
Fault interrupt input pin.
I/O
I
I
I
ST
ST
ST
ST
Digital I/O.
Timer0 alternate clock input.
Timer5 alternate clock input.
External interrupt 0.
I/O
I
I
I/O
ST
ST
ST
ST
Digital I/O.
External interrupt 1.
SPI™ data in.
I2C™ data I/O.
I/O
I
I/O
I/O
ST
ST
ST
ST
Digital I/O.
External interrupt 2.
Synchronous serial clock input/output for SPI mode.
Synchronous serial clock input/output for I2C mode.
I/O
O
I/O
I
ST
—
ST
TTL
Digital I/O.
USART asynchronous transmit.
USART synchronous clock (see related RX/DT).
SPI slave select input.
I/O
I
I/O
O
ST
ST
ST
—
Digital I/O.
USART asynchronous receive.
USART synchronous data (see related TX/CK).
SPI data out.
9
10
11
12
13
14
15
VSS
8, 19
5,
16
P
—
Ground reference for logic and I/O pins.
VDD
7, 20
4,
17
P
—
Positive supply for logic and I/O pins.
Legend: TTL
ST
O
OD
= TTL compatible input
= Schmitt Trigger input with CMOS levels
= Output
= Open-Drain (no diode to VDD)
DS80239A-page 10
CMOS = CMOS compatible input or output
I
= Input
P
= Power
© 2005 Microchip Technology Inc.
PIC18F2331/2431/4331/4431
• 28-pin QFN details have been added to
Section 27.1 “Package Marking Information”
(page 373).
27.1
Package Marking Information
28-Lead QFN
Example
XXXXXXXX
XXXXXXXX
YYWWNNN
Legend: XX...X
Y
YY
WW
NNN
e3
*
Note:
*
18F2431
-I/MM
0410017
Customer-specific information
Year code (last digit of calendar year)
Year code (last 2 digits of calendar year)
Week code (week of January 1 is week ‘01’)
Alphanumeric traceability code
Pb-free JEDEC designator for Matte Tin (Sn)
This package is Pb-free. The Pb-free JEDEC designator ( e3 )
can be found on the outer packaging for this package.
In the event the full Microchip part number cannot be marked on one line, it will
be carried over to the next line, thus limiting the number of available
characters for customer-specific information.
Standard PICmicro device marking consists of Microchip part number, year code, week code, and
traceability code. For PICmicro device marking beyond this, certain price adders apply. Please check
with your Microchip Sales Office. For QTP devices, any special marking adders are included in QTP
price.
© 2005 Microchip Technology Inc.
DS80239A-page 11
PIC18F2331/2431/4331/4431
• 28-pin QFN packaging details have been added
to Section 27.2 “Package Details” (page 374).
28-Lead Plastic Quad Flat No Lead Package (MM) 6x6x0.9 mm Body (QFN-S) –
With 0.40 mm Contact Length (Saw Singulated)
E2
E
EXPOSED
METAL
PAD
e
D
D2
b
2
1
n
OPTIONAL
INDEX
AREA
TOP VIEW
ALTERNATE
INDEX
INDICATORS
L
BOTTOM VIEW
A1
A
Number of Pins
Pitch
Overall Height
Standoff
Overall Width
Exposed Pad Width
Overall Length
Exposed Pad Length
Lead Width
Lead Length
Units
Dimension Limits
n
e
A
A1
E
E2
D
D2
b
L
MIN
.031
.000
.232
.169
.232
.169
.013
.012
INCHES
NOM
28
.026 BSC
.035
.001
.236
.175
.236
.175
.015
.016
MAX
.039
.002
.240
.177
.240
.177
.017
.020
MILLIMETERS*
NOM
28
0.65 BSC
0.90
0.80
0.02
0.00
6.00
5.90
4.30
4.45
5.90
6.00
4.30
4.45
0.33
0.38
0.30
0.40
MIN
MAX
1.00
0.05
6.10
4.50
6.10
4.50
0.43
0.50
*Controlling Parameter
Notes:
JEDEC equivalent: MO-220
Drawing No. C04-124
DS80239A-page 12
Revised 05/24/04
© 2005 Microchip Technology Inc.
PIC18F2331/2431/4331/4431
REVISION HISTORY
Rev A Document (06/2005)
First revision of this document. Data Sheet Clarification
issues 1 (Power-on Reset), 2 (Watchdog Timer), 3 (PWM
Equations), 4 (DC Characteristics), 5 (LVD Characteristics), and 6 (28-Pin QFN Diagram).
© 2005 Microchip Technology Inc.
DS80239A-page 13
PIC18F2331/2431/4331/4431
NOTES:
DS80239A-page 14
© 2005 Microchip Technology Inc.
Note the following details of the code protection feature on Microchip devices:
•
Microchip products meet the specification contained in their particular Microchip Data Sheet.
•
Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the
intended manner and under normal conditions.
•
There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
•
Microchip is willing to work with the customer who is concerned about the integrity of their code.
•
Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not
mean that we are guaranteeing the product as “unbreakable.”
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our
products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
Information contained in this publication regarding device
applications and the like is provided only for your convenience
and may be superseded by updates. It is your responsibility to
ensure that your application meets with your specifications.
MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED,
WRITTEN OR ORAL, STATUTORY OR OTHERWISE,
RELATED TO THE INFORMATION, INCLUDING BUT NOT
LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE,
MERCHANTABILITY OR FITNESS FOR PURPOSE.
Microchip disclaims all liability arising from this information and
its use. Use of Microchip’s products as critical components in
life support systems is not authorized except with express
written approval by Microchip. No licenses are conveyed,
implicitly or otherwise, under any Microchip intellectual property
rights.
Trademarks
The Microchip name and logo, the Microchip logo, Accuron,
dsPIC, KEELOQ, microID, MPLAB, PIC, PICmicro, PICSTART,
PRO MATE, PowerSmart, rfPIC, and SmartShunt are
registered trademarks of Microchip Technology Incorporated
in the U.S.A. and other countries.
AmpLab, FilterLab, Migratable Memory, MXDEV, MXLAB,
PICMASTER, SEEVAL, SmartSensor and The Embedded
Control Solutions Company are registered trademarks of
Microchip Technology Incorporated in the U.S.A.
Analog-for-the-Digital Age, Application Maestro, dsPICDEM,
dsPICDEM.net, dsPICworks, ECAN, ECONOMONITOR,
FanSense, FlexROM, fuzzyLAB, In-Circuit Serial
Programming, ICSP, ICEPIC, Linear Active Thermistor,
MPASM, MPLIB, MPLINK, MPSIM, PICkit, PICDEM,
PICDEM.net, PICLAB, PICtail, PowerCal, PowerInfo,
PowerMate, PowerTool, rfLAB, rfPICDEM, Select Mode,
Smart Serial, SmartTel, Total Endurance and WiperLock 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.
© 2005, Microchip Technology Incorporated, Printed in the
U.S.A., All Rights Reserved.
Printed on recycled paper.
Microchip received ISO/TS-16949:2002 quality system certification for
its worldwide headquarters, design and wafer fabrication facilities in
Chandler and Tempe, Arizona and Mountain View, California in
October 2003. The Company’s quality system processes and
procedures are for its PICmicro® 8-bit MCUs, KEELOQ® code hopping
devices, Serial EEPROMs, microperipherals, nonvolatile memory and
analog products. In addition, Microchip’s quality system for the design
and manufacture of development systems is ISO 9001:2000 certified.
© 2005 Microchip Technology Inc.
DS80239A-page 15
WORLDWIDE SALES AND SERVICE
AMERICAS
ASIA/PACIFIC
ASIA/PACIFIC
EUROPE
Corporate Office
2355 West Chandler Blvd.
Chandler, AZ 85224-6199
Tel: 480-792-7200
Fax: 480-792-7277
Technical Support:
http://support.microchip.com
Web Address:
www.microchip.com
Australia - Sydney
Tel: 61-2-9868-6733
Fax: 61-2-9868-6755
India - Bangalore
Tel: 91-80-2229-0061
Fax: 91-80-2229-0062
China - Beijing
Tel: 86-10-8528-2100
Fax: 86-10-8528-2104
India - New Delhi
Tel: 91-11-5160-8631
Fax: 91-11-5160-8632
Austria - Weis
Tel: 43-7242-2244-399
Fax: 43-7242-2244-393
Denmark - Ballerup
Tel: 45-4450-2828
Fax: 45-4485-2829
China - Chengdu
Tel: 86-28-8676-6200
Fax: 86-28-8676-6599
Japan - Kanagawa
Tel: 81-45-471- 6166
Fax: 81-45-471-6122
France - Massy
Tel: 33-1-69-53-63-20
Fax: 33-1-69-30-90-79
China - Fuzhou
Tel: 86-591-8750-3506
Fax: 86-591-8750-3521
Korea - Seoul
Tel: 82-2-554-7200
Fax: 82-2-558-5932 or
82-2-558-5934
Germany - Ismaning
Tel: 49-89-627-144-0
Fax: 49-89-627-144-44
Atlanta
Alpharetta, GA
Tel: 770-640-0034
Fax: 770-640-0307
Boston
Westborough, MA
Tel: 774-760-0087
Fax: 774-760-0088
Chicago
Itasca, IL
Tel: 630-285-0071
Fax: 630-285-0075
Dallas
Addison, TX
Tel: 972-818-7423
Fax: 972-818-2924
Detroit
Farmington Hills, MI
Tel: 248-538-2250
Fax: 248-538-2260
Kokomo
Kokomo, IN
Tel: 765-864-8360
Fax: 765-864-8387
China - Hong Kong SAR
Tel: 852-2401-1200
Fax: 852-2401-3431
China - Shanghai
Tel: 86-21-5407-5533
Fax: 86-21-5407-5066
China - Shenyang
Tel: 86-24-2334-2829
Fax: 86-24-2334-2393
China - Shenzhen
Tel: 86-755-8203-2660
Fax: 86-755-8203-1760
China - Shunde
Tel: 86-757-2839-5507
Fax: 86-757-2839-5571
China - Qingdao
Tel: 86-532-502-7355
Fax: 86-532-502-7205
Malaysia - Penang
Tel:011-604-646-8870
Fax:011-604-646-5086
Philippines - Manila
Tel: 011-632-634-9065
Fax: 011-632-634-9069
Singapore
Tel: 65-6334-8870
Fax: 65-6334-8850
Italy - Milan
Tel: 39-0331-742611
Fax: 39-0331-466781
Netherlands - Drunen
Tel: 31-416-690399
Fax: 31-416-690340
England - Berkshire
Tel: 44-118-921-5869
Fax: 44-118-921-5820
Taiwan - Kaohsiung
Tel: 886-7-536-4818
Fax: 886-7-536-4803
Taiwan - Taipei
Tel: 886-2-2500-6610
Fax: 886-2-2508-0102
Taiwan - Hsinchu
Tel: 886-3-572-9526
Fax: 886-3-572-6459
Los Angeles
Mission Viejo, CA
Tel: 949-462-9523
Fax: 949-462-9608
San Jose
Mountain View, CA
Tel: 650-215-1444
Fax: 650-961-0286
Toronto
Mississauga, Ontario,
Canada
Tel: 905-673-0699
Fax: 905-673-6509
04/20/05
DS80239A-page 16
© 2005 Microchip Technology Inc.