MPC8260UM/D
4/1999
Rev. 0
MPC8260 PowerQUICC II
UserÕs Manual
ª
ª
PowerQUICC II, Mfax, and DigitalDNA are trademarks of Motorola, Inc.
The PowerPC name, the PowerPC logotype, PowerPC 601, PowerPC 603, PowerPC 603e, PowerPC 604, PowerPC 604e, and RS/6000 are trademarks of
International Business Machines Corporation used by Motorola under license from International Business Machines Corporation.
2
C is a registered trademark of Philips Semiconductors
I
Information in this document is provided solely to enable system and software implementers to use PowerPC microprocessors. There are no express or implied
copyright licenses granted hereunder to design or fabricate PowerPC integrated circuits or integrated circuits based on the information in this document.
Motorola reserves the right to make changes without further notice to any products herein. Motorola makes no warranty, representation or guarantee
regarding the suitability of its products for any particular purpose, nor does Motorola assume any liability arising out of the application or use of any product or
circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. ÒTypicalÓ parameters can and do vary in
different applications. All operating parameters, including ÒTypicalsÓ must be validated for each customer application by customerÕs technical experts. Motorola
does not convey any license under its patent rights nor the rights of others. Motorola products are 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, or for any other application in which the failure
of the Motorola product could create a situation where personal injury or death may occur. Should Buyer purchase or use Motorola products for any such
unintended or unauthorized application, Buyer shall indemnify and hold Motorola and its officers, employees, subsidiaries, affiliates, and distributors harmless
against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death
associated with such unintended or unauthorized use, even if such claim alleges that Motorola was negligent regarding the design or manufacture of the part.
Motorola and are registered trademarks of Motorola, Inc. Motorola, Inc. is an Equal Opportunity/AfÞrmative Action Employer.
Motorola Literature Distribution Centers
USA/EUROPE:
JAPAN
ASIA/PACIFC
Mfaxª
World Wide Web Address
INTERNET
Technical Information
Document Comments
World Wide Web Addresses
Motorola Literature Distribution; P.O. Box 5405; Denver, Colorado 80217; Tel.: 1-800-441-2447 or 1-303-675-2140
: Nippon Motorola Ltd SPD, Strategic Planning Office 4-32-1, Nishi-Gotanda Shinagawa-ku, Tokyo 141, Japan Tel.: 81-3-5487-8488
: Motorola Semiconductors H.K. Ltd.; 8B Tai Ping Industrial Park, 51 Ting Kok Road, Tai Po, N.T., Hong Kong; Tel.: 852-26629298
: RMFAX0@email.sps.mot.com; TOUCHTONE 1-602-244-6609; US & Canada ONLY (800) 774-1848;
: http://motorola.com/sps
: http://sps.motorola.com/mfax
: Motorola Inc. SPS Customer Support Center; 1-800-521-6274; electronic mail address: crc@wmkmail.sps.mot.com.
: FAX (512) 895-2638, Attn: RISC Applications Engineering.
: http://www.mot.com/PowerPC
:
http://www.mot.com/netcomm
http://www.mot.com/HPESD
© Motorola, Inc., 1999. All rights reserved.
Overview
PowerPC Processor Core
Memory Map
System Interface Unit (SIU)
Reset
External Signals
60x Signals
The 60x Bus
Clocks and Power Control
Memory Controller
Secondary (L2) Cache Support
IEEE 1149.1 Test Access Port
Communications Processor Module Overview
Serial Interface with Time-Slot Assigner
CPM Multiplexing
Baud-Rate Generators (BRGs)
Timers
SDMA Channels and IDMA Emulation
Serial Communications Controllers (SCCs)
SCC UART Mode
SCC HDLC Mode
SCC BISYNC Mode
SCC Transparent Mode
SCC Ethernet Mode
SCC AppleTalk Mode
Serial Management Controllers (SMCs)
Multi-Channel Controllers (MCCs)
Fast Communications Controllers
ATM Controller
Fast Ethernet Controller
FCC HDLC Controller
FCC Transparent Controller
Serial Peripheral Interface (SPI)
2
I
C Controller
Parallel I/O Ports
Register Quick Reference Guide
Glossary
Index
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
A
GLO
IND
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
A
GLO
IND
Overview
PowerPC Processor Core
Memory Map
System Interface Unit (SIU)
Reset
External Signals
60x Signals
The 60x Bus
Clocks and Power Control
Memory Controller
Secondary (L2) Cache Support
IEEE 1149.1 Test Access Port
Communications Processor Module Overview
Serial Interface with Time-Slot Assigner
CPM Multiplexing
Baud-Rate Generators (BRGs)
Timers
SDMA Channels and IDMA Emulation
Serial Communications Controllers (SCCs)
SCC UART Mode
SCC HDLC Mode
SCC BISYNC Mode
SCC Transparent Mode
SCC Ethernet Mode
SCC AppleTalk Mode
Serial Management Controllers (SMCs)
Multi-Channel Controllers (MCCs)
Fast Communications Controllers
ATM Controller
Fast Ethernet Controller
FCC HDLC Controller
FCC Transparent Controller
Serial Peripheral Interface (SPI)
2
I
C Controller
Parallel I/O Ports
Register Quick Reference Guide
Glossary
Index
CONTENTS
Paragraph
Number
Title
Page
Number
About This Book
Before Using this ManualÑImportant Note.......................................................... lv
Audience ................................................................................................................ lv
Organization.......................................................................................................... lvi
Suggested Reading................................................................................................ lix
MPC8xx Documentation .............................................................................. lix
PowerPC Documentation ............................................................................. lix
Conventions ........................................................................................................... lx
Acronyms and Abbreviations ............................................................................... lxi
PowerPC Architecture Terminology Conventions ............................................. lxiv
Chapter 1
Overview
1.1 Features................................................................................................................ 1-1
1.2 MPC8260Õs Architecture Overview .................................................................... 1-4
1.2.1 MPC603e Core ................................................................................................ 1-5
1.2.2 System Interface Unit (SIU) ............................................................................ 1-6
1.2.3 Communications Processor Module (CPM) .................................................... 1-6
1.3 Software Compatibility Issues ............................................................................. 1-7
1.3.1 Signals.............................................................................................................. 1-7
1.4 Differences between MPC860 and MPC8260..................................................... 1-9
1.5 Serial Protocol Table............................................................................................ 1-9
1.6 MPC8260 Configurations .................................................................................. 1-10
1.6.1 Pin Configurations ......................................................................................... 1-10
1.6.2 Serial Performance......................................................................................... 1-10
1.7 MPC8260 Application Examples ...................................................................... 1-11
1.7.1 Examples of Communication Systems .......................................................... 1-11
1.7.1.1 Remote Access Server ............................................................................... 1-11
1.7.1.2 Regional Office Router.............................................................................. 1-12
1.7.1.3 LAN-to-WAN Bridge Router .................................................................... 1-13
1.7.1.4 Cellular Base Station ................................................................................. 1-14
1.7.1.5 Telecommunications Switch Controller ....................................................1-14
1.7.1.6 SONET Transmission Controller .............................................................. 1-15
MOTOROLA
Contents
v
CONTENTS
Paragraph
Number
1.7.2 Bus Configurations.........................................................................................1-15
1.7.2.1 Basic System ..............................................................................................1-15
1.7.2.2 High-Performance Communication ...........................................................1-16
1.7.2.3 High-Performance System Microprocessor ...............................................1-17
Title
Chapter 2
Page
Number
PowerPC Processor Core
2.1 Overview ..............................................................................................................2-1
2.2 PowerPC Processor Core Features ......................................................................2-3
2.2.1 Instruction Unit.................................................................................................2-5
2.2.2 Instruction Queue and Dispatch Unit ...............................................................2-5
2.2.3 Branch Processing Unit (BPU).........................................................................2-6
2.2.4 Independent Execution Units ...........................................................................2-6
2.2.4.1 Integer Unit (IU)...........................................................................................2-6
2.2.4.2 Load/Store Unit (LSU).................................................................................2-7
2.2.4.3 System Register Unit (SRU) ........................................................................2-7
2.2.5 Completion Unit ...............................................................................................2-7
2.2.6 Memory Subsystem Support ............................................................................2-8
2.2.6.1 Memory Management Units (MMUs) .........................................................2-8
2.2.6.2 Cache Units ..................................................................................................2-8
2.3 Programming Model.............................................................................................2-8
2.3.1 Register Set.......................................................................................................2-8
2.3.1.1 PowerPC Register Set ..................................................................................2-9
2.3.1.2 MPC8260-Specific Registers .....................................................................2-11
2.3.1.2.1 Hardware Implementation-Dependent Register 0 (HID0) .....................2-11
2.3.1.2.2 Hardware Implementation-Dependent Register 1 (HID1) .....................2-14
2.3.1.2.3 Hardware Implementation-Dependent Register 2 (HID2) .....................2-15
2.3.1.2.4 Processor Version Register (PVR).........................................................2-16
2.3.2 PowerPC Instruction Set and Addressing Modes...........................................2-16
2.3.2.1 Calculating Effective Addresses ................................................................2-16
2.3.2.2 PowerPC Instruction Set ............................................................................2-16
2.3.2.3 MPC8260 Implementation-Specific Instruction Set ..................................2-18
2.4 Cache Implementation........................................................................................2-18
2.4.1 PowerPC Cache Model...................................................................................2-18
2.4.2 MPC8260 Implementation-Specific Cache Implementation..........................2-19
2.4.2.1 Data Cache .................................................................................................2-19
2.4.2.2 Instruction Cache........................................................................................2-21
2.4.2.3 Cache Locking............................................................................................2-21
2.4.2.3.1 Entire Cache Locking.............................................................................2-21
2.4.2.3.2 Way Locking ..........................................................................................2-21
2.5 Exception Model.................................................................................................2-22
vi
MPC8260 PowerQUICC II UserÕs Manual
MOTOROLA
CONTENTS
Paragraph
Number
2.5.1 PowerPC Exception Model ............................................................................ 2-22
2.5.2 MPC8260 Implementation-Specific Exception Model..................................2-23
2.5.3 Exception Priorities........................................................................................2-26
2.6 Memory Management ........................................................................................2-26
2.6.1 PowerPC MMU Model ..................................................................................2-27
2.6.2 MPC8260 Implementation-Specific MMU Features ..................................... 2-28
2.7 Instruction Timing.............................................................................................. 2-29
2.8 Differences between the MPC8260Õs Core and the PowerPC 603e
Microprocessor............................................................................................... 2-30
Title
Chapter 3
Page
Number
Memory Map
Chapter 4
System Interface Unit (SIU)
4.1 System Configuration and Protection ..................................................................4-2
4.1.1 Bus Monitor .....................................................................................................4-3
4.1.2 Timers Clock....................................................................................................4-4
4.1.3 Time Counter (TMCNT).................................................................................. 4-4
4.1.4 Periodic Interrupt Timer (PIT) ......................................................................... 4-5
4.1.5 Software Watchdog Timer ............................................................................... 4-6
4.2 Interrupt Controller ..............................................................................................4-7
4.2.1 Interrupt Configuration ....................................................................................4-8
4.2.2 Interrupt Source Priorities ................................................................................ 4-9
4.2.2.1 SCC, FCC, and MCC Relative Priority .....................................................4-12
4.2.2.2 PIT, TMCNT, and IRQ Relative Priority ..................................................4-12
4.2.2.3 Highest Priority Interrupt ........................................................................... 4-13
4.2.3 Masking Interrupt Sources ............................................................................. 4-13
4.2.4 Interrupt Vector Generation and Calculation.................................................4-14
4.2.4.1 Port C External Interrupts ..........................................................................4-16
4.3 Programming Model ..........................................................................................4-17
4.3.1 Interrupt Controller Registers ........................................................................4-17
4.3.1.1 SIU Interrupt Configuration Register (SICR)............................................4-17
4.3.1.2 SIU Interrupt Priority Register (SIPRR)....................................................4-18
4.3.1.3 CPM Interrupt Priority Registers (SCPRR_H and SCPRR_L) .................4-19
4.3.1.4 SIU Interrupt Pending Registers (SIPNR_H and SIPNR_L).....................4-21
4.3.1.5 SIU Interrupt Mask Registers (SIMR_H and SIMR_L) ............................4-22
4.3.1.6 SIU Interrupt Vector Register (SIVEC).....................................................4-23
4.3.1.7 SIU External Interrupt Control Register (SIEXR).....................................4-24
4.3.2 System Configuration and Protection Registers ............................................4-25
4.3.2.1 Bus Configuration Register (BCR) ........................................................... 4-25
MOTOROLA
Contents
vii
CONTENTS
Paragraph
Number
4.3.2.2 60x Bus Arbiter Configuration Register (PPC_ACR) ...............................4-28
4.3.2.3 60x Bus Arbitration-Level Registers (PPC_ALRH/PPC_ALRL) .............4-28
4.3.2.4 Local Bus Arbiter Configuration Register (LCL_ACR)............................4-29
4.3.2.5 Local Bus Arbitration Level Registers (LCL_ALRH and LCL_ACRL)...4-30
4.3.2.6 SIU Module Configuration Register (SIUMCR) .......................................4-31
4.3.2.7 Internal Memory Map Register (IMMR) ...................................................4-34
4.3.2.8 System Protection Control Register (SYPCR)...........................................4-35
4.3.2.9 Software Service Register (SWSR)............................................................4-36
4.3.2.10 60x Bus Transfer Error Status and Control Register 1 (TESCR1).............4-36
4.3.2.11 60x Bus Transfer Error Status and Control Register 2 (TESCR2).............4-37
4.3.2.12 Local Bus Transfer Error Status and Control Register 1 (L_TESCR1) .....4-38
4.3.2.13 Local Bus Transfer Error Status and Control Register 2 (L_TESCR2) .....4-39
4.3.2.14 Time Counter Status and Control Register (TMCNTSC) ..........................4-40
4.3.2.15 Time Counter Register (TMCNT)..............................................................4-41
4.3.2.16 Time Counter Alarm Register (TMCNTAL) .............................................4-41
4.3.3 Periodic Interrupt Registers............................................................................4-42
4.3.3.1 Periodic Interrupt Status and Control Register (PISCR)............................4-42
4.3.3.2 Periodic Interrupt Timer Count Register (PITC) .......................................4-43
4.3.3.3 Periodic Interrupt Timer Register (PITR) ..................................................4-44
4.4 SIU Pin Multiplexing..........................................................................................4-44
Title
Chapter 5
Page
Number
Reset
5.1 Reset Causes.........................................................................................................5-1
5.1.1 Reset Actions....................................................................................................5-2
5.1.2 Power-On Reset Flow.......................................................................................5-2
5.1.3
5.1.4
5.2 Reset Status Register (RSR).................................................................................5-4
5.3 Reset Mode Register (RMR) ................................................................................5-5
5.4 Reset Configuration..............................................................................................5-6
5.4.1 Hard Reset Configuration Word.......................................................................5-8
5.4.2 Hard Reset Configuration Examples ................................................................5-9
5.4.2.1 Single MPC8260 with Default Configuration..............................................5-9
5.4.2.2 Single MPC8260 Configured from Boot EPROM.....................................5-10
5.4.2.3 Multiple MPC8260s Configured from Boot EPROM................................5-10
5.4.2.4 Multiple MPC8260s in a System with No EPROM...................................5-12
viii
HRESET
SRESET
Flow .................................................................................................5-3
Flow...................................................................................................5-3
Chapter 6
MPC8260 PowerQUICC II UserÕs Manual
MOTOROLA
CONTENTS
Paragraph
Number
Title
Page
Number
External Signals
6.1 Functional Pinout .................................................................................................6-1
6.2 Signal Descriptions ..............................................................................................6-2
Chapter 7
60x Signals
7.1 Signal Configuration ............................................................................................7-2
7.2 Signal Descriptions ..............................................................................................7-3
7.2.1 Address Bus Arbitration Signals......................................................................7-3
7.2.1.1 Bus Request (BR)ÑOutput .........................................................................7-3
7.2.1.1.1 Address Bus Request (BR)ÑOutput .......................................................7-3
7.2.1.1.2 Address Bus Request (BR)ÑInput..........................................................7-4
7.2.1.2 Bus Grant (BG) ............................................................................................7-4
7.2.1.2.1 Bus Grant (BG)ÑInput............................................................................7-4
7.2.1.2.2 Bus Grant (BG)ÑOutput.........................................................................7-5
7.2.1.3 Address Bus Busy (ABB) ............................................................................7-5
7.2.1.3.1 Address Bus Busy (ABB)ÑOutput ......................................................... 7-5
7.2.1.3.2 Address Bus Busy (ABB)ÑInput............................................................ 7-6
7.2.2 Address Transfer Start Signal ..........................................................................7-6
7.2.2.1 Transfer Start (TS) .......................................................................................7-6
7.2.2.1.1 Transfer Start (TS)ÑOutput .................................................................... 7-6
7.2.2.2 Transfer Start (TS)ÑInput...........................................................................7-6
7.2.3 Address Transfer Signals .................................................................................7-7
7.2.3.1 Address Bus (A[0Ð31]) ................................................................................7-7
7.2.3.1.1 Address Bus (A[0Ð31])ÑOutput.............................................................7-7
7.2.3.1.2 Address Bus (A[0Ð31])ÑInput................................................................7-7
7.2.4 Address Transfer Attribute Signals..................................................................7-7
7.2.4.1 Transfer Type (TT[0Ð4]).............................................................................. 7-8
7.2.4.1.1 Transfer Type (TT[0Ð4])ÑOutput...........................................................7-8
7.2.4.1.2 Transfer Type (TT[0Ð4])ÑInput .............................................................7-8
7.2.4.2 Transfer Size (TSIZ[0Ð3]) ...........................................................................7-8
7.2.4.3 Transfer Burst (TBST) ................................................................................. 7-8
7.2.4.4 Global (GBL) ...............................................................................................7-9
7.2.4.4.1 Global (GBL)ÑOutput............................................................................7-9
7.2.4.4.2 Global (GBL)ÑInput...............................................................................7-9
7.2.4.5 Caching-Inhibited (CI)ÑOutput..................................................................7-9
7.2.4.6 Write-Through (WT)ÑOutput ....................................................................7-9
7.2.5 Address Transfer Termination Signals...........................................................7-10
7.2.5.1 Address Acknowledge (AACK) ................................................................7-10
7.2.5.1.1 Address Acknowledge (AACK)ÑOutput .............................................7-10
7.2.5.1.2 Address Acknowledge (AACK)ÑInput................................................7-10
MOTOROLA
Contents
ix
CONTENTS
Paragraph
Number
7.2.5.2 Address Retry (ARTRY)............................................................................7-11
7.2.5.2.1 Address Retry (ARTRY)ÑOutput.........................................................7-11
7.2.5.2.2 Address Retry (ARTRY)ÑInput ...........................................................7-11
7.2.6 Data Bus Arbitration Signals..........................................................................7-12
7.2.6.1 Data Bus Grant (DBG) ...............................................................................7-12
7.2.6.1.1 Data Bus Grant (DBG)ÑInput ..............................................................7-12
7.2.6.1.2 Data Bus Grant (DBG)ÑOutput............................................................7-12
7.2.6.2 Data Bus Busy (DBB) ................................................................................7-13
7.2.6.2.1 Data Bus Busy (DBB)ÑOutput.............................................................7-13
7.2.6.2.2 Data Bus Busy (DBB)ÑInput................................................................7-13
7.2.7 Data Transfer Signals .....................................................................................7-13
7.2.7.1 Data Bus (D[0Ð63]) ....................................................................................7-13
7.2.7.1.1 Data Bus (D[0Ð63])ÑOutput.................................................................7-14
7.2.7.1.2 Data Bus (D[0Ð63])ÑInput ...................................................................7-14
7.2.7.2 Data Bus Parity (DP[0Ð7]) .........................................................................7-14
7.2.7.2.1 Data Bus Parity (DP[0Ð7])ÑOutput ......................................................7-14
7.2.7.2.2 Data Bus Parity (DP[0Ð7])ÑInput.........................................................7-15
7.2.8 Data Transfer Termination Signals ................................................................7-15
7.2.8.1 Transfer Acknowledge (TA) ......................................................................7-15
7.2.8.1.1 Transfer Acknowledge (TA)ÑInput......................................................7-15
7.2.8.1.2 Transfer Acknowledge (TA)ÑOutput ...................................................7-16
7.2.8.2 Transfer Error Acknowledge (TEA) ..........................................................7-16
7.2.8.2.1 Transfer Error Acknowledge (TEA)ÑInput..........................................7-16
7.2.8.2.2 Transfer Error Acknowledge (TEA)ÑOutput .......................................7-17
7.2.8.3 Partial Data Valid Indication (PSDVAL)...................................................7-17
7.2.8.3.1 Partial Data Valid (PSDVAL)ÑInput ...................................................7-17
7.2.8.3.2 Partial Data Valid (PSDVAL)ÑOutput.................................................7-18
Title
Page
Number
Chapter 8
The 60x Bus
8.1 Terminology .........................................................................................................8-1
8.2 Bus Configuration.................................................................................................8-2
8.2.1 Single MPC8260 Bus Mode.............................................................................8-2
8.2.2 60x-Compatible Bus Mode...............................................................................8-3
8.3 60x Bus Protocol Overview..................................................................................8-4
8.3.1 Arbitration Phase ..............................................................................................8-5
8.3.2 Address Pipelining and Split-Bus Transactions ...............................................8-7
8.4 Address Tenure Operations ..................................................................................8-7
8.4.1 Address Arbitration ..........................................................................................8-7
8.4.2 Address Pipelining............................................................................................8-9
8.4.3 Address Transfer Attribute Signals ................................................................8-10
x
MPC8260 PowerQUICC II UserÕs Manual
MOTOROLA
CONTENTS
Paragraph
Number
8.4.3.1 Transfer Type Signal (TT[0Ð4]) Encoding ................................................8-10
8.4.3.2 Transfer Code Signals TC[0Ð2] .................................................................8-13
8.4.3.3 TBST and TSIZ[0Ð3] Signals and Size of Transfer................................... 8-13
8.4.3.4 Burst Ordering During Data Transfers.......................................................8-14
8.4.3.5 Effect of Alignment on Data Transfers......................................................8-14
8.4.3.6 Effect of Port Size on Data Transfers ........................................................8-16
8.4.3.7 60x-Compatible Bus ModeÑSize Calculation..........................................8-19
8.4.3.8 Extended Transfer Mode............................................................................ 8-20
8.4.4 Address Transfer Termination .......................................................................8-23
8.4.4.1 Address Retried with ARTRY ...................................................................8-23
8.4.4.2 Address Tenure Timing Configuration ...................................................... 8-25
8.4.5 Pipeline Control .............................................................................................8-26
8.5 Data Tenure Operations .....................................................................................8-26
8.5.1 Data Bus Arbitration ......................................................................................8-26
8.5.2 Data Streaming Mode ....................................................................................8-27
8.5.3 Data Bus Transfers and Normal Termination ................................................ 8-27
8.5.4 Effect of ARTRY Assertion on Data Transfer and Arbitration .....................8-28
8.5.5 Port Size Data Bus Transfers and PSDVAL Termination .............................8-28
8.5.6 Data Bus Termination by Assertion of TEA.................................................. 8-30
8.6 Memory CoherencyÑMEI Protocol..................................................................8-31
8.7 Processor State Signals.......................................................................................8-32
8.7.1 Support for the lwarx/stwcx. Instruction Pair ................................................8-33
8.7.2 TLBISYNC Input........................................................................................... 8-33
8.8 Little-Endian Mode ............................................................................................8-33
Title
Page
Number
Chapter 9
Clocks and Power Control
9.1 Clock Unit ............................................................................................................9-1
9.2 Clock Configuration.............................................................................................9-2
9.3 External Clock Inputs........................................................................................... 9-5
9.4 Main PLL .............................................................................................................9-5
9.4.1 PLL Block Diagram ......................................................................................... 9-5
9.4.2 Skew Elimination ............................................................................................. 9-6
9.5 Clock Dividers......................................................................................................9-6
9.6 The MPC8260Õs Internal Clock Signals...............................................................9-6
9.6.1 General System Clocks ....................................................................................9-7
9.7 PLL Pins...............................................................................................................9-7
MOTOROLA
Contents
xi
CONTENTS
Paragraph
Number
9.8 System Clock Control Register (SCCR) ..............................................................9-8
9.9 System Clock Mode Register (SCMR) ................................................................9-9
9.10 Basic Power Structure ........................................................................................9-10
Title
Chapter 10
Page
Number
Memory Controller
10.1 Features...............................................................................................................10-3
10.2 Basic Architecture ..............................................................................................10-5
10.2.1 Address and Address Space Checking ...........................................................10-8
10.2.2 Page Hit Checking..........................................................................................10-9
10.2.3 Error Checking and Correction (ECC) ...........................................................10-9
10.2.4 Parity Generation and Checking.....................................................................10-9
10.2.5 Transfer Error Acknowledge (TEA) Generation............................................10-9
10.2.6 Machine Check Interrupt (MCP) Generation .................................................10-9
10.2.7 Data Buffer Controls (BCTLx) ....................................................................10-10
10.2.8 Atomic Bus Operation..................................................................................10-10
10.2.9 Data Pipelining ............................................................................................10-10
10.2.10 External Memory Controller Support...........................................................10-11
10.2.11 External Address Latch Enable Signal (ALE)..............................................10-11
10.2.12 ECC/Parity Byte Select (PBSE) ...................................................................10-11
10.2.13 Partial Data Valid Indication (PSDVAL).....................................................10-12
10.3 Register Descriptions........................................................................................10-13
x
10.3.1 Base Registers (BR
10.3.2 Option Registers (ORx)................................................................................10-16
10.3.3 60x SDRAM Mode Register (PSDMR) .......................................................10-21
10.3.4 Local Bus SDRAM Mode Register (LSDMR) ............................................10-24
10.3.5 Machine A/B/C Mode Registers (MxMR) ...................................................10-26
10.3.6 Memory Data Register (MDR).....................................................................10-28
10.3.7 Memory Address Register (MAR) ...............................................................10-29
10.3.8 60x Bus-Assigned UPM Refresh Timer (PURT).........................................10-30
10.3.9 Local Bus-Assigned UPM Refresh Timer (LURT)......................................10-30
10.3.10 60x Bus-Assigned SDRAM Refresh Timer (PSRT) ....................................10-31
10.3.11 Local Bus-Assigned SDRAM Refresh Timer (LSRT).................................10-32
10.3.12 Memory Refresh Timer Prescaler Register (MPTPR) .................................10-32
10.3.13 60x Bus Error Status and Control Registers (TESCRx)...............................10-33
10.3.14 Local Bus Error Status and Control Registers (L_TESCRx) .......................10-33
10.4 SDRAM Machine.............................................................................................10-33
10.4.1 Supported SDRAM Configurations .............................................................10-35
10.4.2 SDRAM Power-On Initialization .................................................................10-35
10.4.3 JEDEC-Standard SDRAM Interface Commands.........................................10-35
10.4.4 Page-Mode Support and Pipeline Accesses .................................................10-36
) ...................................................................................10-14
xii
MPC8260 PowerQUICC II UserÕs Manual
MOTOROLA
CONTENTS
Paragraph
Number
Title
Page
Number
10.4.5 Bank Interleaving ........................................................................................ 10-36
10.4.5.1 SDRAM Address Multiplexing (SDAM and BSMA) .............................10-37
10.4.6 SDRAM Device-Specific Parameters .......................................................... 10-38
10.4.6.1 Precharge-to-Activate Interval ................................................................. 10-38
10.4.6.2 Activate to Read/Write Interval ...............................................................10-39
10.4.6.3 Column Address to First Data OutÑCAS Latency .................................10-40
10.4.6.4 Last Data Out to Precharge ......................................................................10-40
10.4.6.5 Last Data In to PrechargeÑWrite Recovery ...........................................10-41
10.4.6.6 Refresh Recovery Interval (RFRC).......................................................... 10-41
10.4.6.7 External Address Multiplexing Signal ..................................................... 10-41
10.4.6.8 External Address and Command Buffers (BUFCMD) ............................10-42
10.4.7 SDRAM Interface Timing............................................................................10-42
10.4.8 SDRAM Read/Write Transactions............................................................... 10-46
10.4.9 SDRAM Mode-Set Command Timing ........................................................10-46
10.4.10 SDRAM Refresh .......................................................................................... 10-47
10.4.11 SDRAM Refresh Timing .............................................................................10-47
10.4.12 SDRAM Configuration Examples ...............................................................10-48
10.4.12.1 SDRAM Configuration Example (Page-Based Interleaving) .................. 10-48
10.4.13 SDRAM Configuration Example (Bank-Based Interleaving) .....................10-50
10.5 General-Purpose Chip-Select Machine (GPCM) ............................................. 10-51
10.5.1 Timing Configuration...................................................................................10-52
10.5.1.1 Chip-Select Assertion Timing..................................................................10-53
10.5.1.2 Chip-Select and Write Enable Deassertion Timing .................................10-54
10.5.1.3 Relaxed Timing........................................................................................10-55
10.5.1.4 Output Enable (OE) Timing.....................................................................10-57
10.5.1.5 Programmable Wait State Configuration ................................................. 10-57
10.5.1.6 Extended Hold Time on Read Accesses ..................................................10-57
10.5.2 External Access Termination ....................................................................... 10-60
10.5.3 Boot Chip-Select Operation ......................................................................... 10-61
10.5.4 Differences between MPC8xxÕs GPCM and MPC8260Õs GPCM............... 10-62
10.6 User-Programmable Machines (UPMs) ........................................................... 10-62
10.6.1 Requests .......................................................................................................10-64
10.6.1.1 Memory Access Requests ........................................................................10-65
10.6.1.2 UPM Refresh Timer Requests .................................................................10-65
10.6.1.3 Software RequestsÑrun Command .........................................................10-66
10.6.1.4 Exception Requests ..................................................................................10-66
10.6.2 Programming the UPMs............................................................................... 10-66
10.6.3 Clock Timing ...............................................................................................10-67
10.6.4 The RAM Array ........................................................................................... 10-69
10.6.4.1 RAM Words ............................................................................................. 10-70
10.6.4.1.1 Chip-Select Signals (CxTx) .................................................................10-74
10.6.4.1.2 Byte-Select Signals (BxTx) .................................................................10-75
10.6.4.1.3 General-Purpose Signals (GxTx, GOx) ...............................................10-76
MOTOROLA
Contents
xiii
CONTENTS
Paragraph
Number
10.6.4.1.4 Loop Control ........................................................................................10-76
10.6.4.1.5 Repeat Execution of Current RAM Word (REDO) ............................10-76
10.6.4.2 Address Multiplexing ...............................................................................10-77
10.6.4.3 Data Valid and Data Sample Control .......................................................10-77
10.6.4.4 Signals Negation.......................................................................................10-78
10.6.4.5 The Wait Mechanism ...............................................................................10-78
10.6.4.6 Extended Hold Time on Read Accesses ..................................................10-79
10.6.5 UPM DRAM Configuration Example..........................................................10-79
10.6.6 Differences between MPC8xx UPM and MPC8260 UPM ..........................10-80
10.7 Memory System Interface Example Using UPM .............................................10-81
10.7.0.1 EDO Interface Example ...........................................................................10-92
10.8 Handling Devices with Slow or Variable Access Times................................10-100
10.8.1 Hierarchical Bus Interface Example...........................................................10-100
10.8.2 Slow Devices Example...............................................................................10-100
10.9 External Master Support (60x-Compatible Mode).........................................10-101
10.9.1 60x-Compatible External Masters..............................................................10-101
10.9.2 MPC8260-Type External Masters..............................................................10-101
10.9.3 Extended Controls in 60x-Compatible Mode.............................................10-101
10.9.4 Using BNKSEL SIgnals in Single-MPC8260 Bus Mode ..........................10-102
10.9.5 Address Incrementing for External Bursting Masters ................................10-102
10.9.6 External Masters Timing ............................................................................10-102
10.9.6.1 Example of External Master Using the SDRAM Machine ....................10-104
Title
Chapter 11
Page
Number
Secondary (L2) Cache Support
11.1 L2 Cache Configurations....................................................................................11-1
11.1.1 Copy-Back Mode............................................................................................11-1
11.1.2 Write-Through Mode......................................................................................11-2
11.1.3 ECC/Parity Mode ...........................................................................................11-4
11.2 L2 Cache Interface Parameters...........................................................................11-7
11.3 System Requirements When Using the L2 Cache Interface...............................11-7
11.4 L2 Cache Operation............................................................................................11-7
11.5 Timing Example .................................................................................................11-8
Chapter 12
IEEE 1149.1 Test Access Port
12.1 Overview ............................................................................................................12-1
12.2 TAP Controller ...................................................................................................12-2
12.3 Boundary Scan Register .....................................................................................12-3
12.4 Instruction Register...........................................................................................12-28
xiv
MPC8260 PowerQUICC II UserÕs Manual
MOTOROLA
CONTENTS
Paragraph
Number
12.5 MPC8260 Restrictions .....................................................................................12-30
12.6 Nonscan Chain Operation ................................................................................12-30
Title
Chapter 13
Page
Number
Communications Processor Module Overview
13.1 Features ..............................................................................................................13-1
13.2 MPC8260
13.3 Communications Processor (CP) .......................................................................13-4
13.3.1 Features ..........................................................................................................13-4
13.3.2 CP Block Diagram .........................................................................................13-4
13.3.3 PowerPC Core Interface................................................................................. 13-6
13.3.4 Peripheral Interface ........................................................................................ 13-6
13.3.5 Execution from RAM..................................................................................... 13-7
13.3.6 RISC Controller Configuration Register (RCCR) .........................................13-7
13.3.7 RISC Time-Stamp Control Register (RTSCR) .............................................. 13-9
13.3.8 RISC Time-Stamp Register (RTSR)............................................................13-10
13.3.9 RISC Microcode Revision Number .............................................................13-10
13.4 Command Set ................................................................................................... 13-11
13.4.1 CP Command Register (CPCR) ................................................................... 13-11
13.4.1.1 CP Commands.......................................................................................... 13-13
13.4.2 Command Register Example........................................................................13-15
13.4.3 Command Execution Latency ...................................................................... 13-15
13.5 Dual-Port RAM................................................................................................13-15
13.5.1 Buffer Descriptors (BDs) ............................................................................. 13-17
13.5.2 Parameter RAM ...........................................................................................13-17
13.6 RISC Timer Tables...........................................................................................13-18
13.6.1 RISC Timer Table Parameter RAM............................................................. 13-19
13.6.2 RISC Timer Command Register (TM_CMD) .............................................13-20
13.6.3 RISC Timer Table Entries............................................................................ 13-21
13.6.4 RISC Timer Event Register (RTER)/Mask Register (RTMR) ....................13-21
13.6.5 set timer Command ......................................................................................13-22
13.6.6 RISC Timer Initialization Sequence ............................................................13-22
13.6.7 RISC Timer Initialization Example .............................................................13-22
13.6.8 RISC Timer Interrupt Handling ...................................................................13-23
13.6.9 RISC Timer Table Scan Algorithm..............................................................13-23
13.6.10 Using the RISC Timers to Track CP Loading .............................................13-24
Serial Configurations ........................................................................ 13-3
MOTOROLA
Contents
xv
CONTENTS
Paragraph
Number
Title
Chapter 14
Page
Number
Serial Interface with Time-Slot Assigner
14.1 Features...............................................................................................................14-3
14.2 Overview ............................................................................................................14-4
14.3 Enabling Connections to TSA ............................................................................14-7
14.4 Serial Interface RAM..........................................................................................14-8
14.4.1 One Multiplexed Channel with Static Frames................................................14-9
14.4.2 One Multiplexed Channel with Dynamic Frames ..........................................14-9
14.4.3 Programming SIx RAM Entries ...................................................................14-10
14.4.4 SIx RAM Programming Example ................................................................14-13
14.4.5 Static and Dynamic Routing.........................................................................14-14
14.5 Serial Interface Registers..................................................................................14-17
14.5.1 SI Global Mode Registers (SIxGMR) ..........................................................14-17
14.5.2 SI Mode Registers (SIxMR).........................................................................14-17
14.5.3 SIx RAM Shadow Address Registers (SIxRSR)..........................................14-23
14.5.4 SI Command Register (SIxCMDR)..............................................................14-24
14.5.5 SI Status Registers (SIxSTR) .......................................................................14-25
14.6 Serial Interface IDL Interface Support .............................................................14-25
14.6.1 IDL Interface Example .................................................................................14-26
14.6.2 IDL Interface Programming .........................................................................14-29
14.7 Serial Interface GCI Support ............................................................................14-31
14.7.1 SI GCI Activation/Deactivation Procedure ..................................................14-33
14.7.2 Serial Interface GCI Programming...............................................................14-33
14.7.2.1 Normal Mode GCI Programming.............................................................14-33
14.7.2.2 SCIT Programming ..................................................................................14-33
Chapter 15
CPM Multiplexing
15.1 Features...............................................................................................................15-2
15.2 Enabling Connections to TSA or NMSI.............................................................15-3
15.3 NMSI Configuration...........................................................................................15-4
15.4 CMX Registers ...................................................................................................15-6
15.4.1 CMX UTOPIA Address Register (CMXUAR)..............................................15-7
15.4.2 CMX SI1 Clock Route Register (CMXSI1CR) ...........................................15-10
15.4.3 CMX SI2 Clock Route Register (CMXSI2CR) ...........................................15-11
15.4.4 CMX FCC Clock Route Register (CMXFCR).............................................15-12
15.4.5 CMX SCC Clock Route Register (CMXSCR).............................................15-14
15.4.6 CMX SMC Clock Route Register (CMXSMR)...........................................15-17
xvi
MPC8260 PowerQUICC II UserÕs Manual
MOTOROLA
CONTENTS
Paragraph
Number
Title
Chapter 16
Page
Number
Baud-Rate Generators (BRGs)
16.1 BRG Configuration Registers 1Ð8 (BRGCx)..................................................... 16-2
16.2 Autobaud Operation on a UART .......................................................................16-4
16.3 UART Baud Rate Examples ..............................................................................16-5
Chapter 17
Timers
17.1 Features ..............................................................................................................17-2
17.2 General-Purpose Timer Units.............................................................................17-2
17.2.1 Cascaded Mode .............................................................................................. 17-3
17.2.2 Timer Global Configuration Registers (TGCR1 and TGCR2) ...................... 17-4
17.2.3 Timer Mode Registers (TMR1ÐTMR4)......................................................... 17-6
17.2.4 Timer Reference Registers (TRR1ÐTRR4).................................................... 17-7
17.2.5 Timer Capture Registers (TCR1ÐTCR4) .......................................................17-8
17.2.6 Timer Counters (TCN1ÐTCN4).....................................................................17-8
17.2.7 Timer Event Registers (TER1ÐTER4) ........................................................... 17-8
Chapter 18
SDMA Channels and IDMA Emulation
18.1 SDMA Bus Arbitration and Bus Transfers ........................................................18-2
18.2 SDMA Registers ................................................................................................18-3
18.2.1 SDMA Status Register (SDSR) .....................................................................18-3
18.2.2 SDMA Mask Register (SDMR) ..................................................................... 18-4
18.2.3 SDMA Transfer Error Address Registers (PDTEA and LDTEA).................18-4
18.2.4 SDMA Transfer Error MSNUM Registers (PDTEM and LDTEM) .............18-4
18.3 IDMA Emulation................................................................................................18-5
18.4 IDMA Features................................................................................................... 18-5
18.5 IDMA Transfers ................................................................................................. 18-6
18.5.1 Memory-to-Memory Transfers ......................................................................18-6
18.5.1.1 External Request Mode .............................................................................. 18-8
18.5.1.2 Normal Mode .............................................................................................18-9
18.5.2 Memory to/from Peripheral Transfers ...........................................................18-9
18.5.2.1 Dual-Address Transfers ...........................................................................18-10
18.5.2.1.1 Peripheral to Memory ..........................................................................18-10
18.5.2.1.2 Memory to Peripheral ..........................................................................18-10
18.5.2.2 Single Address (Fly-By) Transfers ..........................................................18-11
18.5.2.2.1 Peripheral-to-Memory Fly-By Transfers .............................................18-11
18.5.2.2.2 Memory-to-Peripheral Fly-By Transfers .............................................18-11
MOTOROLA
Contents
xvii
CONTENTS
Paragraph
Number
18.5.3 Controlling 60x Bus Bandwidth...................................................................18-12
18.6 IDMA Priorities................................................................................................18-12
18.7 IDMA Interface Signals....................................................................................18-12
18.7.1 DREQx and DACKx ....................................................................................18-13
18.7.1.1 Level-Sensitive Mode...............................................................................18-13
18.7.1.2 Edge-Sensitive Mode ...............................................................................18-13
18.7.2 DONEx .........................................................................................................18-14
18.8 IDMA Operation...............................................................................................18-14
18.8.1 Auto Buffer and Buffer Chaining.................................................................18-15
18.8.2 IDMAx Parameter RAM ..............................................................................18-16
18.8.2.1 DMA Channel Mode (DCM) ...................................................................18-18
18.8.2.2 Data Transfer Types as Programmed in DCM .........................................18-20
18.8.2.3 Programming DTS and STS.....................................................................18-20
18.8.3 IDMA Performance ......................................................................................18-22
18.8.4 IDMA Event Register (IDSR) and Mask Register (IDMR).........................18-22
18.8.5 IDMA BDs ...................................................................................................18-23
18.9 IDMA Commands ............................................................................................18-26
18.9.1 start_idma Command....................................................................................18-26
18.9.2 stop_idma Command....................................................................................18-26
18.10 IDMA Bus Exceptions......................................................................................18-27
18.10.1 Externally Recognizing IDMA Operand Transfers......................................18-27
18.11 Programming the Parallel I/O Registers...........................................................18-28
18.12 IDMA Programming Examples........................................................................18-29
18.12.1 Peripheral-to-Memory Mode (60x Bus to Local Bus)ÑIDMA2.................18-29
18.12.2 Memory-to-Peripheral Fly-By Mode (Both on 60x Bus)ÑIDMA3 ............18-30
Title
Page
Number
Chapter 19
Serial Communications Controllers (SCCs)
19.1 Features...............................................................................................................19-2
19.1.1 The General SCC Mode Registers (GSMR1ÐGSMR4) .................................19-3
19.1.2 Protocol-Specific Mode Register (PSMR) .....................................................19-9
19.1.3 Data Synchronization Register (DSR)............................................................19-9
19.1.4 Transmit-on-Demand Register (TODR).........................................................19-9
19.2 SCC Buffer Descriptors (BDs) .........................................................................19-10
19.3 SCC Parameter RAM .......................................................................................19-13
19.3.1 SCC Base Addresses ....................................................................................19-15
19.3.2 Function Code Registers (RFCR and TFCR)...............................................19-15
19.3.3 Handling SCC Interrupts ..............................................................................19-16
19.3.4 Initializing the SCCs.....................................................................................19-17
19.3.5 Controlling SCC Timing with RTS, CTS, and CD ......................................19-18
19.3.5.1 Synchronous Protocols .............................................................................19-18
xviii
MPC8260 PowerQUICC II UserÕs Manual
MOTOROLA
CONTENTS
Paragraph
Number
19.3.5.2 Asynchronous Protocols .......................................................................... 19-21
19.3.6 Digital Phase-Locked Loop (DPLL) Operation...........................................19-22
19.3.6.1 Encoding Data with a DPLL .................................................................... 19-24
19.3.7 Clock Glitch Detection................................................................................. 19-26
19.3.8 Reconfiguring the SCCs............................................................................... 19-26
19.3.8.1 General Reconfiguration Sequence for an SCC Transmitter ...................19-26
19.3.8.2 Reset Sequence for an SCC Transmitter .................................................. 19-27
19.3.8.3 General Reconfiguration Sequence for an SCC Receiver ....................... 19-27
19.3.8.4 Reset Sequence for an SCC Receiver ......................................................19-27
19.3.8.5 Switching Protocols .................................................................................19-27
19.3.9 Saving Power ...............................................................................................19-27
Title
Chapter 20
Page
Number
SCC UART Mode
20.1 Features ..............................................................................................................20-2
20.2 Normal Asynchronous Mode .............................................................................20-3
20.3 Synchronous Mode.............................................................................................20-3
20.4 SCC UART Parameter RAM ............................................................................. 20-4
20.5 Data-Handling Methods: Character- or Message-Based.................................... 20-5
20.6 Error and Status Reporting.................................................................................20-6
20.7 SCC UART Commands .....................................................................................20-6
20.8 Multidrop Systems and Address Recognition....................................................20-7
20.9 Receiving Control Characters ............................................................................20-8
20.10 Hunt Mode (Receiver)...................................................................................... 20-10
20.11 Inserting Control Characters into the Transmit Data Stream...........................20-10
20.12 Sending a Break (Transmitter) ......................................................................... 20-11
20.13 Sending a Preamble (Transmitter)....................................................................20-11
20.14 Fractional Stop Bits (Transmitter)....................................................................20-11
20.15 Handling Errors in the SCC UART Controller ................................................ 20-12
20.16 UART Mode Register (PSMR) ........................................................................20-13
20.17 SCC UART Receive Buffer Descriptor (RxBD) .............................................20-15
20.18 SCC UART Transmit Buffer Descriptor (TxBD) ............................................ 20-18
20.19 SCC UART Event Register (SCCE) and Mask Register (SCCM) ..................20-19
20.20 SCC UART Status Register (SCCS)................................................................20-21
20.21 SCC UART Programming Example ................................................................20-22
20.22 S-Records Loader Application .........................................................................20-23
MOTOROLA
Contents
xix
CONTENTS
Paragraph
Number
Title
Chapter 21
Page
Number
SCC HDLC Mode
21.1 SCC HDLC Features ..........................................................................................21-2
21.2 SCC HDLC Channel Frame Transmission.........................................................21-2
21.3 SCC HDLC Channel Frame Reception ..............................................................21-3
21.4 SCC HDLC Parameter RAM .............................................................................21-3
21.5 Programming the SCC in HDLC Mode .............................................................21-5
21.6 SCC HDLC Commands .....................................................................................21-5
21.7 Handling Errors in the SCC HDLC Controller ..................................................21-6
21.8 HDLC Mode Register (PSMR) ..........................................................................21-7
21.9 SCC HDLC Receive Buffer Descriptor (RxBD)................................................21-8
21.10 SCC HDLC Transmit Buffer Descriptor (TxBD) ............................................21-11
21.11 HDLC Event Register (SCCE)/HDLC Mask Register (SCCM) ......................21-12
21.12 SCC HDLC Status Register (SCCS) ................................................................21-14
21.13 SCC HDLC Programming Examples...............................................................21-14
21.13.1 SCC HDLC Programming Example #1 .......................................................21-15
21.13.2 SCC HDLC Programming Example #2 .......................................................21-16
21.14 HDLC Bus Mode with Collision Detection .....................................................21-17
21.14.1 HDLC Bus Features .....................................................................................21-19
21.14.2 Accessing the HDLC Bus.............................................................................21-19
21.14.3 Increasing Performance ................................................................................21-20
21.14.4 Delayed RTS Mode ......................................................................................21-21
21.14.5 Using the Time-Slot Assigner (TSA) ...........................................................21-22
21.14.6 HDLC Bus Protocol Programming ..............................................................21-23
21.14.6.1 Programming GSMR and PSMR for the HDLC Bus Protocol ................21-23
21.14.6.2 HDLC Bus Controller Programming Example ........................................21-23
Chapter 22
SCC BISYNC Mode
22.1 Features...............................................................................................................22-2
22.2 SCC BISYNC Channel Frame Transmission.....................................................22-2
22.3 SCC BISYNC Channel Frame Reception ..........................................................22-3
22.4 SCC BISYNC Parameter RAM..........................................................................22-3
22.5 SCC BISYNC Commands..................................................................................22-5
22.6 SCC BISYNC Control Character Recognition...................................................22-6
22.7 BISYNC SYNC Register (BSYNC)...................................................................22-7
22.8 SCC BISYNC DLE Register (BDLE)................................................................22-8
22.9 Sending and Receiving the Synchronization Sequence......................................22-9
22.10 Handling Errors in the SCC BISYNC ................................................................22-9
22.11 BISYNC Mode Register (PSMR).....................................................................22-10
xx
MPC8260 PowerQUICC II UserÕs Manual
MOTOROLA
CONTENTS
Paragraph
Number
22.12 SCC BISYNC Receive BD (RxBD) ................................................................22-12
22.13 SCC BISYNC Transmit BD (TxBD)...............................................................22-14
22.14 BISYNC Event Register (SCCE)/BISYNC Mask Register (SCCM) .............. 22-15
22.15 SCC Status Registers (SCCS) ..........................................................................22-16
22.16 Programming the SCC BISYNC Controller ....................................................22-17
22.17 SCC BISYNC Programming Example ............................................................22-18
Title
Chapter 23
Page
Number
SCC Transparent Mode
23.1 Features ..............................................................................................................23-1
23.2 SCC Transparent Channel Frame Transmission Process...................................23-2
23.3 SCC Transparent Channel Frame Reception Process ........................................23-2
23.4 Achieving Synchronization in Transparent Mode .............................................23-3
23.4.1 Synchronization in NMSI Mode .................................................................... 23-3
23.4.1.1 In-Line Synchronization Pattern ................................................................23-3
23.4.1.2 External Synchronization Signals ..............................................................23-4
23.4.1.2.1 External Synchronization Example........................................................ 23-4
23.4.1.3 Transparent Mode without Explicit Synchronization ................................23-5
23.4.2 Synchronization and the TSA ........................................................................23-5
23.4.2.1 Inline Synchronization Pattern ...................................................................23-6
23.4.2.2 Inherent Synchronization ...........................................................................23-6
23.4.3 End of Frame Detection .................................................................................23-6
23.5 CRC Calculation in Transparent Mode..............................................................23-6
23.6 SCC Transparent Parameter RAM.....................................................................23-6
23.7 SCC Transparent Commands.............................................................................23-7
23.8 Handling Errors in the Transparent Controller ..................................................23-8
23.9 Transparent Mode and the PSMR ...................................................................... 23-9
23.10 SCC Transparent Receive Buffer Descriptor (RxBD) ....................................... 23-9
23.11 SCC Transparent Transmit Buffer Descriptor (TxBD).................................... 23-10
23.12 SCC Transparent Event Register (SCCE)/Mask Register (SCCM)................. 23-12
23.13 SCC Status Register in Transparent Mode (SCCS) .........................................23-13
23.14 SCC2 Transparent Programming Example ......................................................23-13
Chapter 24
SCC Ethernet Mode
24.1 Ethernet on the MPC8260..................................................................................24-2
24.2 Features ..............................................................................................................24-3
24.3 Connecting the MPC8260 to Ethernet ...............................................................24-4
24.4 SCC Ethernet Channel Frame Transmission...................................................... 24-5
24.5 SCC Ethernet Channel Frame Reception ...........................................................24-6
MOTOROLA
Contents
xxi
CONTENTS
Paragraph
Number
24.6 The Content-Addressable Memory (CAM) Interface ........................................24-7
24.7 SCC Ethernet Parameter RAM...........................................................................24-8
24.8 Programming the Ethernet Controller ..............................................................24-10
24.9 SCC Ethernet Commands.................................................................................24-10
24.10 SCC Ethernet Address Recognition .................................................................24-11
24.11 Hash Table Algorithm ......................................................................................24-13
24.12 Interpacket Gap Time .......................................................................................24-13
24.13 Handling Collisions ..........................................................................................24-13
24.14 Internal and External Loopback .......................................................................24-14
24.15 Full-Duplex Ethernet Support ..........................................................................24-14
24.16 Handling Errors in the Ethernet Controller ......................................................24-14
24.17 Ethernet Mode Register (PSMR)......................................................................24-15
24.18 SCC Ethernet Receive BD................................................................................24-17
24.19 SCC Ethernet Transmit Buffer Descriptor .......................................................24-19
24.20 SCC Ethernet Event Register (SCCE)/Mask Register (SCCM).......................24-21
24.21 SCC Ethernet Programming Example..............................................................24-23
Title
Chapter 25
Page
Number
SCC AppleTalk Mode
25.1 Operating the LocalTalk Bus..............................................................................25-1
25.2 Features...............................................................................................................25-2
25.3 Connecting to AppleTalk....................................................................................25-3
25.4 Programming the SCC in AppleTalk Mode .......................................................25-3
25.4.1 Programming the GSMR................................................................................25-3
25.4.2 Programming the PSMR.................................................................................25-4
25.4.3 Programming the TODR ................................................................................25-4
25.4.4 SCC AppleTalk Programming Example ........................................................25-4
Chapter 26
Serial Management Controllers (SMCs)
26.1 Features...............................................................................................................26-2
26.2 Common SMC Settings and Configurations ......................................................26-3
26.2.1 SMC Mode Registers (SMCMR1/SMCMR2) ...............................................26-3
26.2.2 SMC Buffer Descriptor Operation .................................................................26-5
26.2.3 SMC Parameter RAM ....................................................................................26-6
26.2.3.1 SMC Function Code Registers (RFCR/TFCR) ..........................................26-8
26.2.4 Disabling SMCs On-the-Fly...........................................................................26-9
26.2.4.1 SMC Transmitter Full Sequence ................................................................26-9
26.2.4.2 SMC Transmitter Shortcut Sequence .........................................................26-9
26.2.4.3 SMC Receiver Full Sequence.....................................................................26-9
xxii
MPC8260 PowerQUICC II UserÕs Manual
MOTOROLA
CONTENTS
Paragraph
Number
Title
Page
Number
26.2.4.4 SMC Receiver Shortcut Sequence ...........................................................26-10
26.2.4.5 Switching Protocols .................................................................................26-10
26.2.5 Saving Power ...............................................................................................26-10
26.2.6 Handling Interrupts in the SMC...................................................................26-10
26.3 SMC in UART Mode ....................................................................................... 26-10
26.3.1 Features ........................................................................................................26-11
26.3.2 SMC UART Channel Transmission Process ...............................................26-11
26.3.3 SMC UART Channel Reception Process..................................................... 26-12
26.3.4 Programming the SMC UART Controller ................................................... 26-12
26.3.5 SMC UART Transmit and Receive Commands .......................................... 26-12
26.3.6 Sending a Break ...........................................................................................26-13
26.3.7 Sending a Preamble...................................................................................... 26-13
26.3.8 Handling Errors in the SMC UART Controller ........................................... 26-13
26.3.9 SMC UART RxBD ......................................................................................26-14
26.3.10 SMC UART TxBD ......................................................................................26-16
26.3.11 SMC UART Event Register (SMCE)/Mask Register (SMCM) ..................26-18
26.3.12 SMC UART Controller Programming Example.......................................... 26-19
26.4 SMC in Transparent Mode...............................................................................26-20
26.4.1 Features ........................................................................................................26-21
26.4.2 SMC Transparent Channel Transmission Process ....................................... 26-21
26.4.3 SMC Transparent Channel Reception Process ............................................26-22
26.4.4 Using SMSYN for Synchronization.............................................................26-22
26.4.5 Using the Time-Slot Assigner (TSA) for Synchronization..........................26-23
26.4.6 SMC Transparent Commands ...................................................................... 26-25
26.4.7 Handling Errors in the SMC Transparent Controller...................................26-25
26.4.8 SMC Transparent RxBD .............................................................................. 26-26
26.4.9 SMC Transparent TxBD ..............................................................................26-27
26.4.10 SMC Transparent Event Register (SMCE)/Mask Register (SMCM) .......... 26-28
26.4.11 SMC Transparent NMSI Programming Example ........................................ 26-29
26.5 The SMC in GCI Mode....................................................................................26-30
26.5.1 SMC GCI Parameter RAM .......................................................................... 26-30
26.5.2 Handling the GCI Monitor Channel............................................................. 26-31
26.5.2.1 SMC GCI Monitor Channel Transmission Process .................................26-31
26.5.2.2 SMC GCI Monitor Channel Reception Process ...................................... 26-31
26.5.3 Handling the GCI C/I Channel..................................................................... 26-31
26.5.3.1 SMC GCI C/I Channel Transmission Process .........................................26-31
26.5.3.2 SMC GCI C/I Channel Reception Process .............................................. 26-31
26.5.4 SMC GCI Commands ..................................................................................26-32
26.5.5 SMC GCI Monitor Channel RxBD.............................................................. 26-32
26.5.6 SMC GCI Monitor Channel TxBD .............................................................. 26-32
26.5.7 SMC GCI C/I Channel RxBD...................................................................... 26-33
26.5.8 SMC GCI C/I Channel TxBD ...................................................................... 26-33
26.5.9 SMC GCI Event Register (SMCE)/Mask Register (SMCM) ......................26-34
MOTOROLA
Contents
xxiii
CONTENTS
Paragraph
Number
Title
Chapter 27
Page
Number
Multi-Channel Controllers (MCCs)
27.1 Features...............................................................................................................27-1
27.2 MCC Data Structure Organization .....................................................................27-2
27.3 Global MCC Parameters.....................................................................................27-3
27.4 Channel Extra Parameters ..................................................................................27-5
27.5 Super-Channel Table ..........................................................................................27-5
27.6 Channel-Specific HDLC Parameters..................................................................27-8
27.6.1 Internal Transmitter State (TSTATE) ............................................................27-9
27.6.2 Interrupt Mask (INTMSK) .............................................................................27-9
27.6.3 Channel Mode Register (CHAMR)..............................................................27-10
27.6.4 Internal Receiver State (RSTATE)...............................................................27-11
27.7 Channel-Specific Transparent Parameters........................................................27-12
27.7.1 Channel Mode Register (CHAMR)ÑTransparent Mode ............................27-13
27.8 MCC Configuration Registers (MCCFx) .........................................................27-15
27.9 MCC Commands ..............................................................................................27-16
27.10 MCC Exceptions...............................................................................................27-17
27.10.1 MCC Event Register (MCCE)/Mask Register (MCCM) .............................27-18
27.10.1.1 Interrupt Table Entry ................................................................................27-19
27.11 MCC Buffer Descriptors ..................................................................................27-21
27.11.1 Receive Buffer Descriptor (RxBD) ..............................................................27-21
27.11.2 Transmit Buffer Descriptor (TxBD).............................................................27-23
27.12 MCC Initialization and Start/Stop Sequence....................................................27-24
27.12.1 Single-Channel Initialization........................................................................27-25
27.12.2 Super Channel Initialization .........................................................................27-26
27.13 MCC Latency and Performance .......................................................................27-26
Chapter 28
Fast Communications Controllers (FCCs)
28.1 Overview ............................................................................................................28-2
28.2 General FCC Mode Registers (GFMRx)............................................................28-3
28.3 FCC Protocol-Specific Mode Registers (FPSMRx)...........................................28-7
28.4 FCC Data Synchronization Registers (FDSRx) .................................................28-7
28.5 FCC Transmit-on-Demand Registers (FTODRx) ..............................................28-7
28.6 FCC Buffer Descriptors......................................................................................28-8
28.7 FCC Parameter RAM .......................................................................................28-10
28.7.1 FCC Function Code Registers (FCRx).........................................................28-13
28.8 Interrupts from the FCCs..................................................................................28-13
28.8.1 FCC Event Registers (FCCEx).....................................................................28-14
28.8.2 FCC Mask Registers (FCCMx) ....................................................................28-14
xxiv MPC8260 PowerQUICC II UserÕs Manual MOTOROLA
CONTENTS
Paragraph
Number
28.8.3 FCC Status Registers (FCCSx) .................................................................... 28-14
28.9 FCC Initialization.............................................................................................28-14
28.10 FCC Interrupt Handling ...................................................................................28-15
28.11 FCC Timing Control ........................................................................................28-15
28.12 Disabling the FCCs On-the-Fly........................................................................28-19
28.12.1 FCC Transmitter Full Sequence................................................................... 28-20
28.12.2 FCC Transmitter Shortcut Sequence............................................................ 28-20
28.12.3 FCC Receiver Full Sequence .......................................................................28-20
28.12.4 FCC Receiver Shortcut Sequence ................................................................ 28-21
28.12.5 Switching Protocols .....................................................................................28-21
28.13 Saving Power....................................................................................................28-21
Title
Chapter 29
Page
Number
ATM Controller
29.1 Features ..............................................................................................................29-2
29.2 ATM Controller Overview................................................................................. 29-4
29.2.1 Transmitter Overview ....................................................................................29-5
29.2.1.1 AAL5 Transmitter Overview .....................................................................29-5
29.2.1.2 AAL1 Transmitter Overview .....................................................................29-5
29.2.1.3 AAL0 Transmitter Overview .....................................................................29-6
29.2.1.4 Transmit External Rate and Internal Rate Modes ...................................... 29-6
29.2.2 Receiver Overview......................................................................................... 29-6
29.2.2.1 AAL5 Receiver Overview ......................................................................... 29-7
29.2.2.2 AAL1 Receiver Overview ......................................................................... 29-7
29.2.2.3 AAL0 Receiver Overview ......................................................................... 29-8
29.2.3 Performance Monitoring ................................................................................ 29-8
29.2.4 ABR Flow Control ......................................................................................... 29-8
29.3 ATM Pace Control (APC) Unit.......................................................................... 29-8
29.3.1 APC Modes and ATM Service Types............................................................ 29-8
29.3.2 APC Unit Scheduling Mechanism .................................................................29-9
29.3.3 Determining the Scheduling Table Size....................................................... 29-10
29.3.3.1 Determining the Cells Per Slot (CPS) in a Scheduling Table .................. 29-10
29.3.3.2 Determining the Number of Slots in a Scheduling Table ........................29-11
29.3.4 Determining the Time-Slot Scheduling Rate of a Channel.......................... 29-11
29.3.5 ATM Traffic Type........................................................................................29-11
29.3.5.1 Peak Cell Rate Traffic Type..................................................................... 29-11
29.3.5.2 Determining the PCR Traffic Type Parameters ....................................... 29-11
29.3.5.3 Peak and Sustain Traffic Type (VBR) .....................................................29-12
29.3.5.3.1 Example for Using VBR Traffic Parameters .......................................29-12
29.3.5.3.2 Handling the Cell Loss Priority (CLP)ÑVBR Type 1 and 2 ..............29-13
29.3.5.4 Peak and Minimum Cell Rate Traffic Type (UBR+)...............................29-13
MOTOROLA Contents xxv
CONTENTS
Paragraph
Number
29.3.6 Determining the Priority of an ATM Channel .............................................29-13
29.4 VCI/VPI Address Lookup Mechanism.............................................................29-14
29.4.1 External CAM Lookup .................................................................................29-14
29.4.2 Address Compression...................................................................................29-15
29.4.2.1 VP-Level Address Compression Table (VPLT) ......................................29-17
29.4.2.2 VC-Level Address Compression Tables (VCLTs) ..................................29-18
29.4.3 Misinserted Cells ..........................................................................................29-18
29.4.4 Receive Raw Cell Queue..............................................................................29-19
29.5 Available Bit Rate (ABR) Flow Control ..........................................................29-20
29.5.1 The ABR Model ...........................................................................................29-20
29.5.1.1 ABR Flow Control Source End-System Behavior ...................................29-21
29.5.1.2 ABR Flow Control Destination End-System Behavior............................29-21
29.5.1.3 ABR Flowcharts .......................................................................................29-22
29.5.2 RM Cell Structure.........................................................................................29-25
29.5.2.1 RM Cell Rate Representation ...................................................................29-26
29.5.3 ABR Flow Control Setup .............................................................................29-27
29.6 OAM Support ...................................................................................................29-27
29.6.1 ATM-Layer OAM Definitions .....................................................................29-27
29.6.2 Virtual Path (F4) Flow Mechanism..............................................................29-28
29.6.3 Virtual Channel (F5) Flow Mechanism........................................................29-28
29.6.4 Receiving OAM F4 or F5 Cells....................................................................29-28
29.6.5 Transmitting OAM F4 or F5 Cells ...............................................................29-29
29.6.6 Performance Monitoring ..............................................................................29-29
29.6.6.1 Running a Performance Block Test..........................................................29-30
29.6.6.2 PM Block Monitoring ..............................................................................29-30
29.6.6.3 PM Block Generation ...............................................................................29-31
29.6.6.4 BRC Performance Calculations................................................................29-32
29.7 User-Defined Cells (UDC) ...............................................................................29-32
29.7.1 UDC Extended Address Mode (UEAD) ......................................................29-33
29.8 ATM Layer Statistics........................................................................................29-33
29.9 ATM-to-TDM Interworking.............................................................................29-34
29.9.1 Automatic Data Forwarding .........................................................................29-34
29.9.2 Using Interrupts in Automatic Data Forwarding..........................................29-35
29.9.3 Timing Issues................................................................................................29-36
29.9.4 Clock Synchronization (SRTS and Adaptive FIFOs) ..................................29-36
29.9.5 Mapping TDM Time Slots to VCs ...............................................................29-36
29.9.6 CAS Support.................................................................................................29-36
29.9.7 Trunk Condition ...........................................................................................29-37
29.9.8 ATM-to-ATM Data Forwarding ..................................................................29-37
29.10 ATM Memory Structure...................................................................................29-37
29.10.1 Parameter RAM............................................................................................29-37
29.10.1.1 Determining UEAD_OFFSET (UEAD Mode Only) ...............................29-40
29.10.1.2 VCI Filtering (VCIF)................................................................................29-40
Title
Page
Number
xxvi MPC8260 PowerQUICC II UserÕs Manual MOTOROLA
CONTENTS
Paragraph
Number
29.10.1.3 Global Mode Entry (GMODE) ................................................................29-41
29.10.2 Connection Tables (RCT, TCT, and TCTE)................................................29-41
29.10.2.1 ATM Channel Code .................................................................................29-42
29.10.2.2 Receive Connection Table (RCT) ............................................................29-43
29.10.2.2.1 AAL5 Protocol-Specific RCT.............................................................. 29-46
29.10.2.2.2 AAL5-ABR Protocol-Specific RCT ....................................................29-47
29.10.2.2.3 AAL1 Protocol-Specific RCT.............................................................. 29-48
29.10.2.2.4 AAL0 Protocol-Specific RCT.............................................................. 29-50
29.10.2.3 Transmit Connection Table (TCT) .......................................................... 29-51
29.10.2.3.1 AAL5 Protocol-Specific TCT .............................................................. 29-54
29.10.2.3.2 AAL1 Protocol-Specific TCT .............................................................. 29-54
29.10.2.3.3 AAL0 Protocol-Specific TCT .............................................................. 29-55
29.10.2.3.4 VBR Protocol-Specific TCTE .............................................................29-56
29.10.2.3.5 UBR+ Protocol-Specific TCTE ...........................................................29-57
29.10.2.3.6 ABR Protocol-Specific TCTE .............................................................29-58
29.10.3 OAM Performance Monitoring Tables ........................................................ 29-60
29.10.4 APC Data Structure...................................................................................... 29-61
29.10.4.1 APC Parameter Tables .............................................................................29-62
29.10.4.2 APC Priority Table................................................................................... 29-63
29.10.4.3 APC Scheduling Tables ...........................................................................29-63
29.10.5 ATM Controller Buffer Descriptors (BDs)..................................................29-64
29.10.5.1 Transmit Buffer Operations .....................................................................29-64
29.10.5.2 Receive Buffers Operation ....................................................................... 29-65
29.10.5.2.1 Static Buffer Allocation .......................................................................29-65
29.10.5.2.2 Global Buffer Allocation .....................................................................29-66
29.10.5.2.3 Free Buffer Pools .................................................................................29-67
29.10.5.2.4 Free Buffer Pool Parameter Tables ...................................................... 29-68
29.10.5.3 ATM Controller Buffers ..........................................................................29-69
29.10.5.4 AAL5 RxBD ............................................................................................29-69
29.10.5.5 AAL1 RxBD ............................................................................................29-71
29.10.5.6 AAL0 RxBD ............................................................................................29-72
29.10.5.7 AAL5, AAL1 User-Defined CellÑRxBD Extension.............................. 29-73
29.10.5.8 AAL5 TxBDs ........................................................................................... 29-74
29.10.5.9 AAL1 TxBDs ........................................................................................... 29-76
29.10.5.10 AAL0 TxBDs ........................................................................................... 29-77
29.10.5.11 AAL5, AAL1 User-Defined CellÑTxBD Extension .............................. 29-78
29.10.6 AAL1 Sequence Number (SN) Protection Table (AAL1 Only)..................29-78
29.10.7 UNI Statistics Table ..................................................................................... 29-78
29.11 ATM Exceptions ..............................................................................................29-79
29.11.1 Interrupt Queues........................................................................................... 29-79
29.11.2 Interrupt Queue Entry ..................................................................................29-80
29.11.3 Interrupt Queue Parameter Tables ...............................................................29-81
29.12 The UTOPIA Interface..................................................................................... 29-82
Title
Page
Number
MOTOROLA Contents xxvii
CONTENTS
Paragraph
Number
29.12.1 UTOPIA Interface Master Mode..................................................................29-82
29.12.1.1 UTOPIA Master Multiple PHY Operation ..............................................29-83
29.12.2 UTOPIA Interface Slave Mode ....................................................................29-83
29.12.2.1 UTOPIA Slave Multiple PHY Operation.................................................29-84
29.12.2.2 UTOPIA Clocking Modes........................................................................29-84
29.12.2.3 UTOPIA Loop-Back Modes ....................................................................29-85
29.13 ATM Registers .................................................................................................29-85
29.13.1 General FCC Mode Register (GFMR) .........................................................29-85
29.13.2 FCC Protocol-Specific Mode Register (FPSMR) ........................................29-85
29.13.3 ATM Event Register (FCCE)/Mask Register (FCCM)................................29-87
29.13.4 FCC Transmit Internal Rate Registers (FTIRRx) ........................................29-88
29.14 ATM Transmit Command ................................................................................29-90
29.15 SRTS Generation and Clock Recovery Using External Logic.........................29-91
29.16 Configuring the ATM Controller for Maximum CPM Performance ...............29-92
29.16.1 Using Transmit Internal Rate Mode .............................................................29-92
29.16.2 APC Configuration.......................................................................................29-93
29.16.3 Buffer Configuration ....................................................................................29-93
Title
Chapter 30
Page
Number
Fast Ethernet Controller
30.1 Fast Ethernet on the MPC8260...........................................................................30-2
30.2 Features...............................................................................................................30-3
30.3 Connecting the MPC8260 to Fast Ethernet ........................................................30-4
30.4 Ethernet Channel Frame Transmission...............................................................30-5
30.5 Ethernet Channel Frame Reception....................................................................30-7
30.6 Flow Control.......................................................................................................30-8
30.7 CAM Interface....................................................................................................30-8
30.8 Ethernet Parameter RAM ...................................................................................30-9
30.9 Programming Model.........................................................................................30-12
30.10 Ethernet Command Set.....................................................................................30-12
30.11 RMON Support.................................................................................................30-14
30.12 Ethernet Address Recognition ..........................................................................30-15
30.13 Hash Table Algorithm ......................................................................................30-17
30.14 Interpacket Gap Time .......................................................................................30-18
30.15 Handling Collisions ..........................................................................................30-18
30.16 Internal and External Loopback .......................................................................30-18
30.17 Ethernet Error-Handling Procedure..................................................................30-19
30.18 Fast Ethernet Registers .....................................................................................30-19
30.18.1 FCC Ethernet Mode Register (FPSMR).......................................................30-20
30.18.2 Ethernet Event Register (FCCE)/Mask Register (FCCM) ...........................30-21
xxviii MPC8260 PowerQUICC II UserÕs Manual MOTOROLA
CONTENTS
Paragraph
Number
30.19 Ethernet RxBDs................................................................................................30-23
30.20 Ethernet TxBDs................................................................................................ 30-26
Title
Chapter 31
Page
Number
FCC HDLC Controller
31.1 Key Features....................................................................................................... 31-2
31.2 HDLC Channel Frame Transmission Processing...............................................31-2
31.3 HDLC Channel Frame Reception Processing....................................................31-3
31.4 HDLC Parameter RAM...................................................................................... 31-4
31.5 Programming Model ..........................................................................................31-5
31.5.1 HDLC Command Set ..................................................................................... 31-5
31.5.2 HDLC Error Handling....................................................................................31-6
31.6 HDLC Mode Register (FPSMR)........................................................................ 31-7
31.7 HDLC Receive Buffer Descriptor (RxBD)........................................................31-9
31.8 HDLC Transmit Buffer Descriptor (TxBD).....................................................31-12
31.9 HDLC Event Register (FCCE)/Mask Register (FCCM)..................................31-14
31.10 FCC Status Register (FCCS)............................................................................ 31-16
Chapter 32
FCC Transparent Controller
32.1 Features ..............................................................................................................32-2
32.2 Transparent Channel Operation .........................................................................32-2
32.3 Achieving Synchronization in Transparent Mode .............................................32-2
32.3.1 In-Line Synchronization Pattern ....................................................................32-3
32.3.2 External Synchronization Signals ..................................................................32-3
32.3.3 Transparent Synchronization Example ..........................................................32-4
Chapter 33
Serial Peripheral Interface (SPI)
33.1 Features ..............................................................................................................33-2
33.2 SPI Clocking and Signal Functions....................................................................33-2
33.3 Configuring the SPI Controller ..........................................................................33-3
33.3.1 The SPI as a Master Device ...........................................................................33-3
33.3.2 The SPI as a Slave Device .............................................................................33-4
33.3.3 The SPI in Multimaster Operation ................................................................. 33-4
33.4 Programming the SPI Registers .........................................................................33-6
33.4.1 SPI Mode Register (SPMODE) .....................................................................33-6
33.4.1.1 SPI Examples with Different SPMODE[LEN] Values.............................. 33-8
33.4.2 SPI Event/Mask Registers (SPIE/SPIM) .......................................................33-9
MOTOROLA Contents xxix
CONTENTS
Paragraph
Number
Title
Page
Number
33.4.3 SPI Command Register (SPCOM) .................................................................33-9
33.5 SPI Parameter RAM .........................................................................................33-10
33.5.1 Receive/Transmit Function Code Registers (RFCR/TFCR) ........................33-12
33.6 SPI Commands .................................................................................................33-12
33.7 The SPI Buffer Descriptor (BD) Table.............................................................33-13
33.7.1 SPI Buffer Descriptors (BDs).......................................................................33-13
33.7.1.1 SPI Receive BD (RxBD) ..........................................................................33-14
33.7.1.2 SPI Transmit BD (TxBD).........................................................................33-15
33.8 SPI Master Programming Example ..................................................................33-16
33.9 SPI Slave Programming Example ....................................................................33-17
33.10 Handling Interrupts in the SPI ..........................................................................33-18
Chapter 34
2
I
C Controller
34.1 Features...............................................................................................................34-2
34.2 I
34.3 I
34.3.1 I
34.3.2 I
34.3.3 I
34.3.4 I
34.4 I
34.4.1 I
34.4.2 I
34.4.3 I
34.4.4 I
34.4.5 I
34.5 I
34.6 I
34.7 The I
34.7.1 I
34.7.1.1 I
34.7.1.2 I
2
C Controller Clocking and Signal Functions...................................................34-2
2
C Controller Transfers.....................................................................................34-3
2
C Master Write (Slave Read) ......................................................................34-4
2
C Loopback Testing ....................................................................................34-4
2
C Master Read (Slave Write) ......................................................................34-4
2
C Multi-Master Considerations ...................................................................34-5
2
C Registers.......................................................................................................34-6
2
C Mode Register (I2MOD) .........................................................................34-6
2
C Address Register (I2ADD) ......................................................................34-7
2
C Baud Rate Generator Register (I2BRG) ..................................................34-7
2
C Event/Mask Registers (I2CER/I2CMR) ..................................................34-8
2
C Command Register (I2COM) ..................................................................34-8
2
C Parameter RAM ...........................................................................................34-9
2
C Commands .................................................................................................34-11
2
C Buffer Descriptor (BD) Table.............................................................34-12
2
C Buffer Descriptors (BDs).......................................................................34-12
2
C Receive Buffer Descriptor (RxBD) ...................................................34-13
2
C Transmit Buffer Descriptor (TxBD)..................................................34-14
Chapter 35
Parallel I/O Ports
35.1 Features...............................................................................................................35-1
35.2 Port Registers......................................................................................................35-2
35.2.1 Port Open-Drain Registers (PODRAÐPODRD).............................................35-2
35.2.2 Port Data Registers (PDATAÐPDATD).........................................................35-2
xxx MPC8260 PowerQUICC II UserÕs Manual MOTOROLA