NEW DATABASE - 350 MILLION DATASHEETS FROM 8500 MANUFACTURERS
MPC855T MPC855TUM/D - Datasheet Archive
Integrated Communications Microprocessor MPC855TUM/D Rev. 0, 2/2001 TM DigitalDNA, PowerQUICC, and PowerQUICC II are trademarks
MPC855T MPC855T User's Manual Integrated Communications Microprocessor MPC855TUM/D MPC855TUM/D Rev. 0, 2/2001 TM DigitalDNA, PowerQUICC, and PowerQUICC II are trademarks of Motorola, Inc. The PowerPC name, the PowerPC logotype, and PowerPC 603e are trademarks of International Business Machines Corporation used by Motorola under license from International Business Machines Corporation. I2C is a registered trademark of Philips Semiconductors 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 which may be provided in Motorola data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. 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/Affirmative Action Employer. How to reach us: USA/EUROPE/Locations Not Listed: Motorola Literature Distribution; P.O. Box 5405, Denver, Colorado 80217. 13036752140 or 18004412447 JAPAN: Motorola Japan Ltd.; SPS, Technical Information Center, 3201, MinamiAzabu. Minatoku, Tokyo 1068573 Japan. 81334403569 ASIA/PACIFIC: Motorola Semiconductors H.K. Ltd.; Silicon Harbour Centre, 2 Dai King Street, Tai Po Industrial Estate, Tai Po, N.T., Hong Kong. 85226668334 Technical Information Center: 18005216274 HOME PAGE: http://www.motorola.com/semiconductors Document Comments: FAX (512) 933-2625, Attn: RISC Applications Engineering World Wide Web Addresses: http://www.motorola.com/PowerPC http://www.motorola.com/NetComm http://www.motorola.com/ColdFire © Motorola Inc., 2001. All rights reserved. Part I-Overview MPC855T MPC855T Overview Memory Map Part II-PowerPC Microprocessor Module PowerPC Core PowerPC Core Register Set MPC855T MPC855T Instruction Set Exceptions Instruction and Data Caches Memory Management Unit Instruction Execution Timing Part III-PowerPC Microprocessor Module System Interface Unit Reset Part IV-Hardware Interface External Signals External Bus Interface Clocks and Power Control Memory Controller PCMCIA Interface IND I 1 2 II 3 4 5 6 7 8 9 III 10 11 IV 12 13 14 15 16 I 1 2 II 3 4 5 6 7 8 9 III 10 11 IV 12 13 14 15 16 Part I-Overview MPC855T MPC855T Overview Memory Map Part II-PowerPC Microprocessor Module PowerPC Core PowerPC Core Register Set MPC855T MPC855T Instruction Set Exceptions Instruction and Data Caches Memory Management Unit Instruction Execution Timing Part III-PowerPC Microprocessor Module System Interface Unit Reset Part IV-Hardware Interface External Signals External Bus Interface Clocks and Power Control Memory Controller PCMCIA Interface Part V-Communications Processor Module Communications Processor Module and Timers Communications Processor SDMA Channels and IDMA Emulation Serial Interface SCC Introduction SCC UART Mode SCC HDLC Mode SCC AppleTalk Mode SCC Asynchronous HDLC Mode and IrDA SCC BISYNC Mode SCC Ethernet Mode SCC Transparent Mode Serial Management Controllers Serial Peripheral Interface I2C Controller Parallel Interface Port Parallel I/O Ports CPM Interrupt Controller Part VI-Asynchronous Transfer Mode ATM Overview Buffer Descriptors and Connection Tables ATM Parameter RAM ATM Controller ATM Pace Control ATM Exceptions Interface Configuration UTOPIA Interface Fast Ethernet Controller Fast Ethernet Controller Part VII-System Debugging and Testing Support System Development and Debugging IEEE 1149.1 Test Access Port Byte Ordering Serial Communication Performance Register Quick Reference Guide Instruction Set Listings Serial ATM Glossary Index V 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 VI 35 36 37 38 39 40 41 42 VII 43 VIII 43 44 45 A B C D F E 43 GLO I IND V 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 VI 35 36 37 38 39 40 41 42 VII 43 VIII 43 44 45 A B C D F E 43 GLO IND I Part V-Communications Processor Module Communications Processor Module and Timers Communications Processor SDMA Channels and IDMA Emulation Serial Interface SCC Introduction SCC UART Mode SCC HDLC Mode SCC AppleTalk Mode SCC Asynchronous HDLC Mode and IrDA SCC BISYNC Mode SCC Ethernet Mode SCC Transparent Mode Serial Management Controllers Serial Peripheral Interface I2 C Controller Parallel Interface Ports Parallel I/O Ports CPM Interrupt Controller Part VI-Asynchronous Transfer Mode ATM Overview Buffer Descriptors and Connection Tables ATM Parameter RAM ATM Controller ATM Pace Controller ATM Exceptions Interface Configuration UTOPIA Interface Fast Ethernet Controller Fast Ethernet Controller Part VIII System Debugging and Testing Support System Development and Debugging IEEE 1149.1 Test Access Port Byte Ordering Serial Communication Performance Register Quick Reference Guide Instruction Set Listings Serial ATM Glossary Index CONTENTS Paragraph Number Title Page Number Part I Overview Chapter 1 MPC855T MPC855T Overview 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 Features . 11 Embedded PowerPC Core. 16 System Interface Unit (SIU) . 17 PCMCIA Controller. 18 Power Management . 18 Communications Processor Module (CPM) . 18 ATM Capabilities. 19 Software Compatibility Issues . 110 Chapter 2 Memory Map Part II PowerPC Microprocessor Module Chapter 3 The PowerPC Core 3.1 3.2 3.2.1 3.3 3.4 3.4.1 3.4.2 3.4.3 3.4.3.1 3.4.3.2 The MPC855T MPC855T Core as a PowerPC Implementation . 31 PowerPC Architecture Overview. 31 Levels of the PowerPC Architecture . 33 Features . 34 Basic Structure of the Core . 35 Instruction Flow. 36 Basic Instruction Pipeline . 37 Instruction Unit . 37 Branch Operations . 37 Dispatching Instructions . 39 Contents vii CONTENTS Paragraph Number 3.5 3.6 3.6.1 3.6.2 3.6.3 3.6.3.1 3.6.3.2 3.6.3.3 3.6.3.4 3.6.3.5 3.6.3.6 3.7 Title Page Number Register Set . 39 Execution Units. 39 Branch Processing Unit . 310 Integer Unit . 310 Load/Store Unit. 310 Executing Load/Store Instructions . 312 Serializing Load/Store Instructions . 312 Store Accesses . 312 Nonspeculative Load Instructions . 313 Unaligned Accesses . 313 Atomic Update Primitives . 314 The MPC855T MPC855T and the PowerPC Architecture. 314 Chapter 4 PowerPC Core Register Set 4.1 4.1.1 4.1.1.1 4.1.1.1.1 4.1.1.1.2 4.1.1.1.3 4.1.1.1.4 4.1.2 4.1.2.1 4.1.2.2 4.1.2.3 4.1.2.3.1 4.1.2.3.2 4.1.3 4.1.3.1 4.2 MPC855T MPC855T Register Implementation . 41 PowerPC Registers-User Registers . 42 PowerPC User-Level Register Bit Assignments . 42 Condition Register (CR) . 43 Condition Register CR0 Field Definition . 43 XER . 43 Time Base Registers . 44 PowerPC Registers-Supervisor Registers . 44 DAR, DSISR, and BAR Operation. 45 Unsupported Registers. 46 PowerPC Supervisor-Level Register Bit Assignments. 46 Machine State Register (MSR). 46 Processor Version Register. 48 MPC855T-Specific SPRs . 48 Accessing SPRs . 411 Register Initialization at Reset . 411 Chapter 5 MPC855T MPC855T Instruction Set 5.1 5.1.1 5.1.2 5.2 5.2.1 5.2.1.1 viii Operand Conventions. 51 Data Organization in Memory and Data Transfers. 51 Aligned and Misaligned Accesses . 51 Instruction Set Summary. 52 Classes of Instructions . 53 Definition of Boundedly Undefined . 54 MPC855T MPC855T User's Manual CONTENTS Paragraph Number 5.2.1.2 5.2.1.3 5.2.1.4 5.2.2 5.2.2.1 5.2.2.2 5.2.2.3 5.2.2.3.1 5.2.2.3.2 5.2.2.3.3 5.2.3 5.2.4 5.2.4.1 5.2.4.1.1 5.2.4.1.2 5.2.4.1.3 5.2.4.1.4 5.2.4.2 5.2.4.2.1 5.2.4.2.2 5.2.4.2.3 5.2.4.2.4 5.2.4.2.5 5.2.4.2.6 5.2.4.3 5.2.4.3.1 5.2.4.3.2 5.2.4.3.3 5.2.4.4 5.2.4.5 5.2.4.5.1 5.2.4.6 5.2.5 5.2.5.1 5.2.5.2 5.2.5.2.1 5.2.5.2.2 5.2.5.3 5.2.6 5.2.6.1 5.2.6.2 5.2.6.2.1 5.2.6.2.2 5.2.6.3 Title Page Number Defined Instruction Class . 54 Illegal Instruction Class . 54 Reserved Instruction Class . 55 Addressing Modes . 55 Memory Addressing . 55 Effective Address Calculation . 56 Synchronization . 56 Context Synchronization . 56 Execution Synchronization. 57 Instruction-Related Exceptions. 57 Instruction Set Overview . 57 PowerPC UISA Instructions . 58 Integer Instructions . 58 Integer Arithmetic Instructions. 58 Integer Compare Instructions . 59 Integer Logical Instructions. 510 Integer Rotate and Shift Instructions . 510 Load and Store Instructions . 511 Integer Load and Store Address Generation. 511 Register Indirect Integer Load Instructions . 512 Integer Store Instructions. 512 Integer Load and Store with Byte-Reverse Instructions. 513 Integer Load and Store Multiple Instructions. 513 Integer Load and Store String Instructions. 514 Branch and Flow Control Instructions. 514 Branch Instruction Address Calculation. 515 Branch Instructions. 515 Condition Register Logical Instructions. 516 Trap Instructions . 516 Processor Control Instructions. 517 Move to/from Condition Register Instructions. 517 Memory Synchronization Instructions-UISA . 517 PowerPC VEA Instructions . 519 Processor Control Instructions. 519 Memory Synchronization Instructions-VEA . 520 eieio Behavior. 520 isync Behavior . 520 Memory Control Instructions-VEA . 521 PowerPC OEA Instructions . 521 System Linkage Instructions. 522 Processor Control Instructions-OEA . 522 Move to/from Machine State Register Instructions. 522 Move to/from Special-Purpose Register Instructions. 522 Memory Control Instructions-OEA . 523 Contents ix CONTENTS Paragraph Number Title Page Number Chapter 6 Exceptions 6.1 6.1.1 6.1.2 6.1.2.1 6.1.2.2 6.1.2.3 6.1.2.4 6.1.2.5 6.1.2.6 6.1.2.6.1 6.1.2.7 6.1.2.8 6.1.2.9 6.1.2.10 6.1.2.11 6.1.3 6.1.3.1 6.1.3.2 6.1.3.3 6.1.3.4 6.1.3.5 6.1.3.6 6.1.4 6.1.5 6.1.6 6.1.7 Exceptions. 62 Exception Ordering. 63 PowerPC-Defined Exceptions . 64 System Reset Interrupt (0x00100) . 65 Machine Check Interrupt (0x00200) . 65 DSI Exception (0x00300) . 66 ISI Exception (0x00400). 66 External Interrupt Exception (0x00500) . 66 Alignment Exception (0x00600) . 67 Integer Alignment Exceptions . 69 Program Exception (0x00700). 69 Decrementer Exception (0x00900). 610 System Call Exception (0x00C00) . 611 Trace Exception (0x00D00) . 612 Floating-Point Assist Exception . 612 Implementation-Specific Exceptions. 612 Software Emulation Exception (0x01000) . 612 Instruction TLB Miss Exception (0x01100). 613 Data TLB Miss Exception (0x01200). 613 Instruction TLB Error Exception (0x01300) . 614 Data TLB Error Exception (0x014000) . 615 Debug Exceptions (0x01C000x01F00) . 615 Implementing the Precise Exception Model. 616 Recoverability after an Exception. 617 Exception Latency . 618 Partially Completed Instructions . 621 Chapter 7 Instruction and Data Caches 7.1 7.2 7.3 7.3.1 7.3.1.1 7.3.1.2 7.3.1.2.1 7.3.1.2.2 7.3.1.2.3 x Instruction Cache Organization . 7-2 Data Cache Organization . 7-5 Cache Control Registers . 7-6 Instruction Cache Control Registers . 7-6 Reading Data and Tags in the Instruction Cache. 7-8 IC_CST Commands. 7-9 Instruction Cache Enable/Disable Commands . 7-9 Instruction Cache Load & Lock Cache Block Command . 7-10 Instruction Cache Unlock Cache Block Command . 7-11 MPC855T MPC855T User's Manual CONTENTS Paragraph Number 7.3.1.2.4 7.3.1.2.5 7.3.2 7.3.2.1 7.3.2.2 7.3.2.2.1 7.3.2.2.2 7.3.2.2.3 7.3.2.2.4 7.3.2.2.5 7.3.2.2.6 7.4 7.4.1 7.4.2 7.4.3 7.4.4 7.4.5 7.4.6 7.5 7.5.1 7.5.2 7.5.3 7.5.4 7.5.5 7.6 7.6.1 7.6.2 7.6.3 7.6.3.1 7.6.3.2 7.6.4 7.6.4.1 7.6.4.2 7.6.5 7.6.6 7.7 7.8 7.8.1 7.8.2 Title Page Number Instruction Cache Unlock All Command . 7-11 Instruction Cache Invalidate All Command . 7-11 Data Cache Control Registers. 7-11 Reading Data Cache Tags and Copyback Buffer . 7-14 DC_CST Commands . 7-15 Data Cache Enable/Disable Commands . 7-15 Data Cache Load & Lock Cache Block Command . 7-16 Data Cache Unlock Cache Block Command. 7-16 Data Cache Unlock All Command . 7-17 Data Cache Invalidate All Command . 7-17 Data Cache Flush Cache Block Command. 7-17 PowerPC Cache Control Instructions . 7-18 Instruction Cache Block Invalidate (icbi). 7-18 Data Cache Block Touch (dcbt) and Data Cache Block Touch for Store (dcbtst) . 7-18 Data Cache Block Zero (dcbz) . 7-19 Data Cache Block Store (dcbst) . 7-19 Data Cache Block Flush (dcbf) . 7-19 Data Cache Block Invalidate (dcbi) . 7-20 Instruction Cache Operations. 7-20 Instruction Cache Hit . 7-22 Instruction Cache Miss . 7-22 Instruction Fetching on a Predicted Path . 7-23 Fetching Instructions from Caching-Inhibited Regions. 7-23 Updating Code and Memory Region Attributes . 7-23 Data Cache Operation . 7-24 Data Cache Load Hit. 7-25 Data Cache Read Miss. 7-25 Write-Through Mode. 7-26 Data Cache Store Hit in Write-Through Mode. 7-26 Data Cache Store Miss in Write-Through Mode . 7-26 Write-Back Mode . 7-26 Data Cache Store Hit in Write-Back Mode . 7-26 Data Cache Store Miss in Write-Back Mode . 7-26 Data Accesses to Caching-Inhibited Memory Regions . 7-27 Atomic Memory References. 7-27 Cache Initialization after Reset. 7-29 Debug Support . 7-29 Instruction and Data Cache Operation in Debug Mode. 7-29 Instruction and Data Cache Operation with a Software Monitor Debugger 7-30 Contents xi CONTENTS Paragraph Number Title Page Number Chapter 8 Memory Management Unit 8.1 8.2 8.3 8.3.1 8.3.2 8.3.3 8.4 8.5 8.6 8.7 8.7.1 8.7.2 8.7.3 8.8 8.8.1 8.8.2 8.8.3 8.8.4 8.8.5 8.8.6 8.8.7 8.8.8 8.8.9 8.8.10 8.8.11 8.8.12 8.8.12.1 8.8.12.2 8.8.12.3 8.8.12.4 8.8.12.5 8.8.13 8.9 8.10 8.10.1 8.10.1.1 8.10.2 8.10.3 8.10.4 xii Features . 81 PowerPC Architecture Compliance . 82 Address Translation . 83 Translation Disabled . 83 Translation Enabled . 83 TLB Operation. 85 Using Access Protection Groups . 86 Protection Resolution Modes. 87 Memory Attributes. 88 Translation Table Structure. 89 Level-One Descriptor . 812 Level-Two Descriptor. 813 Page Size. 813 Programming Model . 814 IMMU Control Register (MI_CTR) . 815 DMMU Control Register (MD_CTR) . 816 IMMU/DMMU Effective Page Number Register (Mx_EPN) . 817 IMMU Tablewalk Control Register (MI_TWC) . 818 DMMU Tablewalk Control Register (MD_TWC) . 819 IMMU Real Page Number Register (MI_RPN) . 819 DMMU Real Page Number Register (MD_RPN) . 821 MMU Tablewalk Base Register (M_TWB) . 822 MMU Current Address Space ID Register (M_CASID). 822 MMU Access Protection Registers (MI_AP/MD_AP) . 823 MMU Tablewalk Special Register (M_TW) . 823 MMU Debug Registers. 824 IMMU CAM Entry Read Register (MI_CAM). 824 IMMU RAM Entry Read Register 0 (MI_RAM0). 825 IMMU RAM Entry Read Register 1 (MI_RAM1). 826 DMMU CAM Entry Read Register (MD_CAM). 827 DMMU RAM Entry Read Register 0 (MD_RAM0). 828 DMMU RAM Entry Read Register 1 (MD_RAM1). 829 Memory Management Unit Exceptions . 830 TLB Manipulation . 830 TLB Reload. 831 Translation Reload Examples . 831 Locking TLB Entries . 832 Loading Locked TLB Entries . 833 TLB Invalidation. 833 MPC855T MPC855T User's Manual CONTENTS Paragraph Number Title Page Number Chapter 9 Instruction Execution Timing 9.1 9.1.1 9.1.2 9.1.3 9.1.4 9.1.5 9.1.6 9.1.7 9.2 9.2.1 9.2.2 9.2.3 Instruction Execution Timing Examples . 91 Data Cache Load with a Data Dependency . 91 Writeback Arbitration . 92 Private Writeback Bus Load . 93 Fastest External Load (Data Cache Miss). 93 A Full Completion Queue. 94 Branch Instruction Handling. 94 Branch Prediction . 95 Instruction Timing List . 96 Load/Store Instruction Timing. 97 String Instruction Latency . 98 Accessing Off-Core SPRs. 98 Part III Configuration and Reset Chapter 10 System Interface Unit 10.1 10.2 10.3 10.4 10.4.1 10.4.2 10.4.3 10.4.4 10.4.5 10.5 10.5.1 10.5.2 10.5.3 10.5.3.1 10.5.4 10.5.4.1 10.5.4.2 10.5.4.3 10.5.4.4 10.6 Features . 102 System Configuration and Protection . 102 Multiplexing SIU Pins . 104 Programming the SIU . 105 Internal Memory Map Register (IMMR). 105 SIU Module Configuration Register (SIUMCR). 106 System Protection Control Register (SYPCR) . 107 Transfer Error Status Register (TESR). 108 Register Lock Mechanism . 109 System Configuration . 1011 Interrupt Structure. 1011 Priority of Interrupt Sources . 1013 SIU Interrupt Processing. 1014 Nonmaskable Interrupts-IRQ0 and SWT. 1014 Programming the SIU Interrupt Controller. 1015 SIU Interrupt Pending Register (SIPEND). 1015 SIU Interrupt Mask Register (SIMASK) . 1017 SIU Interrupt Edge/Level Register (SIEL) . 1018 SIU Interrupt Vector Register (SIVEC) . 1019 The Bus Monitor . 1020 Contents xiii CONTENTS Paragraph Number 10.7 10.7.1 10.8 10.8.1 10.9 10.9.1 10.9.2 10.9.3 10.10 10.10.1 10.10.2 10.10.3 10.10.4 10.11 10.11.1 10.11.2 10.11.3 10.12 10.12.1 10.12.2 Title Page Number The Software Watchdog Timer. 1021 Software Service Register (SWSR) . 1022 The PowerPC Decrementer. 1023 Decrementer Register (DEC). 1024 The PowerPC Timebase. 1024 Timebase Register (TBU and TBL). 1025 Timebase Reference Registers (TBREFA and TBREFB). 1026 Timebase Status and Control Register (TBSCR) . 1026 The Real-Time Clock. 1027 Real-Time Clock Status and Control Register (RTCSC) . 1028 Real-Time Clock Register (RTC) . 1029 Real-Time Clock Alarm Register (RTCAL) . 1029 Real-Time Clock Alarm Seconds Register (RTSEC). 1030 The Periodic Interrupt Timer (PIT). 1031 Periodic Interrupt Status and Control Register (PISCR) . 1032 PIT Count Register (PITC) . 1033 PIT Register (PITR). 1033 General SIU Timers Operation . 1034 Freeze Operation. 1034 Low-Power Stop Operation . 1034 Chapter 11 Reset 11.1 11.1.1 11.1.2 11.1.3 11.1.3.1 11.1.3.2 11.1.3.3 11.1.4 11.1.5 11.1.6 11.1.7 11.1.8 11.1.9 11.2 11.3 11.3.1 11.3.1.1 11.3.2 11.4 xiv Types of Reset. 111 Power-On Reset . 112 External Hard Reset . 112 Internal Hard Reset . 112 PLL Loss of Lock . 113 Software Watchdog Reset. 113 Checkstop Reset. 113 Debug Port Hard or Soft Reset . 113 JTAG Reset. 113 Power-On and Hard Reset Sequence . 114 External Soft Reset . 114 Internal Soft Reset . 114 Soft Reset Sequence. 115 Reset Status Register (RSR) . 115 MPC855T MPC855T Reset Configuration . 116 Hard Reset. 117 Hard Reset Configuration Word . 119 Soft Reset. 1111 TRST and Power Mode Considerations . 1111 MPC855T MPC855T User's Manual CONTENTS Paragraph Number Title Page Number Part IV The Hardware Interface Chapter 12 External Signals 12.1 12.2 12.3 12.4 12.4.1 12.4.1.1 12.4.2 12.4.3 12.4.4 12.5 System Bus Signals. 125 Active Pull-Up Buffers . 1222 Internal Pull-Up and Pull-Down Resistors . 1223 Recommended Basic Pin Connections . 1223 Reset Configuration . 1224 Bus Control Signals and Interrupts. 1224 JTAG and Debug Ports . 1224 Unused Inputs . 1225 Unused Outputs. 1225 Signal States during Reset . 1225 Chapter 13 External Bus Interface 13.1 13.2 13.3 13.4 13.4.1 13.4.2 13.4.2.1 13.4.2.2 13.4.3 13.4.4 13.4.5 13.4.6 13.4.6.1 13.4.6.2 13.4.6.3 13.4.6.4 13.4.7 13.4.7.1 13.4.7.2 13.4.7.3 13.4.7.3.1 13.4.7.3.2 Features . 131 Bus Transfer Overview . 131 Bus Interface Signal Descriptions. 132 Bus Operations. 136 Basic Transfer Protocol . 136 Single-Beat Transfer . 137 Single-Beat Read Flow . 137 Single-Beat Write Flow . 1310 Burst Transfers. 1313 Burst Operations . 1314 Alignment and Data Packing on Transfers . 1323 Arbitration Phase . 1326 Bus Request (BR) . 1327 Bus Grant (BG). 1327 Bus Busy (BB). 1328 External Bus Parking . 1330 Address Transfer Phase-Related Signals . 1330 Transfer Start (TS) . 1330 Address Bus . 1331 Transfer Attributes. 1331 Read/Write (RD/WR) . 1331 Burst Indicator (BURST). 1331 Contents xv CONTENTS Paragraph Number 13.4.7.3.3 13.4.7.3.4 13.4.7.3.5 13.4.8 13.4.8.1 13.4.8.2 13.4.8.3 13.4.8.4 13.4.9 13.4.9.1 13.4.10 13.4.10.1 Title Page Number Transfer Size (TSIZ). 1331 Address Types (AT) . 1331 Burst Data in Progress (BDIP) . 1334 Termination Signals. 1334 Transfer Acknowledge (TA). 1334 Burst Inhibit (BI) . 1334 Transfer Error Acknowledge (TEA). 1334 Termination Signals Protocol . 1334 Memory Reservation. 1335 Kill Reservation (KR). 1336 Bus Exception Control Cycles. 1337 RETRY . 1338 Chapter 14 Clocks and Power Control 14.1 14.2 14.2.1 14.2.1.1 14.2.1.2 14.2.2 14.2.2.1 14.2.2.2 14.2.2.3 14.2.2.4 14.3 14.3.1 14.3.1.1 14.3.1.2 14.3.1.3 14.3.1.4 14.3.1.5 14.3.2 14.3.3 14.4 14.4.1 14.4.2 14.4.3 xvi Features . 141 The Clock Module . 142 External Reference Clocks. 143 Off-Chip Oscillator Input (EXTCLK) . 144 Crystal Oscillator Support (EXTAL and XTAL) . 144 System PLL. 145 SPLL Reset Configuration. 146 SPLL Output Characteristics and Stability. 147 The System Phase-Locked Loop Pins (VDDSYN, VSSSYN, VSSSYN1, XFC) 147 Disabling the SPLL. 148 Clock Signals . 148 Clocks Derived from the SPLL Output . 149 The Internal General System Clocks (GCLK1C, GCLK2C, GCLK1, GCLK2) .1410 Memory Controller and External Bus Clocks (GCLK1_50, GCLK2_50, CLKOUT). 1411 CLKOUT Special Considerations: 1:2:1 Mode. 1414 The Baud Rate Generator Clock (BRGCLK) . 1414 The Synchronization Clock (SYNCCLK, SYNCCLKS) . 1414 The PIT and RTC Clock (PITRTCLK) . 1415 The Time Base and Decrementer Clock (TMBCLK). 1416 Power Distribution . 1416 I/O Buffer Power (VDDH) . 1417 Internal Logic Power (VDDL). 1418 Clock Synthesizer Power (VDDSYN, VSSSYN, VSSYN1) . 1418 MPC855T MPC855T User's Manual CONTENTS Paragraph Number 14.4.4 14.5 14.5.1 14.5.2 14.5.3 14.5.4 14.5.5 14.5.6 14.5.7 14.5.7.1 14.5.7.2 14.5.7.3 14.5.8 14.6 14.6.1 14.6.2 Title Page Number Keep-Alive Power (KAPWR) . 1418 Power Control (Low-Power Modes). 1418 Normal High Mode. 1421 Normal Low Mode. 1421 Doze High Mode. 1421 Doze Low Mode . 1422 Sleep Mode . 1423 Deep-Sleep Mode . 1423 Power-Down Mode. 1424 Software Initiation of Power-Down Mode, with Automatic Wake-up. 1424 Maintaining the Real-Time Clock (RTC) During Shutdown or Power Failure .1426 Register Lock Mechanism: Protecting SIU Registers in Power-Down Mode .1426 TMIST: Facilitating Nesting of SIU Timer Interrupts. 1427 Clock and Power Control Registers. 1427 System Clock and Reset Control Register (SCCR) . 1427 PLL, Low-Power, and Reset Control Register (PLPRCR). 1429 Chapter 15 Memory Controller 15.1 15.2 15.3 15.3.1 15.3.2 15.3.3 15.3.4 15.3.5 15.3.6 15.3.7 15.3.8 15.3.9 15.4 15.4.1 15.4.2 15.4.3 15.4.4 15.4.5 15.4.6 15.4.7 Features . 151 Basic Architecture. 154 Chip-Select Programming Common to the GPCM and UPM . 156 Address Space Programming. 157 Register Programming Order. 157 Memory Bank Write Protection. 157 Address Type Protection. 157 8-, 16-, and 32-Bit Port Size Configuration. 157 Parity Configuration . 158 Memory Bank Protection Status . 158 UPM-Specific Registers . 158 GPCM-Specific Registers. 158 Register Descriptions . 159 Base Registers (BRx). 159 Option Registers (ORx) . 1510 Memory Status Register (MSTAT) . 1513 Machine A Mode Register/Machine B Mode Registers (MxMR) . 1513 Memory Command Register (MCR) . 1515 Memory Data Register (MDR) . 1516 Memory Address Register (MAR) . 1517 Contents xvii CONTENTS Paragraph Number 15.4.8 15.5 15.5.1 15.5.1.1 15.5.1.2 15.5.1.3 15.5.1.4 15.5.1.5 15.5.1.6 15.5.2 15.5.3 15.5.4 15.6 15.6.1 15.6.1.1 15.6.1.2 15.6.1.3 15.6.1.4 15.6.2 15.6.3 15.6.4 15.6.4.1 15.6.4.2 15.6.4.3 15.6.4.4 15.6.4.5 15.6.4.6 15.6.4.7 15.6.4.8 15.6.4.9 15.6.4.10 15.6.4.11 15.6.4.11.1 15.6.4.11.2 15.7 15.7.1 15.7.2 15.8 15.8.1 15.8.2 15.8.3 15.8.4 15.8.4.1 xviii Title Page Number Memory Periodic Timer Prescaler Register (MPTPR). 1518 General-Purpose Chip-Select Machine (GPCM). 1518 Timing Configuration . 1519 Chip-Select Assertion Timing . 1520 Chip-Select and Write Enable Deassertion Timing. 1521 Relaxed Timing . 1523 Output Enable (OE) Timing . 1526 Programmable Wait State Configuration. 1526 Extended Hold Time on Read Accesses . 1526 Boot Chip-Select Operation. 1528 External Asynchronous Master Support . 1529 Special Case: Bursting with External Transfer Acknowledge: . 1530 User-Programmable Machines (UPMs). 1531 Requests . 1532 Internal/External Memory Access Requests. 1532 UPM Periodic Timer Requests . 1533 Software Requests-MCR run Command. 1533 Exception Requests. 1533 Programming the UPM. 1534 Control Signal Generation Timing . 1534 The RAM Array. 1537 RAM Words. 1537 Chip-Select Signals (CSTx). 1541 Byte-Select Signals (BSTx) . 1542 General-Purpose Signals (GxTx, G0x). 1543 Loop Control (LOOP). 1544 Exception Pattern Entry (EXEN). 1545 Address Multiplexing (AMX) . 1545 Transfer Acknowledge and Data Sample Control (UTA, DLT3) . 1550 Disable Timer Mechanism (TODT) . 1551 The Last Word (LAST) . 1551 The Wait Mechanism (WAEN) . 1551 Internal and External Synchronous Masters . 1551 External Asynchronous Masters . 1552 Handling Devices with Slow or Variable Access Times . 1553 Hierarchical Bus Interface Example . 1554 Slow Devices Example . 1554 External Master Support . 1554 Synchronous External Masters . 1554 Asynchronous External Masters . 1555 Special Case: Address Type Signals for External Masters. 1555 UPM Features Supporting External Masters . 1555 Address Incrementing for External Synchronous Bursting Masters . 1555 MPC855T MPC855T User's Manual CONTENTS Paragraph Number 15.8.4.2 15.8.4.3 15.8.5 15.8.5.1 15.8.5.2 15.9 15.9.1 15.9.2 Title Page Number Handshake Mechanism for Asynchronous External Masters . 1556 Special Signal for External Address Multiplexer Control . 1556 External Master Examples . 1556 External Masters and the GPCM . 1556 External Masters and the UPM. 1558 Memory System Interface Examples . 1563 Page-Mode DRAM Interface Example. 1563 Page Mode Extended Data-Out Interface Example . 1574 Chapter 16 PCMCIA Interface 16.1 16.2 16.2.1 16.2.2 16.2.3 16.2.4 16.3 16.3.1 16.3.2 16.3.3 16.3.4 16.3.5 16.3.6 16.4 16.4.1 16.4.2 16.4.3 16.4.4 16.4.5 16.4.6 16.5 System Configuration . 161 PCMCIA Module Signal Definitions. 161 PCMCIA Cycle Control Signals. 163 PCMCIA Input Port Signals . 164 PCMCIA Output Port Signals (OP[04]) . 165 Other PCMCIA Signals . 165 Operation Description. 165 Memory-Only Cards . 165 I/O Cards. 166 Interrupts. 166 Power Control . 167 Reset and Three-State Control. 167 DMA . 167 Programming Model . 168 PCMCIA Interface Input Pins Register (PIPR) . 168 PCMCIA Interface Status Changed Register (PSCR) . 169 PCMCIA Interface Enable Register (PER) . 1610 PCMCIA Interface General Control Register (PGCRx). 1611 PCMCIA Base Registers 07 (PBR0PBR7). 1612 PCMCIA Option Register 07 (POR0POR7) . 1612 PCMCIA Controller Timing Examples . 1616 Contents xix CONTENTS Paragraph Number Title Page Number Part V Communications Processor Module Chapter 17 Communications Processor Module and CPM Timers 17.1 17.2 17.2.1 17.2.2 17.2.2.1 17.2.2.2 17.2.2.3 17.2.2.4 17.2.2.5 17.2.2.6 17.2.3 17.2.3.1 17.2.4 17.2.4.1 17.2.4.2 17.2.4.3 17.2.4.4 17.2.5 Features . 172 CPM General-Purpose Timers. 174 Features. 175 CPM Timer Operation . 176 Timer Clock Source . 176 Timer Reference Count. 176 Timer Capture . 176 Timer Gating. 177 Cascaded Mode. 177 Timer 1 and SPKROUT. 178 CPM Timer Register Set. 178 Timer Global Configuration Register (TGCR). 178 Timer Mode Registers (TMR1TMR4) . 179 Timer Reference Registers (TRR1TRR4) . 1710 Timer Capture Registers (TCR1TCR4). 1710 Timer Counter Registers (TCN1TCN4) . 1711 Timer Event Registers (TER1TER4). 1711 Timer Initialization Examples . 1712 Chapter 18 Communications Processor 18.1 18.2 18.3 18.4 18.5 18.5.1 18.5.2 18.5.3 18.5.4 18.5.4.1 18.5.4.2 18.6 18.6.1 18.6.2 xx Features . 181 Communicating with the Core . 182 Communicating with the Peripherals. 182 CP Microcode Revision Number . 183 CP Register Set and CP Commands . 184 RISC Controller Configuration Register (RCCR) . 184 RISC Microcode Development Support Control Register (RMDS) . 185 CP Command Register (CPCR). 186 CP Commands . 187 CP Command Examples . 188 CP Command Execution Latency. 188 Dual-Port RAM. 188 System RAM and Microcode Packages. 1810 The Buffer Descriptor (BD). 1811 MPC855T MPC855T User's Manual CONTENTS Paragraph Number 18.6.3 18.7 18.7.1 18.7.2 18.7.3 18.7.3.1 18.7.3.2 18.7.4 18.7.5 18.7.6 18.7.7 18.7.8 Title Page Number Parameter RAM . 1811 The RISC Timer Table. 1812 RISC Timer Table Scan Algorithm . 1813 The set timer Command. 1813 RISC Timer Table Parameter RAM and Timer Table Entries . 1813 RISC Timer Command Register (TM_CMD) . 1814 RISC Timer Table Entries . 1815 RISC Timer Event Register (RTER)/Mask Register (RTMR). 1815 PWM Mode. 1815 RISC Timer Initialization . 1816 RISC Timer Interrupt Handling. 1817 Using the RISC Timers to Track CP Loading . 1817 Chapter 19 SDMA Channels and IDMA Emulation 19.1 19.1.1 19.1.2 19.2 19.2.1 19.2.2 19.2.3 19.2.4 19.3 19.3.1 19.3.2 19.3.3 19.3.3.1 19.3.3.2 19.3.3.3 19.3.4 19.3.4.1 19.3.4.2 19.3.5 19.3.6 19.3.6.1 19.3.6.2 19.3.7 19.3.7.1 19.3.7.2 19.3.7.2.1 SDMA Channels . 191 SDMA Transfers. 192 U-Bus Arbitration and the SDMA Channels . 192 SDMA Registers . 193 SDMA Configuration Register (SDCR) . 193 SDMA Status Register (SDSR) . 194 SDMA Mask Register (SDMR). 195 SDMA Address Register (SDAR) . 195 IDMA Emulation . 195 IDMA Features . 196 IDMA Parameter RAM . 196 IDMA Registers. 197 DMA Channel Mode Registers (DCMR) . 197 IDMA Status Registers (IDSR1 and IDSR2) . 198 IDMA Mask Registers (IDMR1 and IDMR2). 199 IDMA Buffer Descriptors (BD). 199 Function Code Registers-SFCR and DFCR. 1911 Auto-Buffering and Buffer-Chaining . 1912 IDMA CP Commands. 1912 IDMA Channel Operation . 1913 Activating an IDMA Channel. 1913 Suspending an IDMA Channel . 1913 IDMA Interface Signals-DREQ and SDACK. 1913 IDMA Requests for Memory/Memory Transfers. 1914 IDMA Requests for Peripheral/Memory Transfers . 1914 Level-Sensitive Requests. 1914 Contents xxi CONTENTS Paragraph Number 19.3.7.2.2 19.3.8 19.3.8.1 19.3.8.2 19.3.9 19.3.9.1 19.3.9.2 19.3.9.3 19.3.9.4 19.3.10 19.3.11 Title Page Number Edge-Sensitive Requests. 1915 IDMA Transfers-Dual-Address and Single-Address . 1915 Dual-Address (Dual-Cycle) Transfer . 1915 Single-Address (Single-Cycle) Transfer (Fly-By). 1916 Single-Buffer Mode on IDMA1-A Special Case . 1918 IDMA1 Channel Mode Register (DCMR) (Single-Buffer Mode) . 1919 IDMA1 Status Register (IDSR1) (Single-Buffer Mode). 1919 IDMA1 Mask Register (IDMR1) (Single-Buffer Mode) . 1920 Burst Timing (Single-Buffer Mode) . 1920 External Recognition of an IDMA Transfer . 1921 Interrupts During an IDMA Bus Transfer . 1922 Chapter 20 Serial Interface 20.1 20.2 20.2.1 20.2.2 20.2.3 20.2.3.1 20.2.3.2 20.2.3.3 20.2.3.4 20.2.3.5 20.2.4 20.2.4.1 20.2.4.2 20.2.4.3 20.2.4.4 20.2.4.5 20.2.4.6 20.3 20.4 20.4.1 20.4.2 20.4.3 xxii SI Features . 203 The Time-Slot Assigner (TSA). 203 TSA Signals . 207 Enabling Connections to the TSA . 207 SI RAM. 207 Disabling and Reenabling the TSA . 208 TDMa Channel with Static Frames . 208 SI RAM Dynamic Changes . 208 TDMa Channel with Dynamic Frames. 2010 Programming the SI RAM. 2010 The SI Registers. 2012 SI Global Mode Register (SIGMR) . 2012 SI Mode Register (SIMODE) . 2013 SI Clock Route Register (SICR). 2020 SI Command Register (SICMR). 2020 SI Status Register (SISTR) . 2021 SI RAM Pointer Register (SIRP). 2022 NMSI Configuration . 2023 Baud Rate Generators (BRGs). 2025 Baud Rate Generator Configuration Registers (BRGCn). 2026 Autobaud Operation on the SCC UART . 2027 UART Baud Rate Examples . 2028 MPC855T MPC855T User's Manual CONTENTS Paragraph Number Title Page Number Chapter 21 Serial Communications Controller 21.1 21.2 21.2.1 21.2.2 21.2.3 21.2.4 21.3 21.4 21.4.1 21.4.2 21.4.3 21.4.4 21.4.4.1 21.4.4.2 21.4.5 21.4.5.1 21.4.6 21.4.7 21.4.7.1 21.4.7.2 21.4.7.3 21.4.7.4 21.4.7.5 21.4.8 Features . 212 SCC Registers . 213 General SCC Mode Register (GSMR). 213 Protocol-Specific Mode Register (PSMR) . 219 Data Synchronization Register (DSR). 219 Transmit-on-Demand Register (TODR). 219 SCC Buffer Descriptors (BDs) . 2110 SCC Parameter RAM. 2112 Function Code Registers (RFCR and TFCR) . 2115 Handling SCC Interrupts . 2115 SCC Initialization . 2116 Controlling SCC Timing with RTS, CTS, and CD. 2117 Synchronous Protocols . 2117 Asynchronous Protocols . 2120 Digital Phase-Locked Loop (DPLL) Operation. 2121 Encoding Data with a DPLL. 2123 Clock Glitch Detection . 2124 Reconfiguring the SCC. 2125 General Reconfiguration Sequence for the SCC Transmitter. 2125 Reset Sequence for the SCC Transmitter . 2126 General Reconfiguration Sequence for the SCC Receiver . 2126 Reset Sequence for the SCC Receiver. 2126 Switching Protocols . 2126 Saving Power . 2126 Chapter 22 SCC UART Mode 22.1 22.2 22.3 22.4 22.5 22.6 22.7 22.8 22.9 22.10 22.11 Features . 222 Normal Asynchronous Mode. 223 Synchronous Mode . 223 SCC UART Parameter RAM. 224 Data-Handling Methods: Character- or Message-Based . 225 Error and Status Reporting. 226 SCC UART Commands. 226 Multidrop Systems and Address Recognition. 227 Receiving Control Characters . 227 Hunt Mode (Receiver) . 229 Inserting Control Characters into the Transmit Data Stream. 229 Contents xxiii CONTENTS Paragraph Number 22.12 22.13 22.14 22.15 22.16 22.17 22.18 22.19 22.20 22.21 22.22 Title Page Number Sending a Break (Transmitter). 2210 Sending a Preamble (Transmitter) . 2210 Fractional Stop Bits (Transmitter) . 2210 Handling Errors in the SCC UART Controller. 2211 UART Mode Register (PSMR). 2212 SCC UART Receive Buffer Descriptor (RxBD) . 2214 SCC UART Transmit Buffer Descriptor (TxBD). 2217 SCC UART Event Register (SCCE) and Mask Register (SCCM) . 2218 SCC UART Status Register (SCCS). 2220 SCC UART Programming Example. 2221 S-Records Loader Application. 2222 Chapter 23 SCC HDLC Mode 23.1 23.2 23.3 23.4 23.5 23.6 23.7 23.8 23.9 23.10 23.11 23.12 23.13 23.13.1 23.13.2 23.14 23.14.1 23.14.2 23.14.3 23.14.4 23.14.5 23.14.6 23.14.6.1 23.14.6.2 xxiv SCC HDLC Features. 232 SCC HDLC Channel Frame Transmission . 232 SCC HDLC Channel Frame Reception . 233 SCC HDLC Parameter RAM. 233 Programming the SCC HDLC Controller. 235 SCC HDLC Commands. 235 Handling Errors in the SCC HDLC Controller. 236 HDLC Mode Register (PSMR). 237 SCC HDLC Receive Buffer Descriptor (RxBD) . 238 SCC HDLC Transmit Buffer Descriptor (TxBD). 2311 HDLC Event Register (SCCE)/HDLC Mask Register (SCCM) . 2312 SCC HDLC Status Register (SCCS). 2314 SCC HDLC Programming Examples . 2314 SCC HDLC Programming Example #1. 2314 SCC HDLC Programming Example #2. 2316 HDLC Bus Mode with Collision Detection. 2316 HDLC Bus Features. 2319 Accessing the HDLC Bus . 2319 Increasing Performance . 2320 Delayed RTS Mode . 2320 Using the Time-Slot Assigner (TSA) . 2322 HDLC Bus Protocol Programming. 2322 Programming GSMR and PSMR for the HDLC Bus Protocol . 2322 HDLC Bus Controller Programming Example. 2323 MPC855T MPC855T User's Manual CONTENTS Paragraph Number Title Page Number Chapter 24 SCC AppleTalk Mode 24.1 24.2 24.3 24.4 24.4.1 24.4.2 24.4.3 24.4.4 Operating the LocalTalk Bus . 241 Features . 242 Connecting to AppleTalk. 243 Programming the SCC in AppleTalk Mode. 243 Programming the GSMR . 243 Programming the PSMR. 244 Programming the TODR. 244 SCC AppleTalk Programming Example. 244 Chapter 25 SCC Asynchronous HDLC Mode and IrDA 25.1 25.2 25.3 25.4 25.5 25.6 25.7 25.8 25.9 25.9.1 25.9.2 25.10 25.11 25.12 25.13 25.13.1 25.13.2 25.13.3 25.14 25.15 25.16 25.17 Asynchronous HDLC Features . 251 Asynchronous HDLC Frame Transmission Processing . 252 Asynchronous HDLC Frame Reception Processing. 252 Transmitter Transparency Encoding. 253 Receiver Transparency Decoding . 253 Exceptions to RFC 1549 . 254 Asynchronous HDLC Channel Implementation. 255 Asynchronous HDLC Mode Parameter RAM. 255 Configuring GSMR and DSR for Asynchronous HDLC . 256 General SCC Mode Register (GSMR). 257 Data Synchronization Register (DSR). 257 Programming the Asynchronous HDLC Controller . 257 Asynchronous HDLC Commands . 257 Handling Errors in the Asynchronous HDLC Controller . 258 SCC Asynchronous HDLC Registers . 259 Asynchronous HDLC Event Register (SCCE)/Asynchronous HDLC Mask Register (SCCM) .259 SCC Asynchronous HDLC Status Register (SCCS) . 2510 Asynchronous HDLC Mode Register (PSMR) . 2511 SCC Asynchronous HDLC RxBDs . 2511 SCC Asynchronous HDLC TxBDs . 2513 Differences between HDLC and Asynchronous HDLC. 2514 SCC Asynchronous HDLC Programming Example. 2515 Contents xxv CONTENTS Paragraph Number Title Page Number Chapter 26 SCC BISYNC Mode 26.1 26.2 26.3 26.4 26.5 26.6 26.7 26.8 26.9 26.10 26.11 26.12 26.13 26.14 26.15 26.16 26.17 Features . 262 SCC BISYNC Channel Frame Transmission . 262 SCC BISYNC Channel Frame Reception. 263 SCC BISYNC Parameter RAM . 264 SCC BISYNC Commands . 265 SCC BISYNC Control Character Recognition . 266 BISYNC SYNC Register (BSYNC). 267 SCC BISYNC DLE Register (BDLE) . 268 Sending and Receiving the Synchronization Sequence . 269 Handling Errors in the SCC BISYNC . 269 BISYNC Mode Register (PSMR). 2610 SCC BISYNC Receive BD (RxBD). 2612 SCC BISYNC Transmit BD (TxBD). 2613 BISYNC Event Register (SCCE)/BISYNC Mask Register (SCCM). 2615 SCC Status Registers (SCCS). 2616 Programming the SCC BISYNC Controller . 2616 SCC BISYNC Programming Example . 2617 Chapter 27 SCC Ethernet Mode 27.1 27.2 27.3 27.4 27.5 27.6 27.7 27.7.1 27.7.2 27.8 27.9 27.10 27.11 27.12 27.13 27.14 27.15 27.16 xxvi Ethernet on the MPC855T MPC855T . 272 Features . 273 Learning Ethernet on the MPC855T MPC855T. 274 Connecting the MPC855T MPC855T to Ethernet. 274 SCC Ethernet Channel Frame Transmission . 276 SCC Ethernet Channel Frame Reception. 277 The Content-Addressable Memory (CAM) Interface. 278 Serial CAM Interface. 278 Parallel CAM Interface. 279 SCC Ethernet Parameter RAM . 2711 Programming the Ethernet Controller. 2713 SCC Ethernet Commands . 2713 SCC Ethernet Address Recognition. 2714 Hash Table Algorithm. 2716 Interpacket Gap Time . 2716 Handling Collisions . 2716 Internal and External Loopback. 2717 Full-Duplex Ethernet Support. 2717 MPC855T MPC855T User's Manual CONTENTS Paragraph Number 27.17 27.18 27.19 27.20 27.21 27.22 Title Page Number Handling Errors in the Ethernet Controller. 2717 Ethernet Mode Register (PSMR) . 2718 SCC Ethernet Receive Buffer Descriptor . 2720 SCC Ethernet Transmit Buffer Descriptor. 2722 SCC Ethernet Event Register (SCCE)/Mask Register (SCCM) . 2724 SCC Ethernet Programming Example . 2725 Chapter 28 SCC Transparent Mode 28.1 28.2 28.3 28.4 28.4.1 28.4.1.1 28.4.1.2 28.4.1.2.1 28.4.1.3 28.4.1.4 28.4.2 28.4.2.1 28.4.2.2 28.5 28.6 28.7 28.8 28.9 28.10 28.11 28.12 28.13 28.14 Features . 281 SCC Transparent Channel Frame Transmission Process. 282 SCC Transparent Channel Frame Reception Process. 282 Achieving Synchronization in Transparent Mode . 283 Synchronization in NMSI Mode. 283 In-Line Synchronization Pattern. 283 External Synchronization Signals. 284 External Synchronization Example . 284 Transparent Mode without Explicit Synchronization. 285 End of Frame Detection. 285 Synchronization and the TSA . 285 In-line Synchronization Pattern . 285 Inherent Synchronization. 286 CRC Calculation in Transparent Mode. 286 SCC Transparent Parameter RAM. 286 SCC Transparent Commands. 286 Handling Errors in the Transparent Controller . 287 Transparent Mode and the PSMR. 288 SCC Transparent Receive Buffer Descriptor (RxBD). 288 SCC Transparent Transmit Buffer Descriptor (TxBD) . 2810 SCC Transparent Event Register (SCCE)/Mask Register (SCCM) . 2811 SCC Status Register in Transparent Mode (SCCS). 2812 SCC1 Transparent Programming Example. 2813 Chapter 29 Serial Management Controllers (SMCs) 29.1 29.2 29.2.1 29.2.2 29.2.3 SMC Features. 292 Common SMC Settings and Configurations. 293 SMC Mode Registers (SMCMRn) . 293 SMC Buffer Descriptors (BDs) . 294 SMC Parameter RAM. 295 Contents xxvii CONTENTS Paragraph Number 29.2.3.1 29.2.4 29.2.4.1 29.2.4.2 29.2.4.3 29.2.4.4 29.2.4.5 29.2.5 29.2.6 29.3 29.3.1 29.3.2 29.3.3 29.3.4 29.3.5 29.3.6 29.3.7 29.3.8 29.3.9 29.3.10 29.3.11 29.3.12 29.3.13 29.4 29.4.1 29.4.2 29.4.3 29.4.4 29.4.5 29.4.6 29.4.7 29.4.8 29.4.9 29.4.10 29.4.11 29.4.12 29.4.13 29.5 29.5.1 29.5.2 29.5.2.1 29.5.2.1.1 29.5.3 xxviii Title Page Number SMC Function Code Registers (RFCR/TFCR) . 297 Disabling SMCs On-the-Fly . 297 SMC Transmitter Full Sequence . 298 SMC Transmitter Shortcut Sequence . 298 SMC Receiver Full Sequence . 298 SMC Receiver Shortcut Sequence. 298 Changing SMC Protocols . 299 Saving Power . 299 Handling Interrupts In the SMC . 299 SMC in UART Mode. 299 SMC UART Features. 2910 SMC UART-Specific Parameter RAM . 2910 SMC UART Channel Transmission Process . 2911 SMC UART Channel Reception Process . 2911 Data Handling Modes: Character- and Message-Oriented . 2912 SMC UART Commands. 2912 Sending a Break . 2913 Sending a Preamble . 2913 Handling Errors in the SMC UART Controller. 2913 SMC UART Receive BD (RxBD). 2914 SMC UART Transmit BD (TxBD) . 2917 SMC UART Event Register (SMCE)/Mask Register (SMCM). 2918 SMC UART Controller Programming Example . 2919 SMC in Transparent Mode. 2920 SMC Transparent Mode Features . 2921 SMC Transparent-Specific Parameter RAM . 2921 SMC Transparent Channel Transmission Process. 2921 SMC Transparent Channel Reception Process . 2922 Using SMSYN for Synchronization . 2922 Using TSA for Synchronization . 2923 SMC Transparent Commands. 2925 Handling Errors in the SMC Transparent Controller. 2926 SMC Transparent Receive BD (RxBD). 2926 SMC Transparent Transmit BD (TxBD) . 2927 SMC Transparent Event Register (SMCE)/Mask Register (SMCM). 2929 SMC Transparent NMSI Programming Example. 2929 SMC Transparent TSA Programming Example . 2930 SMC in GCI Mode. 2931 SMC GCI Parameter RAM. 2932 Handling the GCI Monitor Channel . 2932 SMC GCI Monitor Channel Transmission Process. 2932 SMC GCI Monitor Channel Reception Process . 2932 Handling the GCI C/I Channel . 2933 MPC855T MPC855T User's Manual CONTENTS Paragraph Number 29.5.3.1 29.5.3.2 29.5.4 29.5.5 29.5.6 29.5.7 29.5.8 29.5.9 Title Page Number SMC GCI C/I Channel Transmission Process. 2933 SMC GCI C/I Channel Reception Process . 2933 SMC GCI Commands. 2933 SMC GCI Monitor Channel RxBD . 2933 SMC GCI Monitor Channel TxBD. 2934 SMC GCI C/I Channel RxBD . 2935 SMC GCI C/I Channel TxBD. 2935 SMC GCI Event Register (SMCE)/Mask Register (SMCM). 2936 Chapter 30 Serial Peripheral Interface (SPI) 30.1 30.2 30.3 30.3.1 30.3.2 30.3.3 30.4 30.4.1 30.4.1.1 30.4.1.2 30.4.2 30.4.3 30.5 30.5.1 30.6 30.7 30.7.1 30.7.1.1 30.7.1.2 30.8 30.9 30.10 Features . 302 SPI Clocking and Signal Functions . 302 Configuring the SPI Controller. 303 The SPI as a Master Device. 303 The SPI as a Slave Device . 305 The SPI in Multi-master Operation . 305 SPI Registers. 307 SPI Mode Register (SPMODE) . 307 SPI Transfers with Different Clocking Modes . 308 SPI Examples with Different SPMODE[LEN] Values . 309 SPI Event/Mask Registers (SPIE/SPIM) . 3010 SPI Command Register (SPCOM) . 3010 SPI Parameter RAM . 3011 Receive/Transmit Function Code Registers (RFCR/TFCR) . 3012 SPI Commands. 3013 The SPI Buffer Descriptor (BD) Table. 3013 SPI Buffer Descriptors (BDs) . 3013 SPI Receive BD (RxBD) . 3014 SPI Transmit BD (TxBD) . 3015 SPI Master Programming Example . 3016 SPI Slave Programming Example. 3017 Handling Interrupts in the SPI . 3018 Chapter 31 I2C Controller 31.1 31.2 31.3 31.3.1 I2C Features . 312 I2C Controller Clocking and Signal Functions. 312 I2C Controller Transfers . 313 I2C Master Write (Slave Read). 313 Contents xxix CONTENTS Paragraph Number 31.3.2 31.3.3 31.3.4 31.4 31.4.1 31.4.2 31.4.3 31.4.4 31.4.5 31.5 31.6 31.7 31.7.1 31.7.1.1 31.7.1.2 Title Page Number I2C Loopback Testing. 314 I2C Master Read (Slave Write). 314 I2C Multi-Master Considerations . 315 I2C Registers. 316 I2C Mode Register (I2MOD). 316 I2C Address Register (I2ADD). 317 I2C Baud Rate Generator Register (I2BRG). 317 I2C Event/Mask Registers (I2CER/I2CMR). 318 I2C Command Register (I2COM). 318 I2C Parameter RAM . 319 I2C Commands . 3111 I2C Buffer Descriptor (BD) Tables .