English
Language : 

PIC18F258 Datasheet, PDF (9/384 Pages) Microchip Technology – High Performance, 28/40-Pin Enhanced FLASH Microcontrollers with CAN
PIC18FXX8
1.0 DEVICE OVERVIEW
This document contains device specific information for
the following devices:
1. PIC18F248
2. PIC18F258
3. PIC18F448
4. 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 pro-
gram 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
Operating Frequency
Internal Program Bytes
Memory
# of Single Word
Instructions
Data Memory (Bytes)
Data EEPROM Memory (Bytes)
Interrupt Sources
I/O Ports
Timers
Capture/Compare/PWM Modules
Enhanced Capture/Compare/PWM
Modules
Serial Communications
Parallel Communications (PSP)
10-bit Analog-to-Digital Converter
Analog Comparators
Analog Comparators VREF Output
RESETS (and Delays)
Programmable Low Voltage Detect
Programmable Brown-out Reset
CAN Module
In-Circuit Serial Programming™
(ICSP™)
Instruction Set
Packages
PIC18F248
DC - 40 MHz
16K
8192
PIC18F258
DC - 40 MHz
32K
16384
PIC18F448
DC - 40 MHz
16K
8192
PIC18F458
DC - 40 MHz
32K
16384
768
256
17
Ports A, B, C
4
1
—
1536
256
17
Ports A, B, C
4
1
—
768
1536
256
256
21
21
Ports A, B, C, D, E Ports A, B, C, D, E
4
4
1
1
1
1
MSSP, CAN,
Addressable
USART
MSSP, CAN,
Addressable
USART
No
No
5 input channels 5 input channels
No
No
N/A
N/A
POR, BOR,
POR, BOR,
RESET Instruction, RESET Instruction,
Stack Full,
Stack Full,
Stack Underflow Stack Underflow
(PWRT, OST)
(PWRT, OST)
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
MSSP, CAN,
Addressable
USART
Yes
8 input channels
2
Yes
POR, BOR,
RESET Instruction,
Stack Full,
Stack Underflow
(PWRT, OST)
Yes
Yes
Yes
Yes
MSSP, CAN,
Addressable
USART
Yes
8 input channels
2
Yes
POR, BOR,
RESET Instruction,
Stack Full,
Stack Underflow
(PWRT, OST)
Yes
Yes
Yes
Yes
75 Instructions
28-pin SPDIP
28-pin SOIC
75 Instructions
28-pin SPDIP
28-pin SOIC
75 Instructions
40-pin PDIP
44-pin PLCC
44-pin TQFP
75 Instructions
40-pin PDIP
44-pin PLCC
44-pin TQFP
 2002 Microchip Technology Inc.
Preliminary
DS41159B-page 7