2001 Microchip Technology Inc. Advance Information DS39570B-page 1
MPIC18F8580/8680
High Performance RISC CPU:
C compiler optimized architecture/instruction set:
- Source code compatible with both the PIC16
and PIC18 instruction set
Up to 10 MIPS operation:
- DC - 40 MHz osc./clock input
- 4 - 10 MHz osc./clock input with PLL active
16-bit wide instructions, 8-bit wide data path
Priority levels for interrupts
8 x 8 Single Cycle Ha rdware Multipl ier
Pinout compatible to PIC18C858 family
Peripheral Features:
High curre nt sin k/ sou rce 25 mA/25 mA
Four external interrupt pins
Timer0 module: 8/16-bit timer/counter
Timer1 module: 16-bit timer/counter
Timer2 module: 8-bit timer/counter
Timer3 module: 16-bit timer/counter
Secondary oscillator clock option - Timer1/Timer3
One Capture/Compare/PWM module
One Enhanced Capture/Compare/PWM (CCP)
module with Auto-Shutdown and up to 4 PWM
outputs
Master Synchronous Serial Port (MSSP) module:
- 3-wire SPI™ (supports all 4 SPI modes)
-I
2C™ Master and Slave mode
Addressable USART module
Parallel Slave Port (PSP)
Analog Features:
10-bit 16-channel Analog-to-Digital
Converter (A/D)
Two Analog Comparators
Programmable Low Voltage Detection (LVD)
Programmable Brown-out Reset (BOR)
CAN bus Module Features:
Implements full CAN model
Message bit rates up to 1 Mbps
Conforms to CAN 2.0B ACTIVE specification
3 Transmit Message buffers with prioritization
8 Receive Message buffers and 1 Receive
Message Assembly buffer
16 full 29-bi t Acc eptance Filt ers
Prioritization of Acceptance Filters
2 full 29-bit Acceptance Filter Masks
Programmable wake-up functionality with
integrated low-pass filter
Programmable time-stamp operation for
received messages
Advanced Error Management features
Special Microcontroller Features:
100,000 erase/write cycle Enhanced FLASH
program memory typical
1,000,000 erase/write cycle Data EEPROM
memory typica l
Data EEPROM Retention > 40 years
Self-reprogrammable under software control
In-Circuit Se rial Progra mming™ (I CSP™) vi a two pins
Single supply 5V In-Circuit Serial Programming
Watchdog Timer (WDT) with on-chip RC oscillator
Selectable oscillator options including:
- 4X Phase Lock Loop
- Secondary Oscillator (32 kHz) clock input
In-Circuit Debug (ICD) via two pins
Power saving SLEEP mode
CMOS Technology:
Low power, high speed FLASH/EEPROM
technology
Wide operating voltage range (2.0V to 5.5V)
Industrial and Extended temperature ranges
Low power consumption
Device
Program Memory Data
SRAM
(Bytes)
EEPROM
(Bytes) I/O 10-bit
A/D
(ch)
CCP/ECCP
(PWM) CAN
2.0B
MSSP
AUSART Timers
8/16-bit
Bytes # Sing l e Word
Instructions SPI Master
I2C
PIC18F8580 32K 16384 3072 256 68 16 1/1 Yes Yes Yes Yes 1/3
PIC18F8680 64K 32768 3072 256 68 16 1/1 Yes Yes Yes Yes 1/3
80-Pin Enhanced FLASH CAN bus Microcontroller
Product Brief
PIC18F8580/8680
DS39570B-page 2 Advance Information 2001 Microchip Technology Inc.
Pin Diagram:
3
4
5
6
7
8
9
10
11
12
13
14
15
16
48
47
46
45
44
43
42
41
40
39
64 63 62 61
21 22 23 24 25 26 27 28 29 30 31 32
RE2/CS
RE3
RE4
RE5/P1C
RE6/P1B
RE7/CCP2
RD0/PSP0
VDD
VSS
RD1/PSP1
RD2/PSP2
RD3/PSP3
RD4/PSP4
RD5/PSP5
RD6/PSP6
RD7/PSP7
RE1/WR
RE0/RD
RG0/CANTX1
RG1/CANTX2
RG2/CANRX
RG3
MCLR/VPP
RG4/P1D
VSS
VDD
RF7
RF6/AN11
RF5/AN10/CVREF
RF4/AN9
RF3/AN8
RF2/AN7/C1OUT
RB0/INT0
RB1/INT1
RB2/INT2
RB3/INT3
RB4
RB5/PGM
RB6/PGC
VSS
OSC2/CLKO/RA6
OSC1/CLKI
VDD
RB7/PGD
RC4/SDI/SDA
RC3/SCK/SCL
RC2/CCP1/P1A
RF0/AN5
RF1/AN6/C2OUT
AVDD
AVSS
RA3/AN3/VREF+
RA2/AN2/VREF-
RA1/AN1
RA0/AN0
VSS
VDD
RA4/T0CKI
RA5/SS/AN4/LVDIN
RC1/T1OSI
RC0/T1OSO/T13CKI
RC7/RX/DT
RC6/TX/CK
RC5/SDO
RJ0
RJ1
RH1
RH0
1
2
RH2
RH3
17
18
RH7/AN15
RH6/AN14
RH5/AN13
RH4/AN12
RK1
RK0
37
RK3
RK2
50
49
RJ2
RJ3
19
20
33 34 35 36 38
58
57
56
55
54
53
52
51
60
59
68 67 66 6572 71 70 6974 73
78 77 76 75
7980
PIC18F8580
PIC18F8680
80-pin TQFP
Note: Pinout subject to change.
2001 Microchip Technology Inc. Advance Information DS39570B - page 3
Information contained in this publication regarding device
applications and the like is intended through suggestion only
and may be superseded by updates. It is your responsibility to
ensure that your application meets with your specifications.
No representation or warranty is given and no liability is
assumed by Microc hip Technology Incorporated with respect
to the accuracy or use of such inform ation, or infringement of
patents or other intellectual property rights arising from such
use or otherwise. Use of Microchip’s products as critical com-
ponents in life support systems is not authorized except with
express written approval by Microchip. No licenses are con-
veyed, implicitly or otherwise, under any intellectual property
rights.
Trademarks
The Mi crochip name and logo, the Micr ochip lo go, PIC, PICm icro,
PICMASTER, PICSTART, PRO MATE, KEELOQ, SEEVAL,
MPLAB and The Embedded Control Solutions Company are reg-
istered tradem arks of Microchip Techno logy Incorp orated in the
U.S.A. and other countries.
Total Endurance, ICSP, In-Circuit Serial Programming, Filter-
Lab, MXDEV, microID,
Flex
ROM,
fuzzy
LAB, MPASM,
MPLINK, MPLIB, PICC, PICDEM, PICDEM.net, ICEPIC,
Migratable Memory, FanSense, ECONOMONITOR, Select
Mode and microPort are trademarks of Microchip Technology
Incorporated in the U.S.A.
Serialized Quick Term Programming (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.
© 2001, Microchip Technology Incorporated, Printed in the
U.S.A., All Rights Reserved.
Printed on recycled paper.
Microchip received QS-9000 quality system
certification for its worldwide headquarters,
design and wafer fabrication facilities in
Chandler and T empe, Arizona in July 1999. The
Company’s quality system processes and
procedures are QS-9000 compliant for its
PICmicro
®
8-bit MCUs, KEELOQ
®
code hopping
devices, Serial EEPROMs and microperipheral
products. In addition, Microchip’s quality
system for the design and manufacture of
development systems is ISO 9001 certified.
Note the following details of the code protection feature on PICmicro® MCUs.
The PICmicro family meets the specifications contained in the Microchip Data Sheet.
Microchip believes that its family of PICmicro microcontrollers is one of the most secure products 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 know l-
edge, require using the PICmicro microcontroller in a manner outside the operating specifications contained in the data sheet.
The person doing so may be 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 protecti on does not
mean that we are guaranteeing the product as “unbreakable”.
Code protection is constant ly evolving. We at Microchip are committed to continuously i mproving the code protection features of
our product.
If you have any further questions about this matter, please contact the local sales office nearest to you.
DS39570B-page 4 2001 Microchip Technology Inc.
M
AMERICAS
Corporate Office
2355 West Chandler Blvd.
Chandler, AZ 85224-6199
Tel: 480-792-7200 Fax: 480-792-7277
Technical Support: 480-792-7627
Web Address: http://ww w.microchip .com
Rocky Mountain
2355 West Chandler Blvd.
Chandler, AZ 85224-6199
Tel: 480-792-7966 Fax: 480-792-7456
Atlanta
500 Sugar Mill Road, Suite 200B
Atlanta, GA 30350
Tel: 770-640- 003 4 Fax: 770- 640 -03 07
Austin - Analog
13740 North Highway 183
Building J, Suite 4
Austin, TX 78750
Tel: 512-257- 337 0 Fax: 512- 257 -85 26
Boston
2 Lan Drive, Suite 120
Westford, MA 01886
Tel: 978-692- 384 8 Fax: 978- 692 -38 21
Boston - Analog
Unit A-8-1 Millbrook Tarry Condominium
97 Lowell Road
Concord, MA 01742
Tel: 978-371- 640 0 Fax: 978- 371 -00 50
Chicago
333 Pierce Road, Suite 180
Itasca, IL 60143
Tel: 630-285-0071 Fax: 630-285-0075
Dallas
4570 Westgrove Drive, Suite 160
Addison, TX 7500 1
Tel: 972-818- 742 3 Fax: 972- 818 -29 24
Dayton
Tw o Pres tige Pla ce, Su ite 130
Miamisburg, OH 45342
Tel: 937-291- 165 4 Fax: 937- 291 -91 75
Detroit
Tri-Atria Office Building
32255 Northwestern Highway, Suite 190
Farmington Hills, MI 48334
Tel: 248-538-2250 Fax: 248-538-2260
Los Angeles
18201 Von Karman, Suite 1090
Irvine, CA 92612
Tel: 949-263- 188 8 Fax: 949- 263 -13 38
New York
150 Motor Parkway, Suite 202
Hauppauge, NY 11788
Tel: 631-273- 530 5 Fax: 631- 273 -53 35
San Jose
Microchip Technology Inc.
2107 North First Street, Suite 590
San Jose, CA 95131
Tel: 408-436- 795 0 Fax: 408- 436 -79 55
Toronto
6285 Northam Drive, Suite 108
Mississauga, Ontario L4V 1X5, Canada
Tel: 905-673-0699 Fax: 905-673-6509
ASIA/PACIFIC
Australia
Microchip Technology Australia Pty Ltd
Suite 22, 41 Rawson Street
Epping 2121, NSW
Australia
Tel: 61-2-9868-6733 Fax: 61-2-9868-6755
China - Beijing
Microchip Technology Consulting (Shanghai)
Co., Ltd., Beijing Liaison Office
Unit 915
Bei Hai Wa n Tai Bldg.
No. 6 Chaoyangmen Beidajie
Beijing, 100027, No. China
Tel: 86-10-85282100 Fax: 86-10-85282104
China - Chengdu
Microchip Technology Consulting (Shanghai)
Co., Ltd., Chengdu Liaison Office
Rm. 2401, 24th Floor,
Ming Xing Financial Tower
No. 88 TIDU Street
Chengdu 610016, China
Tel: 86-28-6766200 Fax: 86-28-6766599
China - Fuzhou
Microchip Technology Consulting (Shanghai)
Co., Ltd., Fuzhou Liaison Of fice
Rm. 531, North Building
Fujian Foreign Trade Center Hotel
73 Wusi Road
Fuzhou 350001, China
Tel: 86-591-7557563 Fax: 86-591-7557572
China - Shanghai
Microchip Technology Consulting (Shanghai)
Co., Ltd.
Room 701, Bldg. B
Far East International Plaza
No. 317 Xian Xia Road
Shanghai, 200051
Tel: 86-21-6275-5700 Fax: 86-21-6275-5060
China - Shenzhen
Microchip Technology Consulting (Shanghai)
Co., Ltd., Shenzhen Liaison Office
Rm. 1315, 13/F, Shenzhen Kerry Centre,
Renminnan Lu
Shenzhen 518001, China
Tel: 86-755-2350361 Fax: 86-755-2366086
Hong Kong
Microchip Technology Hongkong Ltd.
Unit 901-6, Tower 2, Metroplaza
223 Hing Fong Road
Kwai Fong, N.T., Hong Kong
Tel: 852-2401-1200 Fax: 852-2401-3431
India
Microchip Technology Inc.
India Liaison Office
Divyasree Chambers
1 Floor, Wing A (A3/ A4)
No. 11, O’Shaugnessey Road
Bangalore, 560 025, India
Tel: 91-80-2290061 Fax: 91-80-2290062
Japan
Microchip Technology Japan K.K.
Benex S-1 6F
3-18-20, Shinyokohama
Kohoku-Ku, Yokohama-shi
Kanagawa, 222-0033, Japan
Tel: 81-45-471- 6166 Fax: 81-45-471-6122
Korea
Micro chip Technolo gy Ko rea
168-1, You ng bo Bld g. 3 Floor
Samsung-Dong, Kangnam-Ku
Seoul, Korea 135-882
Tel: 82-2-554-7200 Fax: 82-2-558-5934
Singapore
Microchip Technology Singapore Pte Ltd.
200 Middle Road
#07-02 Prime Centre
Singapore, 188980
Tel: 65-334-8870 Fax: 65-334-8850
Taiwan
Micro chip Technolo gy Taiwan
11F-3, No. 207
Tung Hua North Road
Taipei, 105, Taiwan
Tel: 886-2-2717-7175 Fax: 886-2-2545-0139
EUROPE
Denmark
Microchip Technology Denmark ApS
Regus Business Centre
Lautrup hoj 1-3
Ballerup DK-2750 Denmark
Tel: 45 4420 9895 Fax: 45 4420 9910
France
Arizona Microchip Technology SARL
Parc d’Activite du Moulin de Massy
43 Rue du Saule Trapu
Batiment A - ler Eta ge
91300 Massy, France
Tel: 33-1-69-53-63-20 Fax: 33-1-69-30-90-79
Germany
Arizona Microchip Technology GmbH
Gustav-Heinemann Ring 125
D-81739 Munich, Germany
Tel: 49-89-627-144 0 Fax: 49-89-627-144-44
Germany - Analog
Lochhamer Strasse 13
D-82152 Martinsried, Germany
Tel: 49-89-895650-0 Fax: 49-89-895650-22
Italy
Arizona Microchip Technology SRL
Centro Direzionale Colleoni
Palazzo Taurus 1 V. Le Colleoni 1
20041 Agrate Brianza
Milan, Italy
Tel: 39-039-65791-1 Fax: 39-039-6899883
United Kingdom
Arizona Microchip Technology Ltd.
505 Eskdale Road
Winnersh Triangle
Wokingham
Berksh ire, E ngla nd RG41 5TU
Tel: 44 118 921 5869 Fax: 44-118 921-5820
08/01/01
WORLDWIDE SALES AND SERVICE