MPC8260 UPM Timing Diagram

Similar documents
ORDERING INFORMATION # of Ports Pressure Type Device Device Name Options

Integrated Silicon Pressure Sensor for Manifold Absolute Pressure Applications On-Chip Signal Conditioned, Temperature Compensated and Calibrated

Freescale Semiconductor. 10 kpa Uncompensated Silicon Pressure Sensors MPX12. Series. Pressure. Application Examples. Features MPX12.

V CC 3 7 CANH AMIS CANL. Vsplit C GND. Figure 1. Schematic Diagram used for ESD Stress and Functional Verification

225 mw SOT 23 Surface Mount

Figure 1. Evaluation Board Photos

BZX84CxxxET1G Series, SZBZX84CxxxET3G. Zener Voltage Regulators. 225 mw SOT 23 Surface Mount

BZX84B4V7LT1, BZX84C2V4LT1 Series. Zener Voltage Regulators. 225 mw SOT 23 Surface Mount

TND6031/D. Introducing Intelligent Power Module (IPM) Family from ON Semiconductor TECHNICAL NOTE THE TECHNOLOGY

BZX84C2V4ET1 Series. Zener Voltage Regulators. 225 mw SOT 23 Surface Mount

BZX84BxxxLT1G. BZX84CxxxLT1G Series, SZBZX84BxxxLT1G. SZBZX84CxxxLT1G Series. Zener Voltage Regulators. 250 mw SOT 23 Surface Mount

Is Now Part of. To learn more about ON Semiconductor, please visit our website at

Is Now Part of. To learn more about ON Semiconductor, please visit our website at

Low Voltage PLL Clock Driver

FPS2851ULC4 Urea Quality Sensor

Motor Control and Diagnostics for Automotive Adaptive Front Lighting Systems (AFS)

Is Now Part of To learn more about ON Semiconductor, please visit our website at

LV8804FV. Fan Motor Driver. Overview The LV8804FV is a motor driver for PC and server fans. Feature Direct PWM 3-phase sensorless motor driver

TND337/D. The LIN Bus in Modern Automotive Headlamp Systems TECHNICAL NOTE

The LIN Bus in Modern Automotive Headlamp Systems

ABS motorcycle braking chip

ABS motorcycle braking chip

Solid Tantalum Surface Mount, TANTAMOUNT, Molded Case, Very Low DCL

Up to 3 W solar and USB battery charger for single-cell Li-Ion and Li-Po batteries based on the SPV1040, STBC21 and STC3100

Motor Drive Modules Support Rapid Design Cycles and Enhanced Efficiency and Reliability

RAM-Type Interface for Embedded User Flash Memory

T95 D 107 K 010 E A A S TYPE CASE CODE DC VOLTAGE RATING AT + 85 C TERMINATION AND PACKAGING

APPLICATION NOTE. Neglecting the regulator quiescent current. Kieran O Malley ON Semiconductor 2000 South County Trail East Greenwich, RI 02818

AND9067/D. Solar LED Lamp Application Using the CAT4139 APPLICATION NOTE.

ABOT CHASSIS ASSEMBLY GUIDE

8-bit. Application Note. Microcontrollers. AVR601: Atmel Modular Evaluation Kits for Motor Control Applications. 1.

1N4728A to 1N4764A. Zener Diodes. Vishay Semiconductors


20250 Module Installation Guide

Polyester Capacitors Filmite E, ORANGE DROP, Radial Lead

AN RPM to TACH Counts Conversion. 1 Preface. 2 Audience. 3 Overview. 4 References

STEVAL-ISV012V1. Up to 5 W solar battery charger for single-cell Li-ion and Li-Pol batteries based on the SPV1040 and L6924D.

S8JX-N/S8JX-G Series Replacement Brackets

Datasheet. CANgineII Cable

Freescale Semiconductor, I

Better Productivity by Standstill and Low-speed Monitoring

APPLICATION NOTE. ATAK51003-V1 Quick Start Guide. Atmel ATAN0033. Kit Contents

CU6703 Module Installation Guide

Female Plug. connecting to Fuel Quantity

Phase Leg IGBT with an Integrated Driver Module

Application Note. DA1468x Battery Charging AN-B-035

30100 Module Installation Guide L

Mercedes MBE 906/ L & 7.2L Engine Module. Part # Installation Instructions

LM5576 Evaluation Board

PMP40001 Test Results

LED Driver + Dimmer 5YEAR. 40W, 60W or 100W Constant Voltage LED Driver with Integrated Dimmer for Single Gang Box Mount FEATURES & BENEFITS

15100 Module Installation Guide Mercedes EPA07 w/dpf

Cummins N14 Celect & Celect Plus Engine Module. For Agricultural Applications Only. Part # 31200

DEALER REGISTRATION PACKAGE

KRA221 INSTALLATION INSTRUCTIONS. Kontour K1C Add-on Arm Accessory. Instrucciones de instalación Installationsanleitung Instruções de Instalação

GM 6.6L Duramax. Up to 90HP Gain. AgDieselSolutions.com

6.823 Computer System Architecture Prerequisite Self-Assessment Test Assigned Feb. 6, 2019 Due Feb 11, 2019

MS5201-XD SMD Gage Pressure Sensor

Model GX Spray Gun

Emergency Response Trailer 14

JDCR2000 Module Installation Guide

Getting Started Guide Racing Supplement EXTREME CONTENTS INSIDE

Automotive Product Selector Guide

Aluminum Capacitors Standard C Snap-In

JD2800 Module Installation Guide

SERVICE MANUAL SL220-SK4. Limit Switch Replacement

Getting Started Guide Racing Supplement EXTREME CONTENTS INSIDE

Power Distribution Units

ZC706 MIG Design Creation November 2014

UM0672 User manual. CRX14 and CR14 reference design PCB Gerber files. Introduction

Aluminum Capacitors Standard - 85 C Snap-In

High Current Thermal Fuse

Potentiometer Thrust Plate Kit (50421) Installation & Operator s Instruction Manual

Model D Spray Gun. Parts Identification Manual 2943J-ID. "Success through Unity" June 17, 2003 Issue 2 GUSMER CORPORATION

DIN Track Terminal Blocks with Screw Terminals XW5T

Do not install and/or operate this safety product unless you have read and understand the safety information contained in this manual.

FLEXnet DC Programming & Guidelines

Using the power override wire. LED Interior Light System (Optional) Adjusting the shelves: TIPS:

NTC Thermistors, 2-Point Micro Chip Sensor Insulated Leads

Automotive, Sulfur Resistant Lead (Pb)-Free Thick Film, Rectangular Chip Resistors

Digital Trim. Part # 1037 WARRANTY AND DISCLAIMER

AN1011 Application note

SERVICE MANUAL SL220-SK6. Lift Assembly Replacement

ARAYMOND FLUID CONNECTION. VDA QUICK CONNECTORS for engine & battery cooling

SSC Sensor Replacement Board for the SSC Evaluation Kit. Features. Benefits

Commercial Vehicle Tyres Delivery Range

BIN & SEN Annular Pitot Tube Flow Meter. Form: 10-PTT-UM (December 2012) Installation & Operation Manual

Spray Nozzle Adapters

USER S MANUAL GPC SERIES LOW VOLTAGE DISCONNECT. Galley Power LLC.

Flo-Way. Measure Granular or Powdered Material. Stand Alone or Connect to Other Devices for Blending. Used by Successful Producers World-Wide

WARRANTY AND DISCLAIMER

1/4" Square Single-Turn Cermet Sealed Trimmer

COAXIAL SPEAKERS FI4-F3, FI5-F3, FI57-F3, FI6-F3, FI69-F3

Digital Remote Wheels DRW-1

MS52XX SMD Pressure Sensor

LUBRICATOR GUN INSTRUCTIONS-PARTS LIST. 10,000 psi (700 bar) Maximum Delivery Pressure. Detachable-type

KA317M. 3-Terminal 0.5A Positive Adjustable Regulator. Features. Description. Internal Block Diagram.

Ø 5 mm Film Dielectric Trimmers

INSTRUCTIONS PARTS LIST

Smart-UPS RC External Battery Pack Tower/Rack-Mount 4U

Transcription:

Freescale Semiconductor Application Note Document Number: AN2179 Rev. 2, 07/2006 MPC8260 UPM Timing Diagram The three user-programmable machine (UPMs) of the MPC8260 PowerQUICC II integrated communications processor are flexible interfaces that connect to a wide range of memory devices. At the heart of each UPM is an internal-memory RAM array that specifies the logical value driven on the external memory controller pins for a given clock cycle. This application note presents a series of timing diagrams for several UPM usage scenarios. All the timing diagrams are based on simulations and are for the 60x bus. Timing for the local bus is basically the same as for the 60x bus, except that there are no and TA signals to indicate the termination of the memory cycle. Also, the local bus has its own signals: Local ess bus Local data bus L LGPLx Local ess pins are multiplexed with PCI signals. To select the local bus function of these pins, configure the HRCW[L2CPC] bits to 00 during configuration or program them to 00 after configuration. Because of the similarity of the timing for the 60x and local buses, refer to the 60x bus timing diagrams for local bus timings. Contents 1 UPM Programming............................2 2 UPM Timings................................ 6 3 UPM ARTRY Cycle..........................12 4 UPM Read-Modify-Write Cycle.................14 Freescale Semiconductor, Inc., 1999, 2006. All rights reserved.

UPM Programming 1 UPM Programming The basic steps to program the UPMs are as follows: 1. Set up BRx and ORx. 2. Configure MxMR[OP] = 01 for writing to a RAM array. 3. Write patterns to the RAM array by accessing the UPM with a single-byte transaction. 4. Program MPTPR and L/PSRT if refresh is required. 5. Configure MxMR[OP] = 00 for normal operation. Example 1 shows the detailed assembly code for completing these general steps. Example 1. Assembly Language # Set up OR1 addis r2,r0,0xffff r2,r2,0x0820 r1,r1,0x010c # Set up BR1 r2,r2,0x1881 r1,r1,0x0108 # MAMR OP = 01 for write RAM code starting at ess 00 (READ Routine) addis r2,r0,0x1000 r2,r2,0x8000 r1,r1,0x0170 # MDR addis r2,r0,0x08ea r2,r2,0xa800 2 Freescale Semiconductor

UPM Programming r1,r1,0x0188 # Single byte hit (stb) of 0x0100_0008 to write MDR to RAM array 00 stb r1, 0x0008(r2) # MDR addis r2,r0,0x00a0 r2,r2,0xa800 r1,r1,0x0188 # Single byte hit (stb) of 0x0100_0008 to write MDR to RAM array 01 stb r1, 0x0008(r2) # MDR addis r2,r0,0x00a0 r2,r2,0xa800 r1,r1,0x0188 # Single byte hit (stb) of 0x0100_0008 to write MDR to RAM array 02 stb r1, 0x0008(r2) # MDR addis r2,r0,0x00a0 r2,r2,0xa800 r1,r1,0x0188 Freescale Semiconductor 3

UPM Programming # Single byte hit (stb) of 0x0100_0008 to write MDR to RAM array 03 stb r1, 0x0008(r2) # MDR addis r2,r0,0x00a0 r2,r2,0xa800 r1,r1,0x0188 # Single byte hit (stb) of 0x0100_0008 to write MDR to RAM array 04 stb r1, 0x0008(r2) # MDR addis r2,r0,0x01b5 r2,r2,0x4405 r1,r1,0x0188 # Single byte hit (stb) of 0x0100_0008 to write MDR to RAM array 05 stb r1, 0x0008(r2) # MAMR OP = 01 for write RAM code starting at ess 18 (WRITE Routine) addis r2,r0,0x1000 r2,r2,0x8018 r1,r1,0x0170 4 Freescale Semiconductor

UPM Programming # MDR addis r2,r0,0x8000 r2,r2,0xa800 r1,r1,0x0188 # Single byte hit (stb) of 0x0100_0008 to write MDR to RAM array 18 stb r1, 0x0008(r2) # MDR addis r2,r0,0x1000 r2,r2,0x0005 r1,r1,0x0188 # Single byte hit (stb) of 0x0100_0008 to write MDR to RAM array 19 stb r1, 0x0008(r2) # MAMR OP = 00 for normal operation addis r2,r0,0x0000 r1,r1,0x0170 #Access to memory controlled by UPM lwz r3, 0x0018(r2) r1, 0x0018(r2) Freescale Semiconductor 5

UPM Timings 2 UPM Timings Figure 1 shows a 32-bit single beat read/write on a 32-bit port. D0 TS ALE AACK ABB DBB TA Notes: 1 RAM word for a single-beat read (a single-beat write starts at RAM ess 0x18) 00: 08ea a800 03: 00a0 0000 01: 00a0 0000 04: 00a0 0000 02: 00a0 0000 05: 01b5 5405 2 Data bus end at for both a single-beat read and write. For a write, the data bus starts when DBB is asserted. For a read, the starting-point depends on the RAM pattern and the memory UPM controls. Figure 1. 32-Bit Single Beat Read/Write on 32-Bit Port 6 Freescale Semiconductor

UPM Timings Figure 2 shows a 32-bit single beat read/write on a 16-bit port. D0 D1 TS ALE AACK ABB DBB TA B + 2 Notes: 1 RAM code is the same as for Figure 1. 2 The single-beat 32-bit access is split to two 16-bit back-to-back accesses due to port size limitations. Figure 2. 32-Bit Single Beat Read/Write on 16-Bit Port Freescale Semiconductor 7

UPM Timings Figure 3 shows a 32-bit single-beat read/write on a 32-bit port. D0 TS ALE AACK ABB DBB TA 00 01 02 03 04 02 03 04 05 LOOP Note: 1 RAM word for single beat read with LOOP: 00: 08ea a800 03: 00a0 0000 01: 00a0 0000 04: 00a0 0080 //LOOP=1 02: 00a0 0080 //LOOP=1 05: 01b5 5405 2 Loop number is set at MxMR. RLFx for read, WLFx for write. Loop number is one for the above figure. Figure 3. UPM with LOOP, 32-Bit Single Beat Read/Write on 32-Bit Port 8 Freescale Semiconductor

UPM Timings Figure 4 shows the UPM with REDO. D0 TS ALE AACK ABB DBB TA 00 01 01 01 01 02 03 04 05 REDO Note: 1 The RAM word for a single-beat read with REDO: 00: 08ea a800 03: 00a0 0000 01: 00a0 0300 // REDO=3 04: 00a0 0000 02: 00a0 0000 05: 01b5 5405 Figure 4. UPM with REDO Freescale Semiconductor 9

UPM Timings Figure 5 shows the UPM with two consecutive WAEN. D0 UPWAIT internal UPWAIT 00 01 02 03 03 03 03 03 03 03 04 Note: 1 Minimum RAM words for UPWAIT to take effect: 00: 08ea a800 01: 00a0 0000 02: 00a0 1000 // WAEN=1 03: 00a0 1000 // WAEN=1 04: 01b5 4405 2 WAEN needs to be set in two consecutive RAM words. The UPM waits at the second RAM word. Figure 6 shows what happens if only one WAEN is set. 3 Due to synchronization of UPWAIT, the internal UPWAIT is two cycles later than external UPWAIT. If the external UPWAIT goes active half a cycle after is active, the first WAEN that has an effect is at RAM ess 02 for a read. Even if WAEN values of 00 and 01 are configured, the UPM does not wait because UPWAIT has not arrived yet due to delay. Figure 5. UPM with Two Consecutive WAEN 10 Freescale Semiconductor

UPM Timings Figure 6 shows the UPM with UPWAIT and one WAEN. D0 UPWAIT internal UPWAIT 00 01 02 03 03 04 Note: 1 RAM words with one WAEN 00: 08ea a800 01: 00a0 0000 02: 00a0 1000 //WAEN=1 03: 00a0 0000 04: 01b5 4405 2 Setting WAEN at RAM ess 02 causes a single-cycle wait at pattern 03. If UPAWIT is negated, of course the UPM does not wait. However, even if UPWAIT is asserted, a single WAEN causes a wait of only one cycle for next the RAM pattern. Then it proceeds while ignng the UPWAIT. That is why two consecutive WAENs are needed for a continuous UPWAIT. Figure 6. UPM with UPWAIT, One WAEN Freescale Semiconductor 11

UPM ARTRY Cycle Figure 7 shows the UPM burst read/write on a 64-bit port. D0 D1 D2 D3 TA 08 09 0a 0b 0c 0d Note: 1 Example RAM words for burst read: 08: 08ea a800 09: 00a0 0004 // UTA=1 0a: 00a0 0004 // UTA=1 0b: 00a0 0004 // UTA=1 0c: 00a0 0004 // UTA=1 0d: 01b5 5401 2 A burst write starts at RAM ess 0x20 3 Care should be taken to program the correct number of UTAs in the burst code so that the UPM generates the required number of PSDAL signals for a burst. 3 UPM ARTRY Cycle Figure 7. UPM Burst Read/Write on 64-Bit Port In 60x-compatible mode, the ess transfer can be terminated with the requirement to retry if ARTRY is asserted during the ess tenure and through the cycle following AACK. The assertion causes the entire transaction (ess and data tenure) to be rerun. 12 Freescale Semiconductor

UPM ARTRY Cycle Figure 8 shows the UPM ARTRY cycle. (retry) aborted data TS ALE AACK ARTRY ABB DBB TA Note: 1 RAM word for ARTRY cycle: 00: 08ea a800 03: 00a0 0000 01: 00a0 0000 04: 00a0 0000 02: 00a0 0000 05: 01b5 5405 2 When a valid ARTRY is recognized, the UPM finishes running the current RAM pattern without asserting and TA. After that, a retry phase starts. Figure 8. UPM ARTRY Cycle Freescale Semiconductor 13

UPM Read-Modify-Write Cycle 4 UPM Read-Modify-Write Cycle If the UPM is programmed for read-modify-write parity checking or ECC correction and checking, every write access to memory that is less than the port size automatically causes a read-modify-write cycle. The following is an example of RAM code: Read Pattern: 00: 08ea a800 01: 00a0 0000 02: 00a0 0000 03: 00a0 0000 04: 00a0 0000 05: 01b5 5405 Write Pattern: 18: 0800 0000 19: 0000 0005 14 Freescale Semiconductor

Figure 9 shows a 32-bit write to a 64-bit port to trigger the read-modify-write cycle. UPM Read-Modify-Write Cycle Read Data Write Data TS ALE AACK ABB DBB TA READ WRITE Figure 9. UPM with Read-Modify-Write Cycle Freescale Semiconductor 15

How to Reach Us: Home Page: www.freescale.com email: support@freescale.com USA/Europe or Locations Not Listed: Freescale Semiconductor Technical Information Center, CH370 1300 N. Alma School Road Chandler, Arizona 85224 1-800-521-6274 480-768-2130 support@freescale.com Europe, Middle East, and Africa: Freescale Halbleiter Deutschland GmbH Technical Information Center Schatzbogen 7 81829 Muenchen, Germany +44 1296 380 456 (English) +46 8 52200080 (English) +49 89 92103 559 (German) +33 1 69 35 48 48 (French) support@freescale.com Japan: Freescale Semiconductor Japan Ltd. Headquarters ARCO Tower 15F 1-8-1, Shimo-Meguro, Meguro-ku Tokyo 153-0064, Japan 0120 191014 +81 3 5437 9125 support.japan@freescale.com Asia/Pacific: Freescale Semiconductor Hong Kong Ltd. Technical Information Center 2 Dai King Street Tai Po Industrial Estate, Tai Po, N.T., Hong Kong +800 2666 8080 support.asia@freescale.com For Literature Requests Only: Freescale Semiconductor Literature Distribution Center P.O. Box 5405 Denver, Colorado 80217 1-800-441-2447 303-675-2140 Fax: 303-675-2150 LDCForFreescaleSemiconductor @hibbertgroup.com Information in this document is provided solely to enable system and software implementers to use Freescale Semiconductor products. There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits or integrated circuits based on the information in this document. Freescale Semiconductor reserves the right to make changes without further notice to any products herein. Freescale Semiconductor makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Freescale Semiconductor assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. Typical parameters which may be provided in Freescale Semiconductor 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. Freescale Semiconductor does not convey any license under its patent rights nor the rights of others. Freescale Semiconductor products are not designed, intended, or authzed 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 Freescale Semiconductor product could create a situation where personal injury or death may occur. Should Buyer purchase or use Freescale Semiconductor products for any such unintended or unauthzed application, Buyer shall indemnify and hold Freescale Semiconductor 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 unauthzed use, even if such claim alleges that Freescale Semiconductor was negligent regarding the design or manufacture of the part. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. The PowerPC name is a trademark of IBM Corp. and is used under license. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc., 1999, 2006. Document Number: AN2179 Rev. 2 07/2006