Text preview for : MC68302UM.pdf part of Keithley MC68302UM Keithley 2001 ds Digital MC68302UM.pdf
Back to : MC68302UM.pdf | Home
Freescale Semiconductor, Inc.
MC68302
Freescale Semiconductor, Inc...
Integrated Multiprotocol Processor
User's Manual
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
Home Page:
www.freescale.com
email:
[email protected]
USA/Europe or Locations Not Listed:
Freescale Semiconductor
Freescale Semiconductor, Inc...
Technical Information Center, CH370
1300 N. Alma School Road
Chandler, Arizona 85224
(800) 521-6274
480-768-2130
[email protected]
Europe, Middle East, and Africa:
Freescale Halbleiter Deutschland GmbH
Technical Information Center
Schatzbogen 7
81829 Muenchen, Germany
+44 1296 380 456 (English)
+46 8 52200080 (English)
+49 89 92103 559 (German)
+33 1 69 35 48 48 (French)
[email protected]
Japan:
Freescale Semiconductor Japan Ltd.
Headquarters
ARCO Tower 15F
Information in this document is provided solely to enable system and software
1-8-1, Shimo-Meguro, Meguro-ku implementers to use Freescale Semiconductor products. There are no express or
Tokyo 153-0064, Japan implied copyright licenses granted hereunder to design or fabricate any integrated
0120 191014 circuits or integrated circuits based on the information in this document.
+81 2666 8080 Freescale Semiconductor reserves the right to make changes without further notice to
[email protected] any products herein. Freescale Semiconductor makes no warranty, representation or
Asia/Pacific: guarantee regarding the suitability of its products for any particular purpose, nor does
Freescale Semiconductor Hong Kong Ltd. Freescale Semiconductor assume any liability arising out of the application or use of
any product or circuit, and specifically disclaims any and all liability, including without
Technical Information Center limitation consequential or incidental damages. "Typical" parameters which may be
2 Dai King Street provided in Freescale Semiconductor data sheets and/or specifications can and do
Tai Po Industrial Estate, vary in different applications and actual performance may vary over time. All operating
Tai Po, N.T., Hong Kong parameters, including "Typicals" must be validated for each customer application by
+800 2666 8080 customer's technical experts. Freescale Semiconductor does not convey any license
[email protected] under its patent rights nor the rights of others. Freescale Semiconductor products are
For Literature Requests Only: not designed, intended, or authorized for use as components in systems intended for
surgical implant into the body, or other applications intended to support or sustain life,
Freescale Semiconductor or for any other application in which the failure of the Freescale Semiconductor product
Literature Distribution Center could create a situation where personal injury or death may occur. Should Buyer
P.O. Box 5405 purchase or use Freescale Semiconductor products for any such unintended or
Denver, Colorado 80217 unauthorized application, Buyer shall indemnify and hold Freescale Semiconductor
(800) 441-2447 and its officers, employees, subsidiaries, affiliates, and distributors harmless against all
303-675-2140 claims, costs, damages, and expenses, and reasonable attorney fees arising out of,
Fax: 303-675-2150 directly or indirectly, any claim of personal injury or death associated with such
unintended or unauthorized use, even if such claim alleges that Freescale
LDCForFreescaleSemiconductor Semiconductor was negligent regarding the design or manufacture of the part.
@hibbertgroup.com
ii MC68302 USER'S MANUAL
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
PREFACE
The complete documentation package for the MC68302 consists of the M68000PM/AD,
MC68000 Family Programmer's Reference Manual, MC68302UM/AD, MC68302 Integrated
Multiprotocol Processor User's Manual, and the MC68302/D, MC68302 Integrated Multipro-
tocol Processor Product Brief.
The MC68302 Integrated Multiprotocol Processor User's Manual describes the program-
ming, capabilities, registers, and operation of the MC68302; the MC68000 Family Program-
mer's Reference Manual provides instruction details for the MC68302; and the MC68302
Low Power Integrated Multiprotocol Processor Product Brief provides a brief description of
the MC68302 capabilities.
This user's manual is organized as follows:
Freescale Semiconductor, Inc...
Section 1 General Description
Section 2 MC68000/MC68008 Core
Section 3 System Integration Block (SIB)
Section 4 Communications Processor (CP)
Section 5 Signal Description
Section 6 Electrical Characteristics
Section 7 Mechanical Data And Ordering Information
Appendix B Development Tools and Support
Appendix C RISC Microcode from RAM
Appendix D MC68302 Applications
Appendix E SCC Programming Reference
Appendix F Design Checklist
ELECTRONIC SUPPORT:
The Technical Support BBS, known as AESOP (Application Engineering Support Through
On-Line Productivity), can be reach by modem or the internet. AESOP provides commonly
asked application questons, latest device errata, device specs, software code, and many
other useful support functions.
Modem: Call 1-800-843-3451 (outside US or Canada 512-891-3650) on a modem that runs
at 14,400 bps or slower. Set your software to N/8/1/F emulating a vt100.
Internet: This access is provided by telneting to pirs.aus.sps.mot.com [129.38.233.1] or
through the World Wide Web at http://pirs.aus.sps.mot.com.
-- Sales Offices --
For questions or comments pertaining to technical information, questions, and applications,
please contact one of the following sales offices nearest you.
MC68302 USER'S MANUAL iii
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
UNITED STATES
ALABAMA, Huntsville (205) 464-6800 MASSACHUSETTS, Marborough (508) 481-8100
ARIZONA, Tempe (602) 897-5056 MASSACHUSETTS, Woburn (617) 932-9700
CALIFORNIA, Agoura Hills (818) 706-1929 MICHIGAN, Detroit (313) 347-6800
CALIFORNIA, Los Angeles (310) 417-8848 MINNESOTA, Minnetonka (612) 932-1500
CALIFORNIA, Irvine (714) 753-7360 MISSOURI, St. Louis (314) 275-7380
CALIFORNIA, Rosevllle (916) 922-7152 NEW JERSEY, Fairfield (201) 808-2400
CALIFORNIA, San Diego (619) 541-2163 NEW YORK, Fairport (716) 425-4000
CALIFORNIA, Sunnyvale (408) 749-0510 NEW YORK, Hauppauge (516) 361-7000
COLORADO, Colorado Springs (719) 599-7497 NEW YORK, Poughkeepsie/Fishkill (914) 473-8102
COLORADO, Denver (303) 337-3434 NORTH CAROLINA, Raleigh (919) 870-4355
CONNECTICUT, Wallingford (203) 949-4100 OHIO, Cleveland (216) 349-3100
FLORIDA, Maitland (407) 628-2636 OHIO, Columbus Worthington (614) 431-8492
FLORIDA, Pompano Beach/ OHIO, Dayton (513) 495-6800
Fort Lauderdal (305) 486-9776 OKLAHOMA, Tulsa (800) 544-9496
FLORIDA, Clearwater (813) 538-7750 OREGON, Portland (503) 641-3681
GEORGlA, Atlanta (404) 729-7100 PENNSYLVANIA, Colmar (215) 997-1020
IDAHO, Boise (208) 323-9413 Philadelphia/Horsham (215) 957-4100
ILLINOIS, Chicago/Hoffman Estates (708) 490-9500 TENNESSEE, Knoxville (615) 690-5593
INDlANA, Fort Wayne (219) 436-5818 TEXAS, Austin (512) 873-2000
INDIANA, Indianapolis (317) 571-0400 TEXAS, Houston (800) 343-2692
Freescale Semiconductor, Inc...
INDIANA, Kokomo (317) 457-6634 TEXAS, Plano (214) 516-5100
IOWA, Cedar Rapids (319) 373-1328 VIRGINIA, Richmond (804) 285-2100
KANSAS, Kansas City/Mission (913) 451-8555 WASHINGTON, Bellevue (206) 454-4160
MARYLAND, Columbia (410) 381-1570 Seattle Access (206) 622-9960
WISCONSIN, Milwaukee/Brookfield (414) 792-0122
CANADA MALAYSIA, Penang 60(4)374514
BRITISH COLUMBIA, Vancouver (604) 293-7605 MEXICO, Mexico City 52(5)282-2864
ONTARIO, Toronto (416) 497-8181 MEXICO, Guadalajara 52(36)21-8977
ONTARIO, Ottawa (613) 226-3491 Marketing 52(36)21-9023
QUEBEC, Montreal (514) 731-6881 Customer Service 52(36)669-9160
NETHERLANDS, Best (31)49988 612 11
INTERNATIONAL PUERTO RICO, San Juan (809)793-2170
AUSTRALIA, Melbourne (61-3)887-0711 SINGAPORE (65)2945438
AUSTRALIA, Sydney (61(2)906-3855 SPAIN, Madrid 34(1)457-8204
BRAZIL, Sao Paulo 55(11)815-4200 or 34(1)457-8254
CHINA, Beijing 86 505-2180 SWEDEN, Solna 46(8)734-8800
FINLAND, Helsinki 358-0-35161191 SWITZERLAND, Geneva 41(22)7991111
Car Phone 358(49)211501 SWITZERLAND, Zurich 41(1)730 4074
FRANCE, Paris/Vanves 33(1)40 955 900 TAlWAN, Taipei 886(2)717-7089
GERMANY, Langenhagen/ Hanover 49(511)789911 THAILAND, Bangkok (66-2)254-4910
GERMANY, Munich 49 89 92103-0 UNITED KINGDOM, Aylesbury 44(296)395-252
GERMANY, Nuremberg 49 911 64-3044
GERMANY, Sindelfingen 49 7031 69 910 FULL LINE REPRESENTATIVES
GERMANY,Wiesbaden 49 611 761921 COLORADO, Grand Junction
HONG KONG, Kwai Fong 852-4808333 Cheryl Lee Whltely (303) 243-9658
Tai Po 852-6668333 KANSAS, Wichita
INDIA, Bangalore (91-812)627094 Melinda Shores/Kelly Greiving (316) 838 0190
ISRAEL, Tel Aviv 972(3)753-8222 NEVADA, Reno
ITALY, Milan 39(2)82201 Galena Technology Group (702) 746 0642
JAPAN, Aizu 81(241)272231 NEW MEXICO, Albuquerque
JAPAN, Atsugi 81(0462)23-0761 S&S Technologies, lnc. (505) 298-7177
JAPAN, Kumagaya 81(0485)26-2600 UTAH, Salt Lake City
JAPAN, Kyushu 81(092)771-4212 Utah Component Sales, Inc. (801) 561-5099
JAPAN, Mito 81(0292)26-2340 WASHINGTON, Spokane
JAPAN, Nagoya 81(052)232-1621 Doug Kenley (509) 924-2322
JAPAN, Osaka 81(06)305-1801 ARGENTINA, Buenos Aires
JAPAN, Sendai 81(22)268-4333 Argonics, S.A. (541) 343-1787
JAPAN, Tachikawa 81(0425)23-6700
JAPAN, Tokyo 81(03)3440-3311 HYBRID COMPONENTS RESELLERS
JAPAN, Yokohama 81(045)472-2751 Elmo Semiconductor (818) 768-7400
KOREA, Pusan 82(51)4635-035 Minco Technology Labs Inc. (512) 834-2022
KOREA, Seoul 82(2)554-5188 Semi Dice Inc. (310) 594-4631
iv MC68302 USER'S MANUAL
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
TABLE OF CONTENTS
Paragraph Title Page
Number Number
Section 1
General Description
1.1 Block Diagram......................................................................................... 1-1
1.2 Features .................................................................................................. 1-3
1.3 MC68302 System Architecture ............................................................... 1-4
Freescale Semiconductor, Inc...
1.4 NMSI Communications-Oriented Environment ....................................... 1-5
1.5 Basic Rate ISDN or Digital Voice/Data Terminal .................................... 1-6
Section 2
MC68000/MC68008 Core
2.1 Programming Model................................................................................ 2-1
2.2 Instruction Set Summary......................................................................... 2-3
2.3 Address Spaces ...................................................................................... 2-6
2.4 Exception Processing.............................................................................. 2-8
2.4.1 Exception Vectors ................................................................................... 2-8
2.4.2 Exception Stacking Order ....................................................................... 2-9
2.5 Interrupt Processing .............................................................................. 2-11
2.6 M68000 Signal Differences ................................................................... 2-11
2.7 MC68302 IMP Configuration Control .................................................... 2-12
2.8 MC68302 Memory Map......................................................................... 2-14
2.9 Event Registers..................................................................................... 2-19
Section 3
System Integration Block (SIB)
3.1 DMA Control............................................................................................ 3-2
3.1.1 Key Features........................................................................................... 3-2
3.1.2 IDMA Registers (Independent DMA Controller) ...................................... 3-3
3.1.2.1 Channel Mode Register (CMR)............................................................... 3-4
3.1.2.2 Source Address Pointer Register (SAPR)............................................... 3-6
3.1.2.3 Destination Address Pointer Register (DAPR)........................................ 3-6
3.1.2.4 Function Code Register (FCR)................................................................ 3-7
3.1.2.5 Byte Count Register (BCR) ..................................................................... 3-7
3.1.2.6 Channel Status Register (CSR) .............................................................. 3-7
3.1.3 Interface Signals ..................................................................................... 3-8
3.1.3.1 DREQ and DACK.................................................................................... 3-8
3.1.3.2 DONE...................................................................................................... 3-8
3.1.4 IDMA Operational Description................................................................. 3-9
3.1.4.1 Channel Initialization ............................................................................... 3-9
3.1.4.2 Data Transfer .......................................................................................... 3-9
MC68302 USER'S MANUAL v
For More Information On This Product,
Go to: www.freescale.com
Table of Contents Freescale Semiconductor, Inc.
Paragraph Title Page
Number Number
3.1.4.3 Address Sequencing..............................................................................3-10
3.1.4.4 Transfer Request Generation ................................................................3-11
3.1.4.5 Block Transfer Termination....................................................................3-12
3.1.5 IDMA Programming ...............................................................................3-13
3.1.6 DMA Bus Arbitration ..............................................................................3-14
3.1.7 Bus Exceptions ......................................................................................3-14
3.1.7.1 Reset......................................................................................................3-15
3.1.7.2 Bus Error................................................................................................3-15
3.1.7.3 Halt.........................................................................................................3-15
3.1.7.4 Relinquish and Retry..............................................................................3-15
3.2 Interrupt Controller .................................................................................3-15
3.2.1 Overview ................................................................................................3-16
Freescale Semiconductor, Inc...
3.2.1.1 IMP Interrupt Processing Overview .......................................................3-16
3.2.1.2 Interrupt Controller Overview .................................................................3-17
3.2.2 Interrupt Priorities...................................................................................3-18
3.2.2.1 INRQ and EXRQ Priority Levels ............................................................3-18
3.2.2.2 INRQ Interrupt Source Priorities ............................................................3-19
3.2.2.3 Nested Interrupts ...................................................................................3-19
3.2.3 Masking Interrupt Sources and Events ..................................................3-20
3.2.4 Interrupt Vector ......................................................................................3-21
3.2.5 Interrupt Controller Programming Model................................................3-24
3.2.5.1 Global Interrupt Mode Register (GIMR) .................................................3-24
3.2.5.2 Interrupt Pending Register (IPR)............................................................3-26
3.2.5.3 Interrupt Mask Register (IMR)................................................................3-27
3.2.5.4 Interrupt In-Service Register (ISR).........................................................3-28
3.2.6 Interrupt Handler Examples ...................................................................3-28
3.3 Parallel I/O Ports....................................................................................3-29
3.3.1 Port A .....................................................................................................3-29
3.3.2 Port B .....................................................................................................3-31
3.3.2.1 PB7