NXP MC68302 Reference guide

Type
Reference guide
1995
Motorola, Inc. All Rights Reserved
MC68PM302
Integrated
Multiprotocol Processor
with PCMCIA
Reference Manual
Fr
eescale S
emiconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
iii
MC68PM302 REFERENCE MANUAL
PREFACE
The complete documentation package for the MC68PM302 consists of the
MC68PM302RM/AD,
MC68PM302 Low Power Integrated Multiprotocol Processor with PC-
MCIA Interface Reference Manual
, M68000PM/AD,
MC68000 Family Programmer’s Refer-
ence Manual,
MC68302UM/AD,
MC68302 Integrated Multiprotocol Processor User’s
Manual,
and the MC68PM302/D,
MC68PM302 Low Power Integrated Multiprotocol Proces-
sor with PCMCIA Interface Product Brief
.
The
MC68PM302 Low Power Integrated Multiprotocol Processor with PCMCIA Interface
Reference Manual
describes the programming, capabilities, registers, and operation of the
MC68PM302 that differ from the original MC68302; the
MC68000 Family Programmer’s
Reference Manual
provides instruction details for the MC68PM302; and
the
MC68PM302
Low Power Integrated Multiprotocol Processor with PCMCIA Interface Product Brief
pro-
vides a brief description of the MC68PM302 capabilities.
The
MC68302 Integrated Multiprotocol Processor User’s Manual User’s Manual
is required,
since the
MC68PM302
Low Power Integrated Multiprotocol Processor with PCMCIA Inter-
face
Reference Manual
only describes the new features of the MC68PM302.
This user’s manual is organized as follows:
Section 1 Introduction
Section 2 Configuration, Clocking, Low Power Modes, and Internal Memory Map
Section 3 System Integration Block (SIB)
Section 4 Communications Processor (CP)
Section 5 PCMCIA Controller
Section 6 Signal Description
Section 7 Electrical Characteristics
Section 8 Mechanical Data And Ordering Information
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.
Fr
ees
cale S
em
iconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
MC68PM302 REFERENCE MANUAL
UNITED STATES
ALABAMA
, Huntsville (205) 464-6800
ARIZONA
, Tempe (602) 897-5056
CALIFORNIA
, Agoura Hills (818) 706-1929
CALIFORNIA
, Los Angeles (310) 417-8848
CALIFORNIA
, Irvine (714) 753-7360
CALIFORNIA
, Rosevllle (916) 922-7152
CALIFORNIA
, San Diego (619) 541-2163
CALIFORNIA
, Sunnyvale (408) 749-0510
COLORADO
, Colorado Springs (719) 599-7497
COLORADO
, Denver (303) 337-3434
CONNECTICUT
, Wallingford (203) 949-4100
FLORIDA
, Maitland (407) 628-2636
FLORIDA
, Pompano Beach/
Fort Lauderdal (305) 486-9776
FLORIDA
, Clearwater (813) 538-7750
GEORGlA
, Atlanta (404) 729-7100
IDAHO
, Boise (208) 323-9413
ILLINOIS
, Chicago/Hoffman Estates (708) 490-9500
INDlANA
, Fort Wayne (219) 436-5818
INDIANA
, Indianapolis (317) 571-0400
INDIANA
, Kokomo (317) 457-6634
IOWA
, Cedar Rapids (319) 373-1328
KANSAS
, Kansas City/Mission (913) 451-8555
MARYLAND
, Columbia (410) 381-1570
MASSACHUSETTS
, Marborough (508) 481-8100
MASSACHUSETTS
, Woburn (617) 932-9700
MICHIGAN
, Detroit (313) 347-6800
MINNESOTA
, Minnetonka (612) 932-1500
MISSOURI
, St. Louis (314) 275-7380
NEW JERSEY
, Fairfield (201) 808-2400
NEW YORK
, Fairport (716) 425-4000
NEW YORK
, Hauppauge (516) 361-7000
NEW YORK
, Poughkeepsie/Fishkill (914) 473-8102
NORTH CAROLINA
, Raleigh (919) 870-4355
OHIO
, Cleveland (216) 349-3100
OHIO
, Columbus Worthington (614) 431-8492
OHIO
, Dayton (513) 495-6800
OKLAHOMA
, Tulsa (800) 544-9496
OREGON
, Portland (503) 641-3681
PENNSYLVANIA
, Colmar (215) 997-1020
Philadelphia/Horsham (215) 957-4100
TENNESSEE
, Knoxville (615) 690-5593
TEXAS
, Austin (512) 873-2000
TEXAS
, Houston (800) 343-2692
TEXAS
, Plano (214) 516-5100
VIRGINIA
, Richmond (804) 285-2100
WASHINGTON
, Bellevue (206) 454-4160
Seattle Access (206) 622-9960
WISCONSIN
, Milwaukee/Brookfield (414) 792-0122
CANADA
BRITISH COLUMBIA
, Vancouver (604) 293-7605
ONTARIO
, Toronto (416) 497-8181
ONTARIO
, Ottawa (613) 226-3491
QUEBEC
, Montreal (514) 731-6881
INTERNATIONAL
AUSTRALIA
, Melbourne (61-3)887-0711
AUSTRALIA
, Sydney (61(2)906-3855
BRAZIL
, Sao Paulo 55(11)815-4200
CHINA
, Beijing 86 505-2180
FINLAND
, Helsinki 358-0-35161191
Car Phone 358(49)211501
FRANCE
, Paris/Vanves 33(1)40 955 900
GERMANY
, Langenhagen/ Hanover 49(511)789911
GERMANY
, Munich 49 89 92103-0
GERMANY
, Nuremberg 49 911 64-3044
GERMANY
, Sindelfingen 49 7031 69 910
GERMANY
,Wiesbaden 49 611 761921
HONG KONG
, Kwai Fong 852-4808333
Tai Po 852-6668333
INDIA
, Bangalore (91-812)627094
ISRAEL
, Tel Aviv 972(3)753-8222
ITALY
, Milan 39(2)82201
JAPAN
, Aizu 81(241)272231
JAPAN
, Atsugi 81(0462)23-0761
JAPAN
, Kumagaya 81(0485)26-2600
JAPAN
, Kyushu 81(092)771-4212
JAPAN
, Mito 81(0292)26-2340
JAPAN
, Nagoya 81(052)232-1621
JAPAN
, Osaka 81(06)305-1801
JAPAN,
Sendai 81(22)268-4333
JAPAN,
Tachikawa 81(0425)23-6700
JAPAN,
Tokyo 81(03)3440-3311
JAPAN
, Yokohama 81(045)472-2751
KOREA
, Pusan 82(51)4635-035
KOREA
, Seoul 82(2)554-5188
MALAYSIA
, Penang 60(4)374514
MEXICO
, Mexico City 52(5)282-2864
MEXICO
, Guadalajara 52(36)21-8977
Marketing 52(36)21-9023
Customer Service 52(36)669-9160
NETHERLANDS
, Best (31)49988 612 11
PUERTO RICO
, San Juan (809)793-2170
SINGAPORE
(65)2945438
SPAIN, Madrid 34(1)457-8204
or 34(1)457-8254
SWEDEN, Solna 46(8)734-8800
SWITZERLAND, Geneva 41(22)7991111
SWITZERLAND, Zurich 41(1)730 4074
TAlWAN, Taipei 886(2)717-7089
THAILAND, Bangkok (66-2)254-4910
UNITED KINGDOM, Aylesbury 44(296)395-252
FULL LINE REPRESENTATIVES
COLORADO, Grand Junction
Cheryl Lee Whltely (303) 243-9658
KANSAS, Wichita
Melinda Shores/Kelly Greiving (316) 838 0190
NEVADA, Reno
Galena Technology Group (702) 746 0642
NEW MEXICO, Albuquerque
S&S Technologies, lnc. (505) 298-7177
UTAH, Salt Lake City
Utah Component Sales, Inc. (801) 561-5099
WASHINGTON, Spokane
Doug Kenley (509) 924-2322
ARGENTINA, Buenos Aires
Argonics, S.A. (541) 343-1787
HYBRID COMPONENTS RESELLERS
Elmo Semiconductor (818) 768-7400
Minco Technology Labs Inc. (512) 834-2022
Semi Dice Inc. (310) 594-4631
Fr
ees
cale S
em
iconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
MC68PM302 REFERENCE MANUAL
TABLE OF CONTENTS
Paragraph Title Page
Number Number
Section 1
Introduction
1.1 Block Diagram......................................................................................... 1-1
1.2 Features.................................................................................................. 1-1
1.3 PM302 Applications ................................................................................ 1-4
1.4 PM302 Differences from Other Devices.................................................. 1-4
Section 2
Configuration, Clocking, Low Power Modes, and Internal Memory Map
2.1 MC68PM302 and MC68302 Signal Differences ..................................... 2-1
2.2 IMP Configuration Control....................................................................... 2-2
2.2.1 Base Address Register (BAR)................................................................. 2-4
2.3 System Configuration Registers.............................................................. 2-4
2.4 Clock Generation and Low Power Control.............................................. 2-5
2.4.1 PLL and Oscillator Changes to IMP........................................................ 2-5
2.4.1.1 Clock Control Register............................................................................ 2-5
2.4.2 MC68PM302 System Clock Generation ................................................. 2-6
2.4.2.1 Default System Clock Generation........................................................... 2-7
2.4.3 IMP System Clock Generation................................................................ 2-8
2.4.3.1 System Clock Configuration.................................................................... 2-8
2.4.3.2 On-Chip Oscillator................................................................................... 2-8
2.4.3.3 Phase-Locked Loop (PLL) ...................................................................... 2-8
2.4.3.4 Frequency Multiplication ......................................................................... 2-8
2.4.3.4.1 Low Power PLL Clock Divider................................................................. 2-9
2.4.3.4.2 IMP PLL and Clock Control Register (IPLCR) ...................................... 2-10
2.4.3.5 IMP Internal Clock Signals.................................................................... 2-11
2.4.3.5.1 IMP System Clock................................................................................. 2-11
2.4.3.5.2 BRG Clock ............................................................................................ 2-11
2.4.3.5.3 PIT Clock............................................................................................... 2-12
2.4.3.6 IMP PLL Pins ........................................................................................ 2-12
2.4.3.6.1 VCCSYN............................................................................................... 2-12
2.4.3.6.2 GNDSYN............................................................................................... 2-12
2.4.3.6.3 XFC....................................................................................................... 2-12
2.4.3.6.4 MODCLK............................................................................................... 2-12
2.4.4 IMP Power Management....................................................................... 2-12
2.4.4.1 IMP Low Power Modes......................................................................... 2-12
2.4.4.1.1 STOP Mode .......................................................................................... 2-13
2.4.4.1.2 DOZE Mode.......................................................................................... 2-13
2.4.4.1.3 STAND_BY Mode................................................................................. 2-13
Fr
ees
cale S
em
iconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Table of Contents
Paragraph Title Page
Number Number
MC68PM302 REFERENCE MANUAL
2.4.4.1.4 SLOW_GO Mode...................................................................................2-13
2.4.4.1.5 NORMAL Mode......................................................................................2-14
2.4.4.1.6 IMP Operation Mode Control Register (IOMCR) ...................................2-14
2.4.4.1.7 Low Power Drive Control Register (LPDCR).........................................2-14
2.4.4.1.8 IMP Power Down Register (IPWRD) .....................................................2-15
2.4.4.1.9 Default Operation Modes,......................................................................2-15
2.4.4.2 Low Power Support................................................................................2-15
2.4.4.2.1 Enter the SLOW_GO mode...................................................................2-15
2.4.4.2.2 Entering the STOP/ DOZE/ STAND_BY Mode......................................2-15
2.4.4.2.3 IMP Wake-Up from Low Power STOP Modes.......................................2-17
2.4.4.2.4 IMP Wake-Up Control Register – IWUCR .............................................2-17
2.4.4.3 Fast Wake-Up........................................................................................2-18
2.4.4.3.5 Ring Oscillator Control Register (RINGOCR)........................................2-19
2.4.4.3.6 Ring Oscillator Event Register (RINGOEVR). .......................................2-20
2.5 MC68PM302 Dual Port RAM.................................................................2-20
2.6 Internal Registers Map...........................................................................2-23
Section 3
System Integration Block (SIB)
3.1 System Control ........................................................................................3-1
3.1.1 System Control Register (SCR)...............................................................3-2
3.1.2 System Status Bits...................................................................................3-3
3.1.3 System Control Bits .................................................................................3-4
3.1.4 Hardware Watchdog................................................................................3-6
3.1.5 Freeze Control.........................................................................................3-6
3.2 Programmable Data Bus Size Switch......................................................3-7
3.2.1 Enabling the Dynamic Bus Switch...........................................................3-7
3.2.2 Basic Procedure:.....................................................................................3-7
3.3 Load Boot Code from an SCC.................................................................3-8
3.4 DMA Control ..........................................................................................3-11
3.4.1 68PM302 Differences ............................................................................3-11
3.4.1.1 Channel Mode Register (CMR)..............................................................3-11
3.4.1.2 Source Address Pointer Register (SAPR) .............................................3-13
3.4.1.3 Destination Address Pointer Register (DAPR).......................................3-13
3.4.1.4 Function Code Register (FCR) ..............................................................3-14
3.4.1.5 Byte Count Register (BCR)....................................................................3-14
3.4.1.6 Channel Status Register (CSR).............................................................3-14
3.4.2 Interface Signals....................................................................................3-14
3.5 Interrupt Controller.................................................................................3-15
3.5.1 Interrupt Controller Key Differences from the MC68302........................3-15
3.5.1.1 Interrupt Controller Overview.................................................................3-15
3.5.2 Interrupt Controller Programming Model................................................3-15
3.5.2.1 Global Interrupt Mode Register (GIMR).................................................3-15
3.5.2.2 Interrupt Pending Register (IPR)............................................................3-16
3.5.2.3 Interrupt Mask Register (IMR)................................................................3-17
Fr
ees
cale S
em
iconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Table of Contents
Paragraph Title Page
Number Number
MC68PM302 REFERENCE MANUAL
3.5.2.4 Interrupt In-Service Register (ISR)........................................................ 3-17
3.6 Parallel I/O Ports...................................................................................3-17
3.6.1 Port A .................................................................................................... 3-17
3.6.2 Port B .................................................................................................... 3-18
3.6.2.1 PB7–PB0............................................................................................... 3-18
3.6.2.2 PB11–PB8............................................................................................. 3-19
3.6.3 Port D....................................................................................................3-19
3.6.4 Port Registers........................................................................................3-19
3.7 Timers ................................................................................................... 3-20
3.7.1 General Purpose Timers Programming Model......................................3-20
3.7.1.1 Timer Mode Register (TMR1, TMR2).................................................... 3-20
3.7.1.2 Timer Reference Registers (TRR1, TRR2)...........................................3-21
3.7.1.3 Timer Capture Registers (TCR1, TCR2)............................................... 3-21
3.7.1.4 Timer Counter (TCN1, TCN2)...............................................................3-21
3.7.1.5 Timer Event Registers (TER1, TER2)................................................... 3-21
3.7.2 Timer 3 - Software Watchdog Timer ..................................................... 3-22
3.7.2.1 Software Watchdog Reference Register (WRR)................................... 3-22
3.7.2.2 Software Watchdog Counter (WCN).....................................................3-22
3.7.3 Periodic Interrupt Timer (PIT)................................................................3-22
3.7.3.1 Overview ............................................................................................... 3-23
3.7.3.2 Periodic Timer Period Calculation.........................................................3-23
3.7.3.3 Using the Periodic Timer As a Real-Time Clock...................................3-24
3.7.3.4 Periodic Interrupt Timer Register (PITR)............................................... 3-24
3.8 External Chip-Select Signals and Wait-State Logic .............................. 3-25
3.8.1 Chip-Select Registers............................................................................3-26
3.8.1.1 Base Register (BR3–BR0) .................................................................... 3-26
3.8.1.2 Option Registers (OR3–OR0) ............................................................... 3-26
3.8.1.3 PCMCIA Protection Register (PPR)......................................................3-27
3.8.2 Disable CPU Logic (M68000)................................................................ 3-28
3.8.3 Bus Arbitration Logic.............................................................................3-29
3.8.3.1 Internal Bus Arbitration.......................................................................... 3-29
3.8.3.2 External Bus Arbitration Using HALT....................................................3-30
3.9 Dynamic RAM Refresh Controller.........................................................3-30
Section 4
Communications Processor (CP)
4.1 MC68PM302 Key Differences from the MC68302..................................4-1
4.2 Serial Channels Physical Interface.......................................................... 4-2
4.2.1 Serial Interface Registers........................................................................4-2
4.3 Serial Communication Controllers (SCCs).............................................. 4-2
4.3.1 SCC Configuration Register (SCON)......................................................4-2
4.3.1.1 Divide by 2 Input Blocks (New Feature)..................................................4-2
4.3.2 Baud Rate Generator Pins Register–BRGP............................................4-2
4.3.3 SCC Mode Register (SCM).....................................................................4-3
4.3.4 SCC Data Synchronization Register (DSR)............................................4-4
4.3.5 Buffer Descriptors Table..........................................................................4-4
Fr
ees
cale S
em
iconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Table of Contents
Paragraph Title Page
Number Number
MC68PM302 REFERENCE MANUAL
4.3.6 SCC Parameter RAM Memory Map.........................................................4-5
4.3.7 Interrupt Mechanism................................................................................4-5
4.3.8 UART Controller.......................................................................................4-6
4.3.8.1 UART Memory Map.................................................................................4-6
4.3.8.2 UART Mode Register...............................................................................4-6
4.3.8.3 UART Receive Buffer Descriptor (Rx BD) ...............................................4-6
4.3.8.4 UART Transmit Buffer Descriptor (Tx BD)...............................................4-7
4.3.8.5 UART Event Register...............................................................................4-7
4.3.8.6 UART MASK Register..............................................................................4-7
4.3.9 Autobaud Controller (New) ......................................................................4-7
4.3.9.1 Autobaud Channel Reception Process....................................................4-8
4.3.9.2 Autobaud Channel Transmit Process......................................................4-9
4.3.9.3 Autobaud Parameter RAM.....................................................................4-10
4.3.9.4 Autobaud Programming Model..............................................................4-11
4.3.9.4.1 Preparing for the Autobaud Process......................................................4-11
4.3.9.4.2 Enter_Baud_Hunt Command.................................................................4-12
4.3.9.4.3 Autobaud Command Descriptor.............................................................4-12
4.3.9.4.4 Autobaud Lookup Table.........................................................................4-14
4.3.9.5 Lookup Table Example..........................................................................4-15
4.3.9.6 Determining Character Length and Parity..............................................4-16
4.3.9.7 Autobaud Reception Error Handling Procedure.....................................4-16
4.3.9.8 Autobaud Transmission.........................................................................4-17
4.3.9.8.1 Automatic Echo......................................................................................4-17
4.3.9.8.2 Smart Echo............................................................................................4-17
4.3.9.9 Reprogramming to UART Mode or Another Protocol ............................4-18
4.3.10 HDLC Controller.....................................................................................4-18
4.3.10.1 HDLC Memory Map...............................................................................4-18
4.3.10.2 HDLC Mode Register.............................................................................4-19
4.3.10.3 HDLC Receive Buffer Descriptor (Rx BD) .............................................4-19
4.3.10.4 HDLC Transmit Buffer Descriptor (Tx BD).............................................4-19
4.3.10.5 HDLC Event Register.............................................................................4-20
4.3.10.6 HDLC Mask Register.............................................................................4-20
4.3.11 BISYNC Controller.................................................................................4-20
4.3.11.1 BISYNC Memory Map............................................................................4-20
4.3.11.2 BISYNC Mode Register.........................................................................4-20
4.3.11.3 BISYNC Receive Buffer Descriptor (Rx BD)..........................................4-21
4.3.11.4 BISYNC Transmit Buffer Descriptor (Tx BD).........................................4-21
4.3.11.5 BISYNC Event Register.........................................................................4-21
4.3.11.6 BISYNC Mask Register..........................................................................4-21
4.3.12 Transparent Controller...........................................................................4-21
4.3.12.1 Transparent Memory Map......................................................................4-21
4.3.12.2 Transparent Mode Register...................................................................4-22
4.3.12.3 Transparent Receive Buffer Descriptor (RxBD).....................................4-22
4.3.12.4 Transparent Transmit Buffer Descriptor (Tx BD)...................................4-23
4.3.12.5 Transparent Event Register...................................................................4-23
Fr
ees
cale S
em
iconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Table of Contents
Paragraph Title Page
Number Number
MC68PM302 REFERENCE MANUAL
4.3.12.6 Transparent Mask Register...................................................................4-23
4.4 16550 Emulation Controller (NEW feature)........................................... 4-23
4.4.1 16550 Emulation Controller Features....................................................4-23
4.4.2 16550 Emulation Controller Overview................................................... 4-24
4.4.2.1 16550 Emulation Controller FIFOs Overview........................................ 4-24
4.4.3 PC Accesses......................................................................................... 4-24
4.4.4 PC Programmer Model..........................................................................4-26
4.4.4.1 16550 Emulation Registers Description................................................4-27
4.4.4.1.1 Line Control Register (LCR)..................................................................4-27
4.4.4.1.2 Line Status Register (LSR) (Read Only)...............................................4-28
4.4.4.1.3 FIFO Control Register (FCR) (Write Only)............................................4-29
4.4.4.1.4 Interrupt Identification Register (IIR) (Read Only)................................. 4-30
4.4.4.1.5 Interrupt Enable Register (IER).............................................................4-31
4.4.4.1.6 MODEM Control Register (MCR).......................................................... 4-31
4.4.4.1.7 MODEM Status Register (MSR)............................................................ 4-33
4.4.4.1.8 Divisor Latch (LS) - DLL........................................................................4-34
4.4.4.1.9 Divisor Latch (LM) - DLM ...................................................................... 4-34
4.4.4.1.10 Receive Buffer Register (RBR) ............................................................. 4-34
4.4.4.1.11 Transmit Holding Register (THR).......................................................... 4-35
4.4.4.1.12 Scratchpad Register (SCR)................................................................... 4-35
4.4.5 68000 Programming Model................................................................... 4-35
4.4.5.1 16550 Memory Map .............................................................................. 4-35
4.4.5.2 16550 Emulation Mode Register (EMR)................................................ 4-36
4.4.5.3 16550 Command Set ............................................................................ 4-38
4.4.5.4 16550 Transmit Commands..................................................................4-38
4.4.5.4.1
STOP TRANSMIT
Command................................................................ 4-38
4.4.5.4.2
RESTART TRANSMIT C
ommand......................................................... 4-39
4.4.5.5 16550 Receive Commands...................................................................4-39
4.4.5.5.1
ENTER HUNT MODE
Command.......................................................... 4-39
4.4.5.6 16550 Control Characters (Receiver).................................................... 4-39
4.4.5.6.1 Transmission of Out-of-Sequence Characters (Transmitter) ................ 4-40
4.4.5.7 BREAK Support (Receiver)...................................................................4-41
4.4.5.8 Send Break (Transmitter)......................................................................4-41
4.4.5.9 16550 Error Handling............................................................................4-41
4.4.5.9.1 IDLE Sequence Receive.......................................................................4-41
4.4.5.9.2 BREAK Sequence.................................................................................4-42
4.4.5.10 16550 Rx Buffer Descriptor (Rx BD).....................................................4-42
4.4.5.11 16550 Tx Buffer Descriptor (Tx BD)......................................................4-43
4.4.5.12 16550 Event Register............................................................................ 4-45
4.4.5.13 16550 Mask Register ............................................................................ 4-47
4.4.5.14 16550 Status Register........................................................................... 4-47
4.5 Serial Communication Port (SCP)......................................................... 4-48
4.5.1 SCP Programming Model......................................................................4-49
4.5.2 SCP Transmit/Receive Buffer Descriptor..............................................4-49
4.6 Serial Management Controllers (SMCs)................................................ 4-49
Fr
ees
cale S
em
iconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Table of Contents
Paragraph Title Page
Number Number
MC68PM302 REFERENCE MANUAL
4.6.1 SMC Programming Model......................................................................4-49
4.6.2 SMC Memory Structure and Buffers Descriptors...................................4-49
4.6.2.1 SMC1 Receive Buffer Descriptor...........................................................4-49
4.6.2.2 SMC1 Transmit Buffer Descriptor..........................................................4-50
4.6.2.3 SMC2 Receive Buffer Descriptor...........................................................4-50
4.6.2.4 SMC2 Transmit Buffer Descriptor..........................................................4-50
Section 5
PCMCIA Controller
5.1 PCMCIA Controller Functional Overview.................................................5-2
5.1.1 Attribute Memory Accesses.....................................................................5-4
5.1.2 Configuration Registers ...........................................................................5-5
5.1.3 Card Information Structure.......................................................................5-6
5.1.4 I/O Space Accesses.................................................................................5-7
5.1.5 Common Memory and Direct Access Mode Accesses............................5-8
5.1.6 Protecting Memory and Internal Space from PCMCIA Accesses..........5-12
5.1.7 PCMCIA Controller Initialization.............................................................5-13
5.1.8 PCMCIA to 68000 Bus Access and Monitoring Options........................5-13
5.1.9 PCMCIA Ring Indication........................................................................5-15
5.1.9.1 Wake Up Using the PwrDwn Bit ............................................................5-16
5.1.10 Wake Up Options...................................................................................5-16
5.1.10.1 Wake Up on PCMCIA Access in STAND-BY Mode...............................5-17
5.1.10.2 Power Down and Wake Up Using the PwrDwn Bit................................5-17
5.1.10.3 PCMCIA Host Interrupts ........................................................................5-17
5.1.10.4 The Ready Busy Signal (Rdy/Bsy).........................................................5-19
5.2 PCMCIA Pins.........................................................................................5-19
5.2.1 PCMCIA Pins Supported by the MC68PM302.......................................5-19
5.2.2 PCMCIA Pins Not Supported.................................................................5-19
5.2.3 Pullup Control Register (PUCR) ............................................................5-20
5.3 Programmer’s Model..............................................................................5-22
5.3.1 PCMCIA Controller Accesses................................................................5-22
5.3.2 PCMCIA Mode Register(PCMR)............................................................5-22
5.3.3 PCMCIA Configuration Registers Write Event Register (PCRWER).....5-26
5.3.4 PCMCIA Configuration Registers Write Mask Register (PCRWMR).....5-27
5.3.5 PCMCIA Access Wake-Up Event Register(PCAWER)..........................5-27
5.3.6 PCMCIA Access Wake-up Mask Register(PCAWMR)..........................5-28
5.3.7 PCMCIA Host (PC) Event Register(PCHER).........................................5-29
5.3.8 CIS Base Address Register(CISBAR) ...................................................5-29
5.3.9 Common Memory Space Base Address Register (CMBAR1,2)............5-30
5.3.10 Card Configuration Registers.................................................................5-31
5.3.10.1 Configuration Option Register - COR ....................................................5-31
5.3.10.2 Card Configuration and Status Register (CCSR)...................................5-32
5.3.10.3 Pin Replacement Register Organization (PRR).....................................5-33
5.3.10.4 Socket and Copy Register (SCR)..........................................................5-34
5.3.10.5 I/O Event Indication Register (IOEIR)....................................................5-35
Fr
ees
cale S
em
iconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Table of Contents
Paragraph Title Page
Number Number
MC68PM302 REFERENCE MANUAL
5.3.10.6 Reserved Registers............................................................................... 5-36
5.3.11 PCMCIA DMA Support.......................................................................... 5-36
5.3.11.1 PC DMA Operation Description............................................................. 5-36
5.3.11.1.1 Interrupt/Polling Mode:..........................................................................5-37
5.3.11.1.2 IDMA Mode: .......................................................................................... 5-37
5.3.11.2 Data Path and Swapping Issues:..........................................................5-37
5.3.11.3 Description of Pin Reassignment..........................................................5-38
5.3.11.4 Description of Registers for PC_DMA...................................................5-38
5.3.11.4.3 PCMCIA Access Wake-Up Event Register (PCAWER)........................ 5-38
5.3.11.4.4 PCMCIA Access Wake-Up Mask Register (PCAWMR)........................ 5-39
5.3.11.4.5 PCMCIA Mode Register (PCMR) (Additional Bits)................................ 5-39
5.3.11.4.6 PCMCIA DMA Data Register (PCDMAD) (Mapped at Address
Base+$878)...........................................................................................5-40
Section 6
Signal Description
6.1 IMP Pins..................................................................................................6-1
6.1.1 Mode Pins ............................................................................................... 6-6
6.1.2 Clock Pins ............................................................................................... 6-8
6.1.3 System Control Pins................................................................................ 6-9
6.1.4 IMP Address Bus Pins (A23–A1) .......................................................... 6-11
6.1.5 IMP Data Bus Pins (D15—D0)..............................................................6-12
6.1.6 Bus Control Pins....................................................................................6-12
6.1.7 Interrupt Control or Bus Arbitration Pins................................................6-14
6.1.8 Chip-Select Pins.................................................................................... 6-15
6.1.9 No-Connect Pins...................................................................................6-16
6.1.10 PGA Package Pins................................................................................ 6-16
6.1.11 IMP Bus Interface Signal Summary ...................................................... 6-17
6.1.12 Physical Layer Serial Interface Pins...................................................... 6-18
6.1.13 Typical Serial Interface Pin Configurations ........................................... 6-18
6.1.14 NMSI1 or ISDN Interface Pins............................................................... 6-19
6.1.15 NMSI2 Port or Port A Pins or PCMCIA Data Bus.................................. 6-21
6.1.16 NMSI3 Port or Port A Pins or SCP Pins................................................6-23
6.1.17 IDMA or Port A Pins or PCMCIA Pins...................................................6-24
6.1.18 IACK or PIO Port B Pins or PCMCIA .................................................... 6-25
6.1.19 Timer Pins.............................................................................................6-26
6.1.20 Parallel I/O Pins with Interrupt Capability..............................................6-27
6.1.21 PCMCIA or Port D Pins.........................................................................6-28
6.1.22 IMP Arbitration or PCMCIA Pins ........................................................... 6-29
6.1.23 IMP Bus Control or PCMCIA Pins.........................................................6-30
6.1.24 IMP Address and Function Codes or PCMCIA Data............................. 6-32
6.2 Summary of Pin Multiplexing................................................................. 6-32
6.3 Power and Ground Pins........................................................................6-34
6.4 When to Use Pullup Resistors............................................................... 6-34
Section 7
Fr
ees
cale S
em
iconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Table of Contents
Paragraph Title Page
Number Number
MC68PM302 REFERENCE MANUAL
Electrical Characteristics
7.1 Maximum Ratings....................................................................................7-1
7.2 Thermal Characteristics...........................................................................7-1
7.3 Power Considerations..............................................................................7-2
7.4 Power Dissipation....................................................................................7-2
7.4.1 Layout Practices ......................................................................................7-3
7.4.2 Power Dissipation Considerations...........................................................7-3
7.4.3 DC Electrical Characteristics ...................................................................7-4
7.5 DC Electrical Characteristics—NMSI1 in IDL Mode ................................7-5
7.6 IMP Characteristics..................................................................................7-6
7.6.1 IMP AC Electrical Specifications Control Timing .....................................7-6
7.6.2 AC Electrical Characteristics - IMP Phased Lock Loop (PLL)
Characteristics.........................................................................................7-7
7.6.3 IMP DC Electrical Characteristics—NMSI1 in IDL Mode.........................7-7
7.6.4 AC Electrical Specifications—IMP Bus Master Cycles............................7-8
7.6.5 IMP AC Electrical Specifications—DMA................................................7-15
7.6.6 IMP AC Electrical Specifications—External Master
Internal Asynchronous Read/Write Cycles ............................................7-18
7.6.7 IMP AC Electrical Specifications—External Master
Internal Synchronous Read/Write Cycles..............................................7-21
7.6.8 IMP AC Electrical Specifications—Internal Master
Internal Read/Write Cycles....................................................................7-25
7.6.9 IMP AC Electrical Specifications—Chip-Select Timing
Internal Master.......................................................................................7-25
7.6.10 IMP AC Electrical Specifications—Chip-Select Timing
External Master......................................................................................7-27
7.6.11 IMP AC Electrical Specifications—Parallel I/O ......................................7-28
7.6.12 IMP AC Electrical Specifications—Interrupts.........................................7-28
7.6.13 IMP AC Electrical Specifications—Timers.............................................7-29
7.6.14 IMP AC Electrical Specifications—Serial Communications Port............7-30
7.6.15 IMP AC Electrical Specifications—IDL Timing.......................................7-31
7.6.16 IMP AC Electrical Specifications—GCI Timing......................................7-33
7.6.17 IMP AC Electrical Specifications—PCM Timing ....................................7-35
7.6.18 IMP AC Electrical Specifications—NMSI Timing ...................................7-37
7.6.19 AC Electrical Specifications—PCMCIA Interface...................................7-39
Section 8
Mechanical Data and Ordering Information
8.1 Pin Assignments......................................................................................8-1
8.1.1 Pin Grid Array (PGA) ...............................................................................8-1
8.1.2 Surface Mount (TQFP).............................................................................8-2
8.2 Package Dimensions...............................................................................8-3
8.2.1 Pin Grid Array (PGA) ...............................................................................8-3
8.2.2 Surface Mount (TQFP).............................................................................8-5
8.3 Ordering Information................................................................................8-6
Fr
ees
cale S
em
iconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
MC68PM302 REFERENCE MANUAL
SECTION 1
INTRODUCTION
Motorola has developed a derivative version of the well-known MC68302 integrated multi-
protocol processor (IMP) called the MC68PM302. The PM302 has two modes of operation.
In the first mode, it functions as an enhanced MC68302 with a new static 68000 core, a new
timer and low power modes, and additional parallel I/O pins. In the second mode, it functions
as the same enhanced MC68302, but with PCMCIA and 16550 UART functionality instead
of the additional parallel I/O pins. The PM302 is packaged in a low profile 144 TQFP that is
suitable for use in Type II PCMCIA cards.
The Personal Computer Memory Card International Association (PCMCIA) has implement-
ed a set of specifications for small form-factor cards. These cards were previously specified
by a version number of the spec to which they complied. After the specification 2.1, these
cards were named “PC Cards.” The PCMCIA functionality on the PM302 is compliant with
the specification approved in October 1994.
In addition, the PM302 contains a parallel interface and register set identical to the 16550
UART used in IBM-compatible PCs. This functionality is available when the PCMCIA mode
is enabled, and shares pins with the PCMCIA interface.
The document fully describes all the differences between the PM302 and the regular 68302.
Any feature not described in this document will operate as described in the
MC68302 User’s
Manual
. In addition this document contains the full set of electrical descriptions for the
PM302.
1.1 BLOCK DIAGRAM
The block diagram is shown in Figure 1-1.
1.2 FEATURES
The features of the PM302 are as follows. The items in
bold face
type show major differ-
ences from the MC68302, although a complete list of differences is given in section 1.4 on
page 4.
On-Chip
Static 68000 Core
Supporting a 16- or 8-Bit M68000 Family-System
SIB Including:
Independent Direct Memory Access (IDMA) Controller.
Interrupt Controller with Two Modes of Operation
Parallel Input/Output (I/O) Ports, some with Interrupt Capability
On-Chip 1152-Byte Dual-Port RAM
Fr
ees
cale S
em
iconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Introduction
MC68PM302 REFERENCE MANUAL
Figure 1-1. MC68PM302 Block Diagram
Three Timers Including a Watchdog Timer
New Periodic Interrupt Timer (PIT)
Four Programmable Chip-Select Lines with Wait-State Generator Logic
Programmable Address Mapping of the Dual-Port RAM and IMP Registers
On-Chip Clock Generator with Output Signal
Glueless Interface to EPROM, SRAM, Flash EPROM, and EEPROM
Allows Boot in 8-Bit Mode, and Running Switch to 16-bit Mode
Allows System Clock to be Generated from 32 kHz or 4 MHz Crystals in Addi-
tion to a Full Speed Clock Oscillator
System Control:
System Status and Control Logic
Disable CPU Logic (Slave Mode Operation)
Hardware Watchdog
New Low-Power (Standby) Modes in
µ
A Range With Wake-up From Two Pins
or PIT Timer
Freeze Control for Debugging
DRAM Refresh Controller
CP Including:
Main Controller (RISC Processor)
PERIPHERAL BUS
68000
SYSTEM BUS
6 SDMA
CHANNELS
INTERRUPT
CONTROLLER
RISC
CONTROLLER
STATIC
M68000
CORE
1 GENERAL-
PURPOSE
DMA
CHANNEL
3 TIMERS
4 CHIP SELECTS
PIO
RAM / ROM
SCP
+
2 SMCs
1152 BYTES
DUAL-PORT
RAM
3 SERIAL
CHANNELS
(SCCs)
PIT
LOW
POWER
CONTROL
20 ADDRESS
8/16 DATA
68PM302
PCMCIA
SLAVE
INTERFACE
&
UART
16550
INTERFACE
11 ADDRESS
8/16 DATA
Fr
ees
cale S
em
iconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Introduction
MC68PM302 REFERENCE MANUAL
Three Independent Full-Duplex Serial Communications Controllers (SCCs)
Supporting Various Protocols:
High-Level/Synchronous Data Link Control (HDLC/SDLC)
Universal Asynchronous Receiver Transmitter (UART)
Binary Synchronous Communication (BISYNC)
Transparent Modes
Autobaud Support Instead of DDCMP and V.110
Boot from SCC Capability
Six Serial DMA Channels for the Three SCCs
Flexible Physical Interface Accessible by SCCs Including ISDN Support:
Motorola Interchip Digital Link (IDL)
General Circuit Interface (GCI, Also Known as IOM
1
-2)
Pulse Code Modulation (PCM) Highway Interface
Nonmultiplexed Serial Interface (NMSI) Implementing Standard
Modem Signals
SCP for Synchronous Communication
Two Serial Management Controllers (SMCs) To Support IDL and GCI Auxiliary
Channels
PCMCIA Controller
Supports Slave Interface Having 8 or 16-bit Data Pins
Compatible with the PC Card Classic Specification Approved in October 1994
Support for Ring Detect and Other Indications
Support for Power Down Modes and Automatic Wakeup on Host Access
Card Information Structure (CIS) Size and Location In Memory Programmable
Supports DMA Accesses as Defined by PCMCIA
Supports Direct Access to Common Memory Space for High Speed Buffer
Transfers
Security Option to Prevent Host Accesses to Sensitive Address Ranges
16550 Emulation Block
Complete H/W and S/W Emulation of the 16550 UART
DMA Supported for Transfer of 16550 Data Over 68K bus
Speed of Data Transfer Can Be Matched to Traditional 16550 UART
High Speed Data Transfer up to 2 Mbps Possible
Initial Offering Features 16.67 and 20 MHz Versions at 5V and 3.3V
144 Pin Thin Quad Flat Pack (TQFP) Packaging
1.3 PM302 APPLICATIONS
The PM302 excels in several applications areas.
1.
IOM is a trademark of Siemens AG
Fr
ees
cale S
em
iconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Introduction
MC68PM302 REFERENCE MANUAL
First, the PM302 excels in low power and portable applications. The inclusion of a static
68000 core coupled with the low power modes built into the device make it ideal for hand-
held, or other low power applications. The new 32 kHz or 4 MHz PLL option greatly reduces
the total power budget of the designer’s board, and allows the PM302 to be an effective de-
vice in low power systems. The PM302 can then optionally generate a full frequency clock
for use by the rest of the board. During low power modes, the new periodic interrupt timer
(PIT) allows the device to be woken up at regular intervals. In addition, two pins allow the
device to be woken up from low power modes. These features make the device useful as
an upgrade to the existing 68302.
Second, the performance, cost, and low power usage of the PM302 is an ideal processor to
be used on PCMCIA cards. It will perform the controller functions of a V.34 fax/data modem
in conjunction with a separate data pump. With its PCMCIA and ISDN functionality on-chip,
it can be gluelessly connected to an S/T or U interface device to perform the functions of a
ISDN terminal adaptor. It can be used as a MAC controller for IEEE 802.11 wireless LANs.
It may also be used as a wireless WAN PCMCIA controller for CDPD, Ardis, Mobitex, or dig-
ital cellular data applications.
1.4 PM302 DIFFERENCES FROM OTHER DEVICES
The PM302 can be considered as a superset of another derivative called the MC68LC302.
The LC302 does not have the PCMCIA and 16550 features, and only contains 2 SCCs. The
PM302 can also be considered to be a subset of the MC68356. The 356 adds a full 56002
DSP with memory and, in one of its versions, contains a full V.34 fax/data data pump running
on the DSP.
When the PM302 is operating in its PCMCIA mode, certain functions existing on the original
68302 are no longer available. The major differences are listed below.
External masters are not able to take the bus away from the PM302 except through a
simple scheme using the HALT
pin. This restriction does not apply to using the PM302
is in CPU disabled mode (slave mode), in which case BR
, BG, and BGACK are all avail-
able.
Although the Independent DMA (IDMA) is still available, the external IDMA request pins
(D
ACK, and DONE) have been eliminated.
The DDCMP and V.110 protocols have been removed.
Four address lines have been eliminated, giving a total of 20 address lines. However,
the PM302 supports more than a 1 MB addressing range, since each of the four chip
selects still decodes a 24-bit address. This allows a total of 4 MB to be addressed.
The UDS
, LDS, and R/W pins are not available except in slave mode, where they re-
place the WEH
, WEL, and OE pins. Instead, the new pins WEH, WEL, and OE have
been defined for glueless interfacing to memory.
PA12 is now muxed with the MODCLK pin, which is associated with the 32 kHz or 4
MHz PLL. The MODCLK pin is sampled at reset, and then becomes the PA12 pin.
BCLR, RMC and BRG1 pins have been eliminated
New VCCsyn, GNDsyn, and XFC pins have been added in support of the on-chip PLL.
Fr
ees
cale S
em
iconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Introduction
MC68PM302 REFERENCE MANUAL
For purposes of emulation support only, a special 180 PGA version is supported. This
version adds back the FC2-0, IAC
, FRZ, and AVEC pins. The FC2-0 pins allow bus cy-
cles to be distinguished between program and data accesses, interrupt cycles, etc. The
IAC
, FRZ, and AVEC pins are provided so that emulation vendors can quickly retrofit
their existing 68302 emulator designs to support the PM302.
When the PM302 is not used in its PCMCIA mode, most of the original 68302 pins are re-
turned to the device. However, even though the 68302 is also offered in a 144 TQFP, it was
not possible to make the PM302 exactly pin compatible with the original 68302. Thus, the
PM302 should not be used as a drop-in replacement for the 68302 in a 144 TQFP.
Fr
ees
cale S
em
iconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Introduction
MC68PM302 REFERENCE MANUAL
Fr
ees
cale S
em
iconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
MC68PM302 REFERENCE MANUAL
SECTION 2
CONFIGURATION, CLOCKING, LOW POWER MODES,
AND INTERNAL MEMORY MAP
The MC68PM302 integrates a high-speed M68000 processor with multiple communications
peripherals. The provision of direct memory access (DMA) control and link layer manage-
ment with the serial ports allows high throughput of data for communications-intensive appli-
cations, such as basic rate Integrated Services Digital Network (ISDN).
The MC68PM302 can operate either in the full MC68000 mode with a 16-bit data bus or in
the MC68008 mode with an 8-bit data bus by connecting the BUSW/PC_ABUF pin low dur-
ing reset.
NOTE
The BUSW pin is static and is not intended to be used for dy-
namic bus sizing. Instead the BSW and BSWEN bits in the PPR
register should be used to switch the bus width after reset.
Refer to the MC68000UM/AD,
M68000 8-/16-/32-Bit Microprocessors User's Manual
, and
the MC68302UM/AD,
MC68302 Integrated Multiprotocol Processor User’s Manual
, for com-
plete details of the on-chip microprocessor including the programming model and instruction
set summary. Throughout this manual, references may use the notation M68000, meaning
all devices belonging to this family of microprocessors, or the notation MC68000, MC68008,
meaning the specific microprocessor products.
This section is intended to describe configuration of the MC68PM302 and the differences
between thePM302 and the MC68000 and the MC68302.This section also includes tables
that show the registers of the IMP portion of the MC68PM302. All of the registers are mem-
ory mapped into the 68000 space
2.1 MC68PM302 AND MC68302 SIGNAL DIFFERENCES
When the PM302 is operating in its PCMCIA mode, certain functions existing on the original
68302 are no longer available. The major differences are listed below.
External masters are not able to take the bus away from the PM302 except through a
simple scheme using the HALT
pin. This restriction does not apply to using the PM302
is in CPU disabled mode (slave mode), in which case BR
, BG, and BGACK are all avail-
able.
Although the Independent DMA (IDMA) is still available, the external IDMA pins (DACK
and DONE
) have been eliminated.
Fr
ees
cale S
em
iconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Configuration, Clocking, Low Power Modes, and Internal Memory Map
MC68PM302 REFERENCE MANUAL
Four address lines have been eliminated, giving a total of 20 address lines. However,
the PM302 supports more than a 1 MB addressing range, since each of the four chip
selects still decodes a 24-bit address. This allows a total of 4 MB to be addressed.
The FC2-0 pins have been eliminated. In CPU disabled mode (slave mode), these sig-
nals are internally driven to a value of 5 (Supervisor Data function code).
The UDS
, LDS, and R/W pins are not available except in slave mode, where they re-
place the
WEH
,
WEL
, and
OE
pins. The new pins WEH, WEL, and OE are available in
enable CPU mode. Their functionalities have been defined for glueless interfacing to
memory.
PA12 is now muxed with the MODCLK pin, which is associated with the 32 kHz or 4
MHz PLL. The MODCLK pin is sampled at reset, and then becomes the PA12 pin.
New VCCsyn, GNDsyn, and XFC pins have been added in support of the on-chip PLL.
For purposes of emulation support only, a special 180 PGA version is supported. This
version adds back the FC2-0, IAC
, FRZ, and AVEC pins.
PA7 is sampled during reset to enable Boot from SCC.
When the PM302 is not used in its PCMCIA mode, most of the original 68302 pins are
returned to the device. However, even though the 68302 is also offered in a 144 TQFP, it
was not possible to make the PM302 exactly pin compatible with the original 68302. Thus,
the PM302 should not be used as a drop-in replacement for the 68302 in a 144 TQFP.
2.2 IMP CONFIGURATION CONTROL
A number of reserved entries in the external M68000 exception vector table are used as
addresses for internal system configuration registers. See Table 2-1, System Configuration
Registers.
The BAR entry contains the BAR described in this section. The SCR entry contains the SCR
described in Section 3 System Integration Block (SIB).
Figure 2-1 shows all the IMP on-chip addressable locations and how they are mapped into
system memory.
The on-chip peripherals, including those peripherals in both the communications processor
(CP) and system integration block (SIB), require a 4K-byte block of address space. This 4K-
byte block location is determined by writing the intended base address to the BAR in super-
visor data space (FC = 5). In slave mode the FC2-0 pins are internally driven by the
MC68PM302 to supervisor data space. In enable CPU mode, the Status Register of the
M68000 should be set to supervisor mode, in order to access the supervisor data space.
After a total system reset, the on-chip peripheral base address is undefined, and it is not
possible to access the on-chip peripherals at any address until BAR is written. The BAR and
the SCR can always be accessed at their fixed addresses.
NOTE
The BAR and SCR registers are internally reset only when a to-
tal system reset occurs by the simultaneous assertion of RESET
Fr
ees
cale S
em
iconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Configuration, Clocking, Low Power Modes, and Internal Memory Map
MC68PM302 REFERENCE MANUAL
and
HALT. The chip-select (CS) lines are not asserted on ac-
cesses to these locations. Thus, it is very helpful to use CS lines
to select external ROM/RAM that overlaps the BAR and SCR
register locations, since this prevents potential bus contention.
NOTE
In 8-bit system bus operation, IMP accesses are not possible un-
til the low byte of the BAR is written. Since the MOVE.W instruc-
tion writes the high byte followed by the low byte, this instruction
guarantees the entire word is written.
Do not assign other devices on the system bus an address that falls within the address
range of the peripherals defined by the BAR. If this happens, a BERR
is generated to the
core (if the address decode conflict enable (ADCE) bit is set) and the address decode con-
flict (ADC) bit in the SCR is set.
Figure 2-1. IMP Configuration Control
$0F0
$0F4
$0F8
$0FB
BAR ENTRY
SCR ENTRY
IMP MODE CONTROL
IMP POWER DOWN
IMP
SYSTEM RAM
(DUAL-PORT)
PARAMETER RAM
(DUAL-PORT)
INTERNAL
REGISTERS
BASE + $0
BASE + $400
BASE + $800
SYSTEM MEMORY MAP
$0
BASE + $FFF
$3FF
$xxx000 = BASE
$FFFFFF
4K BLOCK
BAR
POINTS
TO THE
BASE
4K BLOCK
256 VECTOR
ENTRIES
EXCEPTION
VECTOR
TABLE
PITR
$0F2
$0F7
$0FA
WAKE-UP
IMP PLL
Fr
ees
cale S
em
iconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209
  • Page 210 210
  • Page 211 211
  • Page 212 212
  • Page 213 213
  • Page 214 214
  • Page 215 215
  • Page 216 216
  • Page 217 217
  • Page 218 218
  • Page 219 219
  • Page 220 220
  • Page 221 221
  • Page 222 222
  • Page 223 223
  • Page 224 224
  • Page 225 225
  • Page 226 226
  • Page 227 227
  • Page 228 228
  • Page 229 229
  • Page 230 230
  • Page 231 231
  • Page 232 232
  • Page 233 233
  • Page 234 234
  • Page 235 235
  • Page 236 236
  • Page 237 237
  • Page 238 238
  • Page 239 239
  • Page 240 240
  • Page 241 241
  • Page 242 242
  • Page 243 243
  • Page 244 244
  • Page 245 245
  • Page 246 246
  • Page 247 247
  • Page 248 248
  • Page 249 249
  • Page 250 250
  • Page 251 251
  • Page 252 252
  • Page 253 253
  • Page 254 254
  • Page 255 255

NXP MC68302 Reference guide

Type
Reference guide

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI