Datasheet

Table Of Contents
© 2006 Microchip Technology Inc. DS41159E-page 7
PIC18FXX8
1.0 DEVICE OVERVIEW
This document contains device specific information for
the following devices:
PIC18F248
PIC18F258
•PIC18F448
•PIC18F458
These devices are available in 28-pin, 40-pin and
44-pin packages. They are differentiated from each
other in four ways:
1. PIC18FX58 devices have twice the Flash
program memory and data RAM of PIC18FX48
devices (32 Kbytes and 1536 bytes vs.
16 Kbytes and 768 bytes, respectively).
2. PIC18F2X8 devices implement 5 A/D channels,
as opposed to 8 for PIC18F4X8 devices.
3. PIC18F2X8 devices implement 3 I/O ports,
while PIC18F4X8 devices implement 5.
4. Only PIC18F4X8 devices implement the
Enhanced CCP module, analog comparators
and the Parallel Slave Port.
All other features for devices in the PIC18FXX8 family,
including the serial communications modules, are
identical. These are summarized in Table 1-1.
Block diagrams of the PIC18F2X8 and PIC18F4X8
devices are provided in Figure 1-1 and Figure 1-2,
respectively. The pinouts for these device families are
listed in Table 1-2.
TABLE 1-1: PIC18FXX8 DEVICE FEATURES
Features PIC18F248 PIC18F258 PIC18F448 PIC18F458
Operating Frequency DC – 40 MHz DC – 40 MHz DC – 40 MHz DC – 40 MHz
Internal
Program
Memory
Bytes 16K 32K 16K 32K
# of Single-Word
Instructions
8192 16384 8192 16384
Data Memory (Bytes) 768 1536 768 1536
Data EEPROM Memory (Bytes) 256 256 256 256
Interrupt Sources 17 17 21 21
I/O Ports Ports A, B, C Ports A, B, C Ports A, B, C, D, E Ports A, B, C, D, E
Timers 4 4 4 4
Capture/Compare/PWM Modules 1 1 1 1
Enhanced Capture/Compare/
PWM Modules
—— 1 1
Serial Communications MSSP, CAN,
Addressable USART
MSSP, CAN,
Addressable USART
MSSP, CAN,
Addressable USART
MSSP, CAN,
Addressable USART
Parallel Communications (PSP) No No Yes Yes
10-bit Analog-to-Digital Converter 5 input channels 5 input channels 8 input channels 8 input channels
Analog Comparators No No 2 2
Analog Comparators V
REF Output N/A N/A Yes Yes
Resets (and Delays) POR, BOR,
RESET Instruction,
Stack Full,
Stack Underflow
(PWRT, OST)
POR, BOR,
RESET Instruction,
Stack Full,
Stack Underflow
(PWRT, OST)
POR, BOR,
RESET Instruction,
Stack Full,
Stack Underflow
(PWRT, OST)
POR, BOR,
RESET Instruction,
Stack Full,
Stack Underflow
(PWRT, OST)
Programmable Low-Voltage Detect Yes Yes Yes Yes
Programmable Brown-out Reset Yes Yes Yes Yes
CAN Module Yes Yes Yes Yes
In-Circuit Serial Programming™
(ICSP™)
Yes Yes Yes Yes
Instruction Set 75 Instructions 75 Instructions 75 Instructions 75 Instructions
Packages 28-pin SPDIP
28-pin SOIC
28-pin SPDIP
28-pin SOIC
40-pin PDIP
44-pin PLCC
44-pin TQFP
40-pin PDIP
44-pin PLCC
44-pin TQFP