English
Language : 

PIC18F2331 Datasheet, PDF (11/396 Pages) Microchip Technology – 28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High Performance PWM and A/D
PIC18F2331/2431/4331/4431
1.3 Details on Individual Family
Members
Devices in the PIC18F2331/2431/4331/4431 family are
available in 28-pin (PIC18F2X31) and 40/44-pin
(PIC18F4X31) packages. The block diagram for the
two groups is shown in Figure 1-1.
The devices are differentiated from each other in three
ways:
1. Flash program memory (8 Kbytes for
PIC18F2X31 devices, 16 Kbytes for
PIC18F4X31).
2. A/D channels (5 for PIC18F2X31 devices, 9 for
PIC18F4X31 devices).
3. I/O ports (3 bidirectional ports on PIC18F2X31
devices, 5 bidirectional ports on PIC18F4X31
devices).
All other features for devices in this family are identical.
These are summarized in Table 1-1.
The pinouts for all devices are listed in Table 1-2 and
Table 1-3.
TABLE 1-1: DEVICE FEATURES
Features
PIC18F2331
PIC18F2431
PIC18F4331
PIC18F4431
Operating Frequency
DC – 40 MHz
DC – 40 MHz
DC – 40 MHz
DC – 40 MHz
Program Memory (Bytes)
Program Memory (Instructions)
Data Memory (Bytes)
Data EEPROM Memory (Bytes)
Interrupt Sources
I/O Ports
Timers
8192
4096
768
256
22
Ports A, B, C
4
16384
8192
768
256
22
Ports A, B, C
4
8192
16384
4096
8192
768
768
256
256
34
34
Ports A, B, C, D, E Ports A, B, C, D, E
4
4
Capture/Compare/PWM modules
14-bit Power Control PWM
2
(6 Channels)
2
(6 Channels)
2
(8 Channels)
2
(8 Channels)
Motion Feedback module
(Input Capture/Quadrature Encoder
Interface)
1 QEI
or
3x IC
1 QEI
or
3x IC
1 QEI
or
3x IC
1 QEI
or
3x IC
Serial Communications
SSP,
SSP,
SSP,
SSP,
Enhanced USART Enhanced USART Enhanced USART Enhanced USART
10-bit High-Speed
Analog-to-Digital Converter module
5 Input Channels
5 Input Channels
9 Input Channels
9 Input Channels
Resets (and Delays)
POR, BOR,
RESET Instruction,
Stack Full,
Stack Underflow
(PWRT, OST),
MCLR (optional),
WDT
POR, BOR,
RESET Instruction,
Stack Full,
Stack Underflow
(PWRT, OST),
MCLR (optional),
WDT
POR, BOR,
RESET Instruction,
Stack Full,
Stack Underflow
(PWRT, OST),
MCLR (optional),
WDT
POR, BOR,
RESET Instruction,
Stack Full,
Stack Underflow
(PWRT, OST),
MCLR (optional),
WDT
Programmable Low-voltage Detect
Yes
Yes
Yes
Yes
Programmable Brown-out Reset
Instruction Set
Packages
Yes
75 Instructions
28-pin SDIP
28-pin SOIC
Yes
75 Instructions
28-pin SDIP
28-pin SOIC
Yes
75 Instructions
40-pin DIP
44-pin TQFP
44-pin QFN
Yes
75 Instructions
40-pin DIP
44-pin TQFP
44-pin QFN
 2003 Microchip Technology Inc.
Preliminary
DS39616B-page 9