PIC18F258 MICROCHIP [Microchip Technology], PIC18F258 Datasheet - Page 6
![no-image](/images/no-image-200.jpg)
PIC18F258
Manufacturer Part Number
PIC18F258
Description
High Performance, 28/40-Pin Enhanced FLASH Microcontrollers with CAN
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
1.PIC18F258.pdf
(384 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F258-E/SO
Manufacturer:
MIC
Quantity:
20 000
Company:
Part Number:
PIC18F258-I/P
Manufacturer:
ST
Quantity:
320
Company:
Part Number:
PIC18F258-I/SO
Manufacturer:
MICROCHIP
Quantity:
2 000
Part Number:
PIC18F258-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F2580
Manufacturer:
MIC
Quantity:
20 000
Company:
Part Number:
PIC18F2580-E/ML
Manufacturer:
Microchip Technology
Quantity:
135
Company:
Part Number:
PIC18F2580-E/SO
Manufacturer:
Microchi
Quantity:
2 952
Company:
Part Number:
PIC18F2580-E/SP
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC18F2580-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC18FXX8
Table of Contents
1.0
2.0
3.0
4.0
5.0
6.0
7.0
8.0
9.0
10.0 Parallel Slave Port .................................................................................................................................................................... 105
11.0 Timer0 Module ......................................................................................................................................................................... 107
12.0 Timer1 Module ......................................................................................................................................................................... 111
13.0 Timer2 Module ......................................................................................................................................................................... 115
14.0 Timer3 Module ......................................................................................................................................................................... 117
15.0 Capture/Compare/PWM (CCP) Modules ................................................................................................................................. 121
16.0 Enhanced Capture/Compare/PWM (ECCP) Module................................................................................................................ 129
17.0 Master Synchronous Serial Port (MSSP) Module .................................................................................................................... 141
18.0 Addressable Universal Synchronous Asynchronous Receiver Transmitter (USART).............................................................. 181
19.0 CAN Module ............................................................................................................................................................................. 197
20.0 Compatible 10-bit Analog-to-Digital Converter (A/D) Module................................................................................................... 237
21.0 Comparator Module.................................................................................................................................................................. 245
22.0 Comparator Voltage Reference Module ................................................................................................................................... 251
23.0 Low Voltage Detect .................................................................................................................................................................. 255
24.0 Special Features of the CPU .................................................................................................................................................... 261
25.0 Instruction Set Summary .......................................................................................................................................................... 277
26.0 Development Support............................................................................................................................................................... 319
27.0 Electrical Characteristics .......................................................................................................................................................... 325
28.0 DC and AC Characteristics Graphs and Tables ....................................................................................................................... 355
29.0 Packaging Information.............................................................................................................................................................. 357
Appendix A: Data Sheet Revision History.......................................................................................................................................... 365
Appendix B: Device Differences......................................................................................................................................................... 365
Appendix C: Device Migrations .......................................................................................................................................................... 366
Appendix D: Migrating from other PICmicro Devices......................................................................................................................... 366
Appendix E: Development Tool Version Requirements ..................................................................................................................... 367
Index .................................................................................................................................................................................................. 369
On-Line Support................................................................................................................................................................................. 379
Reader Response .............................................................................................................................................................................. 380
PIC18FXX8 Product Identification System......................................................................................................................................... 381
DS41159B-page 4
Device Overview .......................................................................................................................................................................... 7
Oscillator Configurations ............................................................................................................................................................ 17
Reset .......................................................................................................................................................................................... 25
Memory Organization ................................................................................................................................................................. 37
Data EEPROM Memory ............................................................................................................................................................ 59
FLASH Program Memory ........................................................................................................................................................... 65
8 X 8 Hardware Multiplier ........................................................................................................................................................... 75
Interrupts .................................................................................................................................................................................... 77
I/O Ports ..................................................................................................................................................................................... 93
Preliminary
2002 Microchip Technology Inc.