Emulation and Trace Headers Technical Reference Manual Literature Number: SPRU655I February 2003 – Revised August 2012 Contents Preface ....................................................................................................................................... 5 1 Introduction ........................................................................................................................ 7 2 Adapters ............................................................................................................................ 9 3 Fundamental Information ..................................................................................................... 9 4 Alternate Target Impedance Configurations ........................................................................... 9 5 Header Information ............................................................................................................ 10 6 Header Footprint Comparisons ........................................................................................... 10 7 Target Mating Caution ........................................................................................................ 12 8 Header Pin Assignment ...................................................................................................... 12 9 Electrical Requirements ..................................................................................................... 21 10 Single-Processor Termination ............................................................................................. 23 11 Buffering .......................................................................................................................... 24 12 General Specifications ....................................................................................................... 24 13 Acceptable Signal Qualifications ......................................................................................... 25 14 Connecting Alternate Headers ............................................................................................ 26 ........................................................................... 15 Layout and Routing Requirements ...................................................................................... 15.1 Maximum Recommended Distances ................................................................................ 16 Advanced Emulation - Layout and Route Distance Deviations ................................................ 16.1 Signal-to-Signal Clearance ........................................................................................... 16.2 PWB Routing Lengths ................................................................................................. 17 Traditional JTAG Emulation Layout and Route Distance Deviations ........................................ 17.1 Layout and Routing - Mechanical Considerations ................................................................. 18 Multi-Function Trace Pins ................................................................................................... 19 Multiple Device Considerations ........................................................................................... 19.1 Multiple-Processor Termination ...................................................................................... Appendix A Alternate Target Impedance Configurations ................................................................ Appendix B Buffering - Methods, Techniques and Terminations ..................................................... Appendix C TI 14-Pin and 60-Pin Headers in Parallel ..................................................................... Appendix D Layout and Routing Requirements ............................................................................. D.1 Layout and Route Deviations [Advanced Emulation] ............................................................ Appendix E XDS560T Spice Model ............................................................................................... Appendix F XDS560 v2 System Trace Modeling ............................................................................ Appendix G XDS Pro Trace Modeling ........................................................................................... Appendix H Finding a Buffer's Output Impedance ......................................................................... Appendix I Variable Board Impedance ......................................................................................... Revision History ......................................................................................................................... 14.1 2 TI 14-Pin and 60-Pin Headers in Parallel Table of Contents 26 27 27 29 29 29 30 30 33 33 36 37 38 40 42 42 43 58 59 61 63 64 SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated www.ti.com List of Figures ............................................................................................. 1 TI 60-Pin Emulation Header 2 MIPI 60-Pin Header ....................................................................................................... 11 3 TI 20-Pin CTI Header ..................................................................................................... 11 4 TI 14-Pin Traditional Through-Hole Emulation Interface ............................................................. 11 5 TI 14-Pin Traditional SMT Emulation Interface Header .............................................................. 11 6 60-Pin Header Orientation 7 Emulator Cable Connector Superimposed Over 60-Pin Header .................................................... 19 8 MIPI 60-Pin Header Pin Location 20 9 TI 20-Pin CTI Header Pin Location 20 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 36 37 38 39 40 41 42 43 44 45 46 47 ............................................................................................... ....................................................................................... ..................................................................................... Target Connection for Unbuffered JTAG and EMU Signals ......................................................... Acceptable Wave Form Criteria ......................................................................................... Multi-Header EMU0, EMU1, TDO Termination ........................................................................ Symmetrical Nets .......................................................................................................... TI 60-Pin Connector Maximum Trace Length ......................................................................... MIPI 60-Pin Connector Maximum Trace Length ...................................................................... XDS560T TI 60-Pin Target Cable Connector Minimum Clearance - Height....................................... XDS560 v2 System Trace MIPI 60-Pin Target Cable Connector Minimum Clearance - Height ................ XDS560T TI 60-Pin Target Cable Header Dimensions .............................................................. XDS560 v2 System Trace MIPI 60-Pin Target Cable Header Dimensions ........................................ XDS560T TI 60-Pin Target Cable Board Keep-Out Area ............................................................ XDS560 v2 System Trace MIPI 60-Pin Target Cable Board Keep-Out Area ..................................... Multi-Function Trace ...................................................................................................... Multiple Device - Single Trace Configuration .......................................................................... Multiple Device - Parallel Trace Configuration......................................................................... Device-Independent Trace Configuration .............................................................................. Parallel Termination ....................................................................................................... Recommended TCK Buffered Configuration ........................................................................... Recommended TCK Unbuffered Configuration ....................................................................... Recommended RTCK Configuration .................................................................................... Recommended EMU Output Configuration ............................................................................ TCK, Multiple Header Configuration .................................................................................... Preferred Configuration for EMU0 and EMU1 Terminations......................................................... EMU0 Simulation Model (TI's XDS560T Pod Assembly - 50-Ω and 75-Ω Target and Pod Model) ............ EMU0 Acceptable Wave Form (Host Side, TI's XDS560T Pod - 50 Ω) ............................................ EMU0 Wave Form (Host Side, TI's XDS560T - 75 Ω)................................................................ EMU2 Type Signals Simulation Model (TI's XDS560T Pod Assembly - 50-Ω Target and Pod Model) ........ EMU2 Type Signals Acceptable Wave Form (Host Side, TI's XDS560T Pod - 50 Ω) ........................... EMU18 Type Signals Simulation Model (TI's XDS560T Pod Assembly - 50-Ω Target and Pod Model) ...... EMU18 Type Signals - Acceptable Wave Form (Host Side, TI's XDS560T Pod - 50 Ω) ....................... EMU0 Dual-Header Simulation Model (TI's XDS560T Pod Assembly - 50-Ω Target and Pod Model) ........ EMU0 Dual-Header - Wave Form (Host Side, TI's XDS560T Pod - 50 Ω) ........................................ TRCLK[0] Model Schematic.............................................................................................. TRC_CLK0 Model Schematic ............................................................................................ TRC_CLK1 Model Schematic ............................................................................................ TRC_DATA[n] Signal Schematic ........................................................................................ Various PCB Impedance Calculations .................................................................................. Example of 10-Layer PCB Construction ................................................................................ SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated List of Figures 10 18 22 25 26 27 28 28 30 31 31 31 32 32 33 34 35 35 36 38 38 38 39 40 41 44 46 48 49 51 52 54 55 57 58 59 59 60 63 63 3 www.ti.com List of Tables 1 TXDS Trace Support Platforms ........................................................................................... 7 2 Emulation Header Use ..................................................................................................... 8 3 Adapters ...................................................................................................................... 9 4 Summary: Alternate Target Impedance Configurations ................................................................ 9 5 Summary: TI 60-Pin Header Information ............................................................................... 10 6 Summary: MIPI 60-Pin Header Information ............................................................................ 10 7 Summary: TI 20-Pin CTI Header Information .......................................................................... 10 8 Summary: Header Footprint Comparisons ............................................................................. 12 9 Summary: Header Changes 12 10 TI 60-Pin Header Signal Naming Convention 12 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 4 ............................................................................................. ......................................................................... Summary: TI 60-Pin Header Pinout ..................................................................................... MIPI 60-Pin Header Signal Naming Convention ...................................................................... TI 20-Pin CTI Header Signal Naming Convention .................................................................... Summary: Header Pin Assignments .................................................................................... JTAG Signal Directions ................................................................................................... Summary: Electrical Requirements ..................................................................................... Termination Values and Use Cases .................................................................................... Summary: Single-Processor Terminations ............................................................................. Summary: Buffering ....................................................................................................... General Specifications .................................................................................................... Summary: Acceptable Signals ........................................................................................... Summary: TI 14-Pin and 60-Pin Headers in Parallel ................................................................. Summary: Advanced Emulation Layout and Routing ................................................................. Summary: Layout and Routing - Mechanical Considerations (TI 60-Pin) .......................................... Summary: Layout and Routing - Mechanical Considerations (MIPI 60-Pin) ....................................... Sizing Common Termination Resistor Values ......................................................................... EMU Pins Modeled as EMU2 or EMU18 ............................................................................... Buffer Name Decode and Output Impedance ......................................................................... Recommended Series Termination Resistor Value ................................................................... Model_name Example .................................................................................................... List of Tables 14 14 16 18 21 22 23 23 24 24 26 27 30 32 33 36 44 61 61 62 SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Preface SPRU655I – February 2003 – Revised August 2012 Read This First About This Manual This technical reference describes how to incorporate Texas Instruments' next-generation emulation header on a board with a trace-enabled DSP. Notational Conventions This document uses the following conventions. • Hexadecimal numbers are shown with the suffix h. For example, the following number is 40 hexadecimal (decimal 64): 40h. • Registers in this document are shown in figures and described in tables. – Each register figure shows a rectangle divided into fields that represent the fields of the register. Each field is labeled with its bit name, its beginning and ending bit numbers above, and its read/write properties below. A legend explains the notation used for the properties. – Reserved bits in a register figure designate a bit that is used for future device expansion. • Measurements are in English standard units (inches, pounds, etc.). Related Documentation The following documents describe the TMS320C6000™ DSP platform and related support tools. Copies of these documents are available on the Internet at www.ti.com. Tip: Enter the literature number in the search box provided at www.ti.com. SPRA439 — Emulation Fundamentals for TI's DSP Solutions. This paper explains the fundamentals of how the emulation logic and emulation tools work together with the TI digital signal processors. By understanding the fundamentals of emulation, you will be able to accelerate the process of setting up and performing software debug, as well as aid in troubleshooting potential problems in the debugging setup. A detailed explanation of the setup of the emulator hardware systems for single and multi-processor applications, along with a discussion of how the system components interact during debug will be discussed in the sections to follow. Also included is a troubleshooting guide to assist in common setup problems. SPRU641 — TMS320C6000 DSP Designing for JTAG Emulation Reference Guide. This document assists you in meeting the design requirements of the XDS510™ emulator with respect to JTAG designs and discusses the XDS510 cable. This cable supports both standard 3-volt and 5-volt target system power inputs. SPRU589 — XDS560 Emulator Reference Guide. This technical reference describes the fundamentals of the XDS560™ PCI Emulator and Pod and how to interface it to a target system. SPDU079 — JTAG/MPSD Emulation Technical Reference. A reference guide that provides detailed information to be used when designing for JTAG emulation. SPRAAK6 — Common Trace Transmission Problems and Solutions. This document provides guidelines for identifying and solving common problems associated with the collecting of high speed data. On a trace-capable device, the trace interface is one of the highest performance interfaces. Although only used during design, development, and debug, the trace interface must be implemented correctly for full functionality and performance. SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Preface 5 Related Documentation www.ti.com IEEE Std 1149.1-1990 — IEEE Std 1149.1-1990 IEEE Standard Test Access Port and Boundary-Scan Architecture -Description. Circuitry that may be built into an integrated circuit to assist in the test, maintenance, and support of assembled printed circuit boards is defined. The circuitry includes a standard interface through which instructions and test data are communicated. A set of test features is defined, including a boundary-scan register, such that the component is able to respond to a minimum set of instructions designed to assist with testing of assembled printed circuit boards. TMS320C6000, XDS510, XDS560 are trademarks of Texas Instruments. ARM is a registered trademark of ARM Ltd or its subsidiaries. 6 Read This First SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Technical Reference Manual SPRU655I – February 2003 – Revised August 2012 Emulation and Trace Headers 1 Introduction This technical reference describes the requirements necessary to incorporate an emulation header on a board that includes devices that support trace export through the device's EMU pins to an emulator with trace capture support. Texas Instruments device's support various combinations of DSP and ARM® core trace and system trace. Table 1 shows the TI XDS platforms that support trace capture. In all cases, the trace data rates require that the EMU pins be treated as high-speed clocks within your design. This specifically means that the EMU pins must be terminated properly and the correct header chosen for the number of EMU pins required. In the case of core trace or if core trace and system trace export are both supported, this requires utilizing a 60-pin header in place of the traditional TI 14-pin or TI 20-pin CTI emulation header. In the case where a device only supports export of system trace data, a TI 20-pin CTI header may be used. Table 1. TXDS Trace Support Platforms XDS DSP Core Trace ARM Core Trace System Trace XDS560v2 System Trace No No Yes XDS Pro Trace Yes Yes Yes XDS560T (1) Yes No No (1) Note that the XDS560T has been discontinued, and the TI-60 pin header required by the XDS560T is no longer recommended for new designs. Core trace typically provides at least processor PC trace, and depending on the silicon implementation may also provide processor data trace and event trace. System trace is a message-based technology that, in enabled silicon, can export application instrumentation and hardware generated messages from system-level monitors. Many devices support on-chip embedded trace buffers (ETBs) either exclusively or in combination with support for exporting trace data through the device's EMU pins. In cases where a device exclusively utilizes an ETB, a 60-pin header is not required to replace the traditional TI 14-pin or TI 20-pin CTI headers on the board, but keep in mind that ETBs only allow visibility to shallow snapshots of data (typically in the 4K to 32K range). To determine if your device supports exporting core or system trace through the EMU pins and/or supports one or multiple ETBs, see the device-specific data sheet. The advantage of exporting core and system trace data through the EMU pins to an emulator with trace capture support is that the capture depth is much greater (typically many Mbytes), providing a much larger region of visibility and enabling precise profiling and code coverage tooling. If the device supports any type of core trace export that you want to capture using a TI trace-enabled emulator, then a 60-pin header in place of the traditional TI 14-pin or TI 20-pin CTI TI emulation headers is a requirement. If your device supports only export of system trace data, then you can choose the header that fits your needs. SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Emulation and Trace Headers 7 Introduction www.ti.com Table 2. Emulation Header Use Trace Type Emulator Type Native Emulator Header DSP/ARM Core Trace and System Trace XDS Pro Trace MIPI 60-Pin System Trace XDS560v2 System Trace MIPI 60-Pin (1) DSP Trace XDS560T TI 60-Pin (1) Since system trace only utilizes 5 EMU pins, if your processor only supports system trace export through EMU0:4, then you may choose to use a TI-20 pin connector with an adapter. Even though the 60-pin header supports all the features provided by the original TI 14-pin header, not all emulators, target cables, and target device combinations support all features. To confirm that the desired functionality is supported, see the documentation and device user guides for your specific emulator. WARNING JTAG and Trace Design Problems: Many problems with JTAG and Trace designs are due to incorrect assumptions being utilized during the design. Copying previous known working designs, a common practice, may not always yield good results. For Trace, in cases where you are porting to a new device, make sure you size the termination resistors correctly and model the implementation if your design does not meet this document's requirements. For JTAG, follow the instructions in the Target Connection Guide and check your implementation against the XDS Connector Design Checklist. 8 Emulation and Trace Headers SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Adapters www.ti.com 2 Adapters Adapters allow the XDS Pro Trace to be used with the TI-60 header or the XDS560 v2 System Trace to be used with standard TI 14-pin and TI 20-pin CTI target headers. Adaptors can also be used to allow a standard XDS100, XDS510, or XDS560 emulator to be used with a target board that is implemented with a TI 60-pin or MIPI 60-pin header. When using the XDS100, XDS510, or XDS560 with a MIPI 60-pin header, the XDS drives the nTRST_PD pin and not the nTRST/EXTD pin. The adapters, listed in Table 3, are available (or may be available in the future) from TI or its third parties. Table 3. Adapters For Emulator Type . . . From Emulator To Target Notes XDS560/XDS510/XDS100 TI 14-pin TI 60-pn XDS560 Rev D TI 20-pin CTI TI 60-pin XDS560T TI 60-pin TI 14-pin XDS560T TI 60-pin TI 20-pin CTI XDS560T TI 60-pin TI 60-pin XDS560v2 System Trace MIPI 60-pin TI 60-pin XDS560v2 System Trace MIPI 60-pin TI 20-pin CTI XDS560v2 System Trace MIPI 60-pin TI 14-pin XDS560v2 System Trace MIPI 60-pin ARM 20-pin XDS Pro Trace MIPI 60-pin TI 60-pin XDS Pro Trace MIPI 60-pin TI 20-pin CTI For System Trace only XDS Pro Trace MIPI 60-pin TI 14-pin For System Trace Only Pin Saver NOTE: Use of any adapter can have a negative impact on performance. 3 Fundamental Information This technical reference offers guidance for creating new designs that take advantage of the extended emulation capabilities. This document is not intended to be the sole design guide. In addition to this guide, good engineering practices for high-speed logic design and mechanical layout must be followed. Any deviation from such practices and design techniques will affect the end-product performance. 4 Alternate Target Impedance Configurations Within specific end-use applications for TI's hardware emulation products, multiple printed circuit board (PCB) trace impedances may be required. The advanced emulation signals connecting to the emulation header require a 50-Ω trace impedance for optimal performance. For additional information on DSP target applications that incorporate alternate interfaces including, but not limited to, PCI or external memory interfaces (EMIF), see Appendix A. Table 4. Summary: Alternate Target Impedance Configurations 1 Target boards without special considerations must be designed for a 50-Ω character impedance. 2 All header EMU signals must be routed as if they are clock signal lines operating at 200 MHz. TI recommends designing JTAG signals for 100-MHz operation. SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Emulation and Trace Headers 9 Header Information 5 www.ti.com Header Information Table 5, Table 6, and Table 7 summarize the header information. For specific pin assignments, see Section 8. Table 5. Summary: TI 60-Pin Header Information 1 Connector Manufacturer is Samtec USA. 2 Connector Model Number is SOLC-115-02-S-Q-P. 3 Connector Specification Overview is located at URL http://www.samtec.com/technical_specifications/overview.aspx?series=SOLC. 4 Connector Drawing is located at URL http://www.samtec.com/ftppub/cpdf/SOLC-MKT.PDF 5 Connector Footprint Drawing is located at URL http://www.samtec.com/ftppub/cpdf/SOLC.PDF Table 6. Summary: MIPI 60-Pin Header Information 1 Connector Manufacturer is Samtec USA. 2 Connector Model Number is QSH030. 3 Connector Specification Overview is located at URL http://www.samtec.com/technical_specifications/overview.aspx?series=QSH. 4 Connector Drawing is located at URL http://www.samtec.com/ftppub/cpdf/QSH-XXX-01-X-D-XXXMKT.pdf. 5 Connector Footprint Drawing is located at URL http://www.samtec.com/ftppub/cpdf/QSH-XXX-01-X-DXX-FOOTPRINT.pdf. Table 7. Summary: TI 20-Pin CTI Header Information 6 1 Connector Manufacturer is Samtec USA. 2 Connector Model Number is FTR-110-51-S-D-06. 3 Connector Specification Overview is located at URL http://www.samtec.com/technical_specifications/overview.aspx?series=FTR. 4 Connector Drawing is located at URL http://www.samtec.com/ftppub/cpdf/FTR-MKT.PDF. 5 Connector Footprint Drawing is located at URL http://www.samtec.com/ftppub/cpdf/FTR-D.PDF. Header Footprint Comparisons Figure 1 through Figure 3 show TI target connector footprint drawings and Table 8 shows a comparison of the board space required for each connector type. 0.8500" 0.3200" In this case, dimensions include space required for the target cable mating connector. Figure 1. TI 60-Pin Emulation Header 10 Emulation and Trace Headers SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Header Footprint Comparisons www.ti.com 0.8375" 0.295" Figure 2. MIPI 60-Pin Header 0.50" 0.2960" Figure 3. TI 20-Pin CTI Header 0.1950" 13 01 0.7200" Figure 4. TI 14-Pin Traditional Through-Hole Emulation Interface 0.3100" 13 01 Figure 5. TI 14-Pin Traditional SMT Emulation Interface Header SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Emulation and Trace Headers 11 Target Mating Caution www.ti.com Table 8. Summary: Header Footprint Comparisons Common Emulation Interfaces 7 Area (in square inches) 2 Notes 1 TI 60-pin 0.2720 in Includes mounting pads 2 MIPI 60-pin 0.2471 in2 Includes mounting pads 2 3 TI 20-pin CTI 0.148 in Includes mounting pads 4 20-pin ARM ETM header 0.3451 in2 Includes mounting pads 5 Original through-hole TI 14-pin connector form factor 0.2808 in2 Includes both sides of PCB 6 Original TI 14-pin SMT connector form factor 0.2431 in2 Includes mounting pads Target Mating Caution NOTE: All headers (emulator and target) should be examined for possible damage before being mated together. Damaged or bent pins may affect functionality and performance. Never apply excessive force when mating connectors; if excessive force is required, the mating connector pairs are not aligned. Table 9. Summary: Header Changes 8 1 Verify the target and emulator headers are intact and free of defects before mating. 2 Always use caution when mating connectors to ensure no damage occurs. 3 Verify connectors are parallel to one another before mating. Header Pin Assignment Table 10. TI 60-Pin Header Signal Naming Convention (1) 12 Emulator Signal Direction Pin No. Signal Name A1 GND - May be used for cable detect per Appendix C. A2 GND - Ground pin. A3 GND - Ground pin. A4 GND - Ground pin. A5 GND - Ground pin. A6 GND - Ground pin. A7 GND - Ground pin. (1) Input Notes A8 TYPE0 A9 GND - Ground pin. A10 GND - Ground pin. A11 GND - Ground pin. A12 GND - Ground pin. A13 GND - Ground pin. A14 GND - Ground pin. A15 TGTRST Output Type 0 is a No Connect. Even though the native TI 60-pin emulator (XDS560T) does not support the target reset function, other emulators, such as the XDS560 with the REV D cable do support this function. For compatibility, typically through the use of adapters, with emulators that support the target reset function it is recommended that on your target board this pin be pulled up with a 4.7-KΩ resistor. The TYPE pins are XDS inputs used to sense connector orientation. In the XDS, they are both pulled up and when you connect the XDS to the target, it is expected the TYPE1 pin is grounded by the target and TYPE0 pin is open if it is connected with the correct orientation. Therefore, TYPE1 (D8) should be connected directly to GND on the target. Emulation and Trace Headers SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Header Pin Assignment www.ti.com Table 10. TI 60-Pin Header Signal Naming Convention (continued) (2) (3) Pin No. Signal Name B1 ID0 B2 TMS Emulator Signal Direction Input Output Notes Only header type 0000 is currently supported, where 0 is GND and 1 is a No Connect. All other combinations are reserved. Connect to device pin of same name. (2) Bidirectional Connect to device pin of same name. B3 EMU17 B4 TDI B5 EMU14 (2) Bidirectional Connect to device pin of same name. B6 EMU12 (2) Bidirectional Connect to device pin of same name. B7 TDO Input Connect to device pin of same name. B8 TVD Input Chip I/O voltage current limited via 100-Ω resistor. B9 EMU9 (2) Bidirectional Connect to device pin of same name. B10 EMU7 (2) Bidirectional Connect to device pin of same name. B11 EMU5 (2) Bidirectional Connect to device pin of same name. B12 TCK Output Output Connect to device pin of same name. Connect to device pin of same name; may need to be buffered. B13 EMU2 (2) Bidirectional Connect to device pin of same name. B14 EMU0 (2) Bidirectional Connect to device pin of same name. B15 ID1 Input Only header type 0000 is currently supported, where 0 is GND and 1 is a No Connect. All other combinations are reserved. C1 ID2 Input Only header type 0000 is currently supported, where 0 is GND and 1 is a No Connect. All other combinations are reserved. C2 EMU18(2) C3 TRST C4 EMU16(2) Bidirectional Connect to device pin of same name. C5 EMU15(2) Bidirectional Connect to device pin of same name. C6 (2) EMU13 Bidirectional Connect to device pin of same name. C7 EMU11(2) Bidirectional Connect to device pin of same name. C8 TCKRTN C9 EMU10(2) Bidirectional Connect to device pin of same name. C10 EMU8(2) Bidirectional Connect to device pin of same name. C11 (2) EMU6 Bidirectional Connect to device pin of same name. C12 EMU4(2) Bidirectional Connect to device pin of same name. C13 EMU3(2) Bidirectional Connect to device pin of same name. C14 EMU1(2) Bidirectional Connect to device pin of same name. C15 ID3 Input D1 NC - Not connected. D2 GND - Ground pin. D3 GND - Ground pin. D4 GND - Ground pin. D5 GND - Ground pin. D6 GND - Ground pin. D7 GND - Ground pin. D8 TYPE1(1) D9 GND - Ground pin. D10 GND - Ground pin. Bidirectional Connect to device pin of same name. Output Input Input Connect to device pin of same name. Connect to either a loopback of the emulation header's TCK or a target device-supplied RTCK. If your target device has an RTCK signal, you must connect this signal to TCKRTN on the emulator header. (3) Only header type 0000 is currently supported, where 0 is GND and 1 is a No Connect. All other combinations are reserved. Type 1 must be connected to GND. The 60-pin header provides 19 EMU pins for advance emulation features. Not all devices support 19 EMU pins. Connect only the EMU pins present on the target DSP to the corresponding EMU pin on the header. Leave unused pins unconnected. For additional notes, see Table 14. SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Emulation and Trace Headers 13 Header Pin Assignment www.ti.com Table 10. TI 60-Pin Header Signal Naming Convention (continued) Emulator Signal Direction Pin No. Signal Name D11 GND - Ground pin. D12 GND - Ground pin. D13 GND - Ground pin. D14 GND - Ground pin. D15 GND - Ground pin. Notes Table 11. Summary: TI 60-Pin Header Pinout 1 Pin D1 should be left unconnected. 2 Pin A1, if required, enables or disables external multiplexers or buffers. 3 Only the appropriate trace pins should be connected. The MIPI 60-pin header provides for up to four channels of independently clocked trace data, where the first channel of data can span up to 40 bits, the second channel can span up to 20 bits, and the third and forth channels can span up to 10 bits each. By overlaying the channel bit mapping, multiple configurations are provided such as four 10-bit ports, two 20-bit ports, or a 32-bit port and an 8-bit port. Current trace capture products only support capture of trace data on port 0. We recommend connecting all the EMU pins provided by your device to the MIPI 60-pin connector per Table 12. Future trace capture products may support additional ports and pin mappings, so always check the latest revision of this document before starting a new design using the MIPI 60-pin header. The MIPI 60-pin connector also provides two level-dependent nTRST signals and trace and JTAG independent voltage references. Note that not all TI devices use the EMU pin naming convention for designating trace pins. Devices that export only an ARM ETM trace port have a trace clock, trace control, and trace data pins. Typical pin designators are ETK_NAME and ETMNAME (where NAME is some variation of CLK, CNTL, and DATA). When connecting an ARM ETM port to the MIPI connector, trace clock is connected to TRC_CLK[0], trace control is connected to TRC_DATA[0][0], and trace data is connected to TRC_DATA[0][1] to TRC_DATA[0][n]. If your device has a trace clock-in pin, leave it disconnected or pull it up externally to increase noise immunity over the internal pull-up. Check with your emulator manufacturer on availability of ARM ETM trace support. Table 12. MIPI 60-Pin Header Signal Naming Convention (1) (2) (3) Pin No. (1) (2) (3) 14 MIPI Name Device Signal Name Notes 1 VREF_DEBUG JTAG IO Vref JTAG IO voltage reference current limited via 100-Ω resistor. 2 TMS/TMSC TMS 3 TCK TCK 4 TDO/EXTA TDO 5 TDI/EXTB TDI 6 nRESET Connect to system reset May need to be buffered. Open drain output from emulator; use 4.7-KΩ PU. (3) The QSH-030 connector also has an additional 4 pins (61, 62, 63 and 64) used to connect the cable's ground shield to the target boards ground plane. Leave unused TRC_DATA and TRC_CLK pins unconnected. For additional notes, see Table 14. Emulation and Trace Headers SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Header Pin Assignment www.ti.com Table 12. MIPI 60-Pin Header Signal Naming Convention (1) (2) (3) (continued) (4) Pin No. MIPI Name Device Signal Name Notes 7 RTCK/EXTC RTCK Connect to either a loopback of the emulation header's TCK or a target device-supplied RTCK. If your target device has an RTCK signal, you must connect this signal to RTCK on the emulator header. (3) 8 nTRST_PD nTRST It is expected that this pin be connected only to devices with internal PDs on their nTRST pins, or in cases where a PD is required externally on the device's nTRST pin (for PD information and requirements, see your device's data sheet). (4) 9 nTRST/EXTD nTRST nTRST is an open drain output. It is expected that this pin be connected only to devices with internal PUs on their nTRST pins, or in cases where a PU is required externally on the device's nTRST pin (for PU information and requirements, see your device's data sheet). (4) 10 EXTE/TRIGIN NC 11 EXTF/TRIGOUT NC 12 VREF_TRACE EMU IO Vref 13 TRC_CLK[0] EMU2 14 TRC_CLK[1] NC 15 Target Presence Detect Connected to GND thru 0 Ω 16 GND GND 17 TRC_DATA[0][0] EMU3 18 TRC_DATA[1][0] or TRC_DATA[0][20] EMU21 19 TRC_DATA[0][1] EMU0 20 TRC_DATA[1][1] or TRC_DATA[0][21] EMU22 21 TRC_DATA[0][2] EMU1 22 TRC_DATA[1][2] or TRC_DATA[0][22] EMU23 23 TRC_DATA[0][3] EMU4 24 TRC_DATA[1][3] or TRC_DATA[0][23] EMU24 25 TRC_DATA[0][4] EMU5 26 TRC_DATA[1][4] or TRC_DATA[0][24] EMU25 27 TRC_DATA[0][5] EMU6 28 TRC_DATA[1][5] or TRC_DATA[0][25] EMU26 29 TRC_DATA[0][6] EMU7 30 TRC_DATA[1][6] or TRC_DATA[0][26] EMU27 31 TRC_DATA[0][7] EMU8 32 TRC_DATA[1][7] or TRC_DATA[0][27] EMU28 33 TRC_DATA[0][8] EMU9 34 TRC_DATA[1][8] or TRC_DATA[0][28] EMU29 35 TRC_DATA[0][9] EMU10 EMU IO voltage reference current limited via 100-Ω resistor. A device's nTRST pin may be connected to either nTRST_PD or nTRST/EXTD, not both at the same time. Also, the XDS Pro Trace only drives the nTRST_PD pin, and not the nTRST/EXTD pin. In the case where you have connected the device's nTRST pin to the MIPI 60-pin connector's nTRST/EXTD pin and you are using the XDS Pro Trace, an adapter is required. SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Emulation and Trace Headers 15 Header Pin Assignment www.ti.com Table 12. MIPI 60-Pin Header Signal Naming Convention (1) (2) (3) (continued) Pin No. MIPI Name Device Signal Name 36 TRC_DATA[1][9] or TRC_DATA[0][29] EMU30 Notes 37 TRC_DATA[3][0] or TRC_DATA[0][10] EMU11 38 TRC_DATA[2][0] or TRC_DATA[1][10] or TRC_DATA[0][30] EMU31 39 TRC_DATA[3][1] or TRC_DATA[0][11] EMU12 40 TRC_DATA[2][1] or TRC_DATA[1][11] or TRC_DATA[0][31] EMU32 41 TRC_DATA[3][2] or TRC_DATA[0][12] EMU13 42 TRC_DATA[2][2] or TRC_DATA[1][12] or TRC_DATA[0][32] EMU33 43 TRC_DATA[3][3] or TRC_DATA[0][13] EMU14 44 TRC_DATA[2][3] or TRC_DATA[1][13] or TRC_DATA[0][33] NC 45 TRC_DATA[3][4] or TRC_DATA[0][14] EMU15 46 TRC_DATA[2][4] or TRC_DATA[1][14] or TRC_DATA[0][34] NC 47 TRC_DATA[3][5] or TRC_DATA[0][15] EMU16 48 TRC_DATA[2][5] or TRC_DATA[1][15] or TRC_DATA[0][35] NC 49 TRC_DATA[3][6] or TRC_DATA[0][16] EMU17 50 TRC_DATA[2][6] or TRC_DATA[1][16] or TRC_DATA[0][36] NC 51 TRC_DATA[3][7] or TRC_DATA[0][17] EMU18 52 TRC_DATA[2][7] or TRC_DATA[1][17] or TRC_DATA[0][37] NC 53 TRC_DATA[3][8] or TRC_DATA[0][18] EMU19 54 TRC_DATA[2][8] or TRC_DATA[1][18] or TRC_DATA[0][38] NC 55 TRC_DATA[3][9] or TRC_DATA[0][19] EMU20 56 TRC_DATA[2][9] or TRC_DATA[1][19] or TRC_DATA[0][39] NC 57 GND GND Must be directly tied to GND. 58 GND GND May be used for cable detect per Appendix C. 59 TRC_CLK[3] NC 60 TRC_CLK[2] NC Table 13. TI 20-Pin CTI Header Signal Naming Convention Pin No. (1) 16 Signal Name Notes 1 TMS 2 TRST 3 TDI 4 TDIS (1) Connect to target GND. 5 VTRef JTAG and EMU IO voltage reference current limited via 100-Ω resistor. 6 KEY This pin may need to be cut to mate with the emulator's target cable. 7 TDO 8 GND May be used for cable detect per Appendix C. A pulldown or current-limiting resistor on TDIS will not work with all XDS models. With TDIS connected directly to GND, some XDS models will sink a small amount of current (by design) through a pullup in the XDS. A pulldown or a current-limiting resistor connected to TDIS on the target may cause the XDS to not detect the target and result in a "far cable break" error. Emulation and Trace Headers SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Header Pin Assignment www.ti.com Table 13. TI 20-Pin CTI Header Signal Naming Convention (continued) Pin No. (2) Signal Name Notes 9 RTCK Connect to either a loopback of the emulation header's TCK or a target device-supplied RTCK. If your target device has an RTCK signal, you must connect this signal to RTCK on the emulator header. (2) 10 GND 11 TCK 12 GND 13 EMU0 14 EMU1 15 RESET 16 GND 17 EMU2 18 EMU3 19 EMU4 20 GND May need to be buffered. Open drain output from emulator, use 4.7-KΩ PU. (2) For additional notes, see Table 14. SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Emulation and Trace Headers 17 Header Pin Assignment www.ti.com Table 14. Summary: Header Pin Assignments 1 EMU0 and EMU1 should always be treated as bidirectional signals. For bidirectional debug port functions, check your device data sheet. Other EMU pins may also be bidirectional, but typically they are used for unidirectional core and system trace export. 2 If your target card contains multiple devices with RTCK pins see the Adaptive Clock article at http://tiexpressdsp.com/index.php/Adaptive_Clocking. 3 The TGTRST, nRESET, and RESET signals are open drain outputs that can be integrated into your card's POR circuit, in which case (if supported by the emulator), it may allow you to reset your entire board through the emulator. This feature is supported by the XDS560 with the rev. D cable and the XDS560 v2 System Trace emulator. The XDS560T does not support this feature. Figure 6 is a top view of Texas Instruments' 60-pin emulation header, illustrating the orientation and pin location of the 60-pin emulation header. For specific pin assignments, see Table 10. Texas Instruments' emulation and debug pod incorporates a pin 1 (red dot) locator on the emulation and debug pod (Figure 7). Alignment with the pin 1 of the target board header is critical. Towards edge of board (cable entry) B1 A1 B2 A2 B3 A3 B4 A4 B5 A5 B6 A6 B7 A7 B8 A8 B9 A9 B10 A10 B11 A11 B12 A12 B13 A13 B14 A14 B15 A15 D1 C1 D2 C2 D3 C3 D4 C4 D5 C5 D6 C6 D7 C7 D8 Towards C8 device D9 C9 D10 C10 D11 C11 D12 C12 D13 C13 D14 C14 D15 C15 Figure 6. 60-Pin Header Orientation 18 Emulation and Trace Headers SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Header Pin Assignment www.ti.com Side 1 Location on emulation header Edge of Board Pin 1 Location on emulation pod (red dot) Y Towards device 20 A1 Figure 7. Emulator Cable Connector Superimposed Over 60-Pin Header SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Emulation and Trace Headers 19 Header Pin Assignment www.ti.com Figure 8 and Figure 9 are top views of the MIPI 60-pin and TI 20-pin CTI emulation headers, respectively. These illustrations show the orientation and pin location of the emulation headers. 60 58 56 54 52 50 48 46 44 42 40 38 Towards 36 34 edge 32 30 of board 28 (cable entry) 26 24 22 20 18 16 14 12 10 8 6 4 2 59 57 55 53 51 49 47 45 43 41 39 37 35 33 31 29 27 25 23 21 19 17 15 13 11 9 7 5 3 1 Towards device Note: • • The QSH-030 connector also has an additional 4 pads; one of which, at a minimum, must be used to connect the cable's ground shield to the target boards ground plane. The QSH-030 connector is keyed so unlike the TI-60 connector there is no way to install it backwards. Figure 8. MIPI 60-Pin Header Pin Location 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Note: Pin 6 may need to be cut to mate with the emulator's target cable. Figure 9. TI 20-Pin CTI Header Pin Location 20 Emulation and Trace Headers SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Electrical Requirements www.ti.com 9 Electrical Requirements This section describes the basic electrical requirements. Deviation from these requirements may result in performance degradation. Table 15 defines the chip pin input pull-up and pull-down characteristics. Table 15. JTAG Signal Directions Signal Name EMU[N] (1) TCK (2) TDI (2) TDO TMS (2) TRST (1) (2) (2) DSP Direction Notes Bidirectional Pull-up within device per device data sheet In Pull-up within device per device data sheet In Pull-up within device per device data sheet Out Pull-up within device per device data sheet In Pull-up within device per device data sheet In Pull-down within device per device data sheet Varies by device type, see the device data sheet for actual number of EMU pins. Internal device pull-ups and pull-downs are typically weak (~30K Ω). Your application may require stronger external pull-ups or pull-downs to improve noise margins on the JTAG input signals (TMS, TDI, TCK, TRST) and EMU signals when an emulation cable is not connected. In cases where your target board contains a single device that is connected to the emulation header and the emulation header is positioned within 3" of the target device, Figure 10 shows the basic connection for unbuffered signals. SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Emulation and Trace Headers 21 Electrical Requirements www.ti.com Target voltage source Target IO voltage source 100-W current(B) limiting resistor 4.7K W Emulation Header TVD/VREF_DEBUG VREF_TRACE/VTRef Board Power CVDD DVDD TGTRST/RESET DVDD DVDD (H) 4.7KW Target Device (H) 4.7KW EMU0 EMU0/TRC_DATA[0][1] EMU1 EMU1/TRC_DATA[0][2] EMU2 EMU2/TRC_CLK[0] EMUn EMUn/TRC_DATA[0][m] (F) EMU series (A) termination resistors (E) 22 W TCK JTAG Clock (C) Configuration 1 TCK RTCK 22 W (E) 22 W TCK RTCK JTAG Clock (D) Configuration 2 (D) TMS TDI TDO nTRST TCK RTCK TMS TDI TDO TDO series (A) termination resistor (G) nTRST/nTRST_PD (I) 4.7K W Note: All routing distances from the device pins to the emulation header must be less than 3 inches. A To select EMU and TDO series termination resistor values, see Section 10. The EMU and TDO series termination values should be placed within 0.5" of the device with total routing length not to exceed 3". B If using a MIPI 60-pin connector, VREF_DEBUG and VREF_TRACE provide independent voltage sources for JTAG and EMU pins. C If your target device does not have an RTCK pin, loopback TCK is supplied by the emulation header to RTCK per Configuration 1. D If your device supports an RTCK pin, then connect the device's RTCK to the emulation header's RTCK per Configuration 2 and follow the instructions in Note A to size and place RTCK's series termination resistor. E On JTAG signals that are inputs to the device, place 22-Ω series termination resistors in close proximity to the emulation header. F For the MIPI 60-pin header the mapping between EMU and TRC_DATA signals is not one-to-one. For the correct EMU to MIPI 60-pin mapping, see Table 12. Connect all device EMU pins available for trace functions to the XDS connector. G If using the MIPI 60-pin connector, see Table 12 for notes on nTRST and nTRST_PD use. H EMU0 and EMU1 must be pulled-up on the target card. For EMU0 and EMU1, TI does not recommend relying on the internal pull-ups normally provided in most devices on the EMU pins. If using EMU0 and/or EMU1 as trace signals, keep the length of the trace route from the EMU pin to the pull-up to a minimum. I A pull-down on nTRST may be optional. For cases where an external pull-down is required or should be considered, see the XDS Target Connection Guide. Figure 10. Target Connection for Unbuffered JTAG and EMU Signals Table 16. Summary: Electrical Requirements 22 1 Always refer to the device data sheet for number and connectivity of EMU pins. 2 Leave unused EMU pins unconnected. Emulation and Trace Headers SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Single-Processor Termination www.ti.com 10 Single-Processor Termination The information provided in this section applies to a single-processor system. For multi-processor configurations, see Section 19. Current emulators operate the JTAG's clock in the 10-MHz to 50-MHz range, but future emulators will operate at higher clock rates. Thus, to provide some design margin for duty cycle distortion and compatibility with future emulators, TI recommends designing JTAG signals for 100-MHz operation. Core trace currently operates with transfer rates as high as 360Mbits/sec, with 180-MHz DDR clocking and rise and fall times in the 250-1000 picoseconds range. System trace operates with transfer rates of 250 Mbits/s with 125-MHz DDR clocking. To provide some design margin for duty cycle distortion, TI recommends designing EMU signals for trace as 250-MHz clock signals. The following termination information assumes that the impedance of the PCB traces from the DSP to the emulation header is controlled and is between 50 and 55 Ω. The ideal series termination resistor value for a single device connected to any EMU or JTAG output signal is determined by the following equation: ZCable - ZDevice_Output = ZTermination_Resistor The impedance of the XDS560T and XDS560 V2 System Trace cables is 50 Ω. Follow the guidelines in Table 17 to determine the placement and size of series termination resistors for the JTAG and EMU signals on your target board. For output pins you will need to know the impedance of the pin's buffer. To determine this, see Appendix H. Table 17. Termination Values and Use Cases Signal Name Notes TDO Must be placed as close as possible to the pin on the device, not to exceed 1" trace length from the pin. Since TDO is a device output, use the equation ZCable - ZDevice_Output = ZTermination_Resistor to determine the proper termination resistor value. TCKRTN/RTCK If your device does not have an RTCK pin and the TCKRTN/RTCK signal is not buffered, this signal is routed from the emulation header's TCK with a 22-Ω series resistor using a routing length as short as possible. If your device has an RTCK pin and the TCKRTN/RTCK signal is not buffered, this signal is routed from the device's RTCK with a series termination resistor, sized using the equation ZCable ZDevice_Output = ZTermination_Resistor and using a routing length as short as possible. If TCKRTN/RTCK is buffered, see Figure 27; if unbuffered, see Figure 28; and if there is a direct connection to the device's RTCK, see Figure 29. TCK 100 Ω in series with 8.2-pF parallel termination to ground for buffered TCK configuration (Figure 27). Use a 22-Ω series termination (near header) for unbuffered configuration (Figure 28). Values should be modeled to ensure proper value. EMU[N:2] Must be placed as close as possible to the EMU pin on the device, placement should not exceed 1" trace length from the pin at the DSP (see Figure 30). To determine the proper termination resistor value, use the equation ZCable - ZDevice_Output = ZTermination_Resistor. EMU[1:0] Must be placed as close as possible to the EMU pin on the device, placement should not exceed 1" (0.5" recommended) trace length from the pin of the DSP. If a TI 14-pin header is used in parallel, a separate series termination resistor must be used to route these signals to the TI 14-pin header, see Figure 32. To determine the proper termination resistor value, use the equation ZCable - ZDevice_Output = ZTermination_Resistor. For additional information on the trace lengths and impact of termination location, see Section 16 and Appendix B. Table 18. Summary: Single-Processor Terminations 1 Use of termination resistors on JTAG device output signals and EMU pins used for core trace or system trace required. 2 Alternate termination values should be used if indicated by detailed modeling. 3 Model all critical nets to ensure termination values are correct. 4 Placement of indicated terminations is critical. SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Emulation and Trace Headers 23 Buffering 11 www.ti.com Buffering If buffers are used, they should be selected based on the device source impedance and the potential load(s). In applications where multiple devices are used, selection of buffers and signals to be buffered are critical. When buffering signals, it is imperative that timing, propagation delay, sink and source currents, and general buffer characteristics be considered. See Appendix B for additional information on the buffering, location, and type of buffers to be used. Table 19. Summary: Buffering 12 1 Buffer signals based on loading and signal integrity. 2 In most cases, a single target board is better than a target board with daughter cards consisting of multiple headers. 3 Timing is a critical consideration for all active signals. 4 Model all critical nets to ensure termination values are correct. General Specifications General specifications are shown in Table 20. Table 20. General Specifications 24 Item Description/Specification Impedance Target board impedance should be in the range of 50 Ω (±5Ω). Connector Spacing Maximum distance from header pin to respective emulation pin on DSP equals 3.0-inch trace length. Signal Skew For EMU signals, skew induced by the board should be 200 ps maximum between signals. Capacitance Maximum capacitance loading per pin (inclusive of all vias and components) equals 20 pF. Signal Interconnect Number of vias, not more than 2, and must be within the capacitive loading specified above. Clock Source The emulator must be provided a clock source through the header's TCKRTN or RTCK pin. For board requirement details, see Section 8 and Section 9. Voltage Source TVD (TI 60-pin header), VREF_DEBUG and VREF_TRACE (MIPI 60-pin header), and VTRef (TI 20pin CTI header) require a current-limited customer-supplied voltage reference source. Voltage Range The XDS560T is designed to operate between 0.8 V to 5.0 V. The XDS560 v2 System Trace emulator is designed to operate in the 1.2-V to 3.3-V range. Orientation Detect The MIPI 60-pin header is self-aligning and cannot be installed backwards. The TI 20-pin CTI connector uses pin 6 as an orientation key that may need to be removed. On the TI 60-pin connector pin A8 is a NC; pin D8 must be connected to GND. Vertical Connector Clearance For TI 60-pin connector clearance, see Figure 16; for the MIPI 60-pin connector clearance, see Figure 17. Horizontal Connector Clearance Clearance surrounding the TI 60-pin emulator connector should be per Figure 18 and Figure 20. Clearance surrounding the MIPI 60-pin header should be per Figure 19 and Figure 21. Signal Frequency EMU signals should be designed to operate as 200-MHz clocks and JTAG signals should be designed to operate at 100 MHz. Rise and Fall times All rising and falling edges are assumed to be within 500-1500 picoseconds. Emulation and Trace Headers SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Acceptable Signal Qualifications www.ti.com 13 Acceptable Signal Qualifications The criteria for determining an acceptable signal waveform during simulation at the emulator's input buffer or in actual application are illustrated in Figure 11. All percentages listed are with respect to the VHigh reference levels ( LVTTL 3.3 V). D C +120% High V E +100% +80% High Good V +70% B +50% F Low Good V +30% +20% G 0% -20% A H A Details the maximum amount of reflection, or perturbations that may occur on the rising edge (pre-shoot). The magnitude of the reflections or perturbations should be less than 20% of VHigh. B Details the critical signal switching region. No inflections greater than 10% of the rise time or 5% greater than VHigh are allowed. It is preferred that the signal be able to increase monotonically. C Details the region of the rising edge above the critical signal switching area. Inflections and/or perturbations are allowed within this region as long as they do not exceed 20% of VHigh or a duration less than the rise time of the pulse. D Details the top of the pulse. The amplitude of all noise, crosstalk and other perturbations should be less than 10% of VHigh. For a 3.3 V signal, the amplitude should not exceed 165 mV. E Details the maximum amount of reflection, or perturbations that may occur on the falling edge. The magnitude of the reflections or perturbations should be less than 20% of VHigh. F Details the critical signal-switching region. No inflections greater than 10% of the fall time or 5% greater than VHigh are allowed. It is preferred that the signal be able to decrease monotonically. G Details the region of the falling edge below the critical signal switching area. Inflections and/or perturbations are allowed within this region as long as they do not exceed 20% of VHigh or a duration less than the fall time of the pulse. H Details the bottom of the pulse. The amplitude of all noise, crosstalk and other perturbations should be less than 10% of VHigh. • • • • Duty cycle distortion should be less than 5%. All waveforms should be treated as dual edge clocks. Rise and fall times should be symmetrical. Switching thresholds are assumed to be 50% of VHigh. Figure 11. Acceptable Wave Form Criteria SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Emulation and Trace Headers 25 Connecting Alternate Headers www.ti.com Table 21. Summary: Acceptable Signals 14 1 Calculate reflections to verify they will not fall within the switching regions. 2 Perturbations should not exceed 20% of VHigh. 3 Rise and fall times should be symmetrical. 4 The duration of overshoots should not exceed 20% of VHigh or less than the rise time of the pulse. 5 Noise and crosstalk should not exceed 10% of VHigh or 165 mV for a 3.3 V signal. 6 All wave forms should be treated as dual edge clocks. 7 Duty cycle distortion should be less than 5%. 8 Switching thresholds are assumed to be 50% of VHigh. Connecting Alternate Headers Traditional target designs commonly incorporated multiple headers. However, with the advent of higher speed devices and faster off-chip emulation, it is strongly recommended that newer designs only use a single emulation header. XDS100 and XDS510 class emulators typically operate at a maximum frequency of 10.368 MHz, where the XDS560, XDS560T, and the XDS560 v2 System Trace emulators can operate in the 35- to 50-MHz range. Future emulators will support JTAG clock rates in the 75- to 100-MHz range. More importantly, core trace can operate EMU pins at 360 Mbits/s (using 180-MHz DDR clocking) while system trace can operate EMU pins in the 167- to 250-Mbits/s (83- to 125-MHz dual-edge clocking) range. For devices that support core trace or system trace, we do not recommend routing the EMU pins used for these functions to multiple headers. If multiple headers are used for JTAG connections, consider how the alternate header's net lengths, timing, and the effect of stubs will impact performance and signal integrity. Regardless of the number of alternate headers, only a single emulator may drive the JTAG pins of a device. Appendix C shows the recommended circuit for enforcing a single emulator connection. 14.1 TI 14-Pin and 60-Pin Headers in Parallel If a board is designed with both (two and more) headers; for example a TI 14-pin and 60-pin header, the signals should be connected as shown in Figure 12. Each figure represents a split termination configuration. The traces should be kept as short as possible. The distance from the terminations and the pins on the DSP must not exceed a 0.5 inch trace length. EMU[0] and EMU[1] are terminated in the same manner as TDO (for recommended terminations, see Figure 12). The EMU[2]-EMU[n] terminations are not shown because they are not supported by the TI 14-pin header. NOTE: For determining proper termination values, see Section 10. T2 maximum distance ≤ 2.5" T2 1 R1 2 1 J2 60-pin header T1 maximum distance ≤ 0.5" T1 DSP 1 T3 maximum distance ≤ 2.5" T3 R2 2 1 J1 14-pin header Figure 12. Multi-Header EMU0, EMU1, TDO Termination Final termination values should be selected based on signal quality. Examine all signals against simulations and functional application. All nodes (see Figure 13) should have symmetrical lengths to the terminations to prevent reflections. 26 Emulation and Trace Headers SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Layout and Routing Requirements www.ti.com 1 R1 2 T1 maximum distance ≤ 0.5" T1 Symmetrical lengths DSP 1 R2 2 Figure 13. Symmetrical Nets Table 22. Summary: TI 14-Pin and 60-Pin Headers in Parallel 15 1 The series termination closest to the DSP should be closer than 0.50". 2 Traces originating at nodes should have symmetrical lengths. 3 The maximum distance originating from the node to the respective header should not exceed 1.5" in length. 4 Final termination values must be based on simulation and functional testing. 5 All terminations and nets should be void of stubs. Layout and Routing Requirements 15.1 Maximum Recommended Distances The layout requires certain specifications. Figure 14 illustrates the maximum recommended routing distance between the header pin and respective DSP EMU (emulation trace) pin. All emulation signals should be treated as a separate net class and routed accordingly. Take special care to meet the skew specifications. Figure 14 shows a TI 60-pin connector orientation to a device such that the device's farthest EMU pin is no more than 3" from the corresponding header pin. Figure 15 shows a MIPI 60-pin connector orientation. In both figures the orientation provides for a left side cable entry. SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Emulation and Trace Headers 27 Layout and Routing Requirements www.ti.com 3" maximum trace length B1 A1 B2 A2 B3 A3 B4 A4 B5 A5 B6 A6 B7 A7 B8 A8 B9 A9 B10 A10 B11 A11 B12 A12 B13 A13 B14 A14 B15 A15 D1 C1 D2 C2 D3 C3 D4 C4 D5 C5 D6 C6 D7 C7 D8 C8 D9 C9 D10 C10 D11 C11 D12 C12 D13 C13 D14 C14 D15 C15 Red highlighted pin is the farthest EMU pin from the connector. Figure 14. TI 60-Pin Connector Maximum Trace Length 3" maximum trace length 59 57 55 53 51 49 47 45 43 41 39 37 35 33 31 29 27 25 23 21 19 17 15 13 11 9 7 5 3 1 60 58 56 54 52 50 48 46 44 42 40 38 36 34 32 30 28 26 24 22 20 18 16 14 12 10 8 6 4 2 Red highlighted pin is the farthest EMU pin from the connector. Note: Orient the pin 1 side of the MIPI 60-pin connector to the target device or devices. Figure 15. MIPI 60-Pin Connector Maximum Trace Length 28 Emulation and Trace Headers SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Advanced Emulation - Layout and Route Distance Deviations www.ti.com 16 Advanced Emulation - Layout and Route Distance Deviations 16.1 Signal-to-Signal Clearance Consider routing key emulation or clock signals when laying out your target board with respect to the emulation header. The potential for signal noise, crosstalk, and coupling increases with the high frequency of TI's trace-enabled emulators. To minimize this variable, route all clock and emulation (EMU) signals with a minimum of a 5 mil (0.005") clearance, although 6 mil (0.006") is preferred. 16.2 PWB Routing Lengths Regardless of the configuration (for configuration descriptions, see Section 19), the maximum recommended PWB routing length between a processor's EMU pin and the corresponding EMU pin on the target connector should be no more than 3". For multiple processor configurations, EMU0 and EMU1 may be used for global breakpoints and as cross triggers between devices that are in the JTAG scan chain but may or may not be connected for core or system trace. In this case, you may need to exceed the recommended maximum routing length when using an EMU pin for cross triggers or global breakpoints, possibly making these pins unusable for trace. In this case, core trace and system trace can typically be dedicated to EMU pins not used for global breakpoints or cross triggers by either shifting trace to the higher order EMU pins (if supported by your device) or by reducing the number of pins used for trace which, in turn, reduces the bandwidth available for trace. If your device supports more than 12 EMU pins, then shifting trace to higher-order bits may be an option, otherwise reducing the number of pins available for trace may be your only option. PWB routing length considerations take on two key variables: propagation and skew. Propagation involves the distance between the header and the respective pin on the DSP. Excessive PWB routing lengths present a problem, specifically with reflections. The key to minimizing the impact of reflections is to minimize PWB routing lengths. When possible, lay out critical signals such that they propagate between the insertion and terminating points in a period of time that does not result in the reflected energy occurring in the switching region or the additive effect of multiple reflections does not fall in the switching regions on either the rising or falling edge. All active PWB routing lengths (specifically for emulation, JTAG, and clock signals) should not exceed 3 inches in length. Lengths in excess of 3 inches increase the risk of reflections occurring in the critical regions of the signal waveform. The remaining PWB routing length variable is signal skew. For the purposes of this document, signal skew is the difference between the minimum and maximum propagation delays (Tpd) for a net class (grouping of signals belonging together). In most high-speed applications, such as TI's trace supported emulators, skew is as important as propagation delays. TI's trace supported emulators accommodate a certain amount of skew; however, excessive skew greater than 200 ps (or 1.1" for FR4) introduced during layout and routing may reduce performance. Excessive skew or propagation delays increase the risk in potential bit errors, loss of data or faulty operation. Figure 14 and Figure 15 illustrate the recommended header distance from the target processor. While considering the routed length implications of propagation and skew, also consider the total circuit. Most traditional board designers are concerned with only the routes on their board. However, the target board is only one of three critical components of the typical emulation system. The interconnecting pod assembly and emulator are the other critical components. Consider all three components when designing a high-speed functional system. The advanced emulation pins from the DSP to the header are grouped and routed as a net class to constrain the skew for all EMU[0] through EMU[n] signals. Emulation signals on the target board must be short because of the timing constraints. The distance for the EMU[n] net class of signals can also be interpreted as a maximum routed distance of 3 inches; this is inclusive of all supporting logic in each signal path on the target board. Appendix E, Appendix F, and Appendix G provide models representing the XDS560T, the XDS560 v2 System Trace, and the XDS Pro Trace interconnect logic. Deviations from the recommended route distances, loading, or skew must be evaluated using the representative model to ensure optimum frequency operation and overall performance. SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Emulation and Trace Headers 29 Traditional JTAG Emulation Layout and Route Distance Deviations www.ti.com Table 23. Summary: Advanced Emulation Layout and Routing 17 1 All high speed emulation signals (CLKS and EMU) should be spaced a minimum of 5 mil from other signals. 2 PWB routing lengths for all clock and EMU signals should not exceed 3" maximum. 3 Skew between signals within a net class should not exceed 200 ps. 4 Layout and routing should also take into account the emulator and target. 5 PWB routing should have a character impedance of 50 Ω. Traditional JTAG Emulation Layout and Route Distance Deviations Layout and routing considerations include traditional JTAG signals, such as TDI, TDO, TMS, TCK, and TCKRTN/RTCK. The greater the distance (or skew) between the header and the target processor, the greater the potential for timing errors (set up and hold, etc.). Skewing routed signals such as TCK and TDI, or TDO and TCKRTN/RTCK, dramatically reduces the margin of setup timing to and from the target processor. Figure 14 and Figure 15 illustrate the recommended header distance from the target processor. As with the advanced emulation features described above, the routed length is equally, if not more important. Traditional JTAG signals, especially in the interconnecting pod, may serve other purposes in future devices. The interconnecting pod assembly has a significant amount of support logic that contains a large portion of the allotted quota of the routed distance. That, coupled with the induced cable propagation delay, requires that the traditional JTAG emulation signals be short. As stated previously, traditional board designers typically concern themselves with only the routes on the board they are designing. The basic emulation signals are critical, not because of their high speed, but because of their unique timing characteristics. As the TCK and TCKRTN/RTCK rates increase, the margin for setup and hold times decrease, so both must be considered when designing a high speed functional system. The distance for the traditional JTAG emulation signals is inclusive of all supporting logic in each signal path on the target board. A model representing the pod interconnect logic is provided in Appendix E for theXDS560T, Appendix F for the XDS560v2 System Trace, and Appendix G for the XDS Pro Trace. Deviations from the recommended route distances, loading, or skew must be evaluated using this representative model to ensure optimum frequency operation and overall performance. NOTE: Follow routing guideline for best operating frequency Failure to follow the above routing guideline may result in a severely reduced operating frequency, resulting in lost bandwidth or the inability of the advanced features to function at full speed. 17.1 Layout and Routing - Mechanical Considerations In addition to routing and layout considerations and electrical clearances, certain mechanical clearances must be observed and followed. 0.556" 0.274" max Figure 16. XDS560T TI 60-Pin Target Cable Connector Minimum Clearance - Height 30 Emulation and Trace Headers SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Traditional JTAG Emulation Layout and Route Distance Deviations www.ti.com 0.725" 0.292" Figure 17. XDS560 v2 System Trace MIPI 60-Pin Target Cable Connector Minimum Clearance - Height Figure 18 and Figure 19 illustrate the top view of the emulation and debug pod header enclosure; additional spacing is required for installing and removing the pod target connector and for clearance of the emulator cable assembly. 1.230" 1.060" 1.700" minimum clearance to cable bend Figure 18. XDS560T TI 60-Pin Target Cable Header Dimensions 1.075" 1.175" 0.775" Figure 19. XDS560 v2 System Trace MIPI 60-Pin Target Cable Header Dimensions The TI 60-pin target cable clearance area includes optional space on each side of the connector for griping the connector (see Figure 20). Given the connector housing is 0.274" off of the plane of the board, this space may be used by components that do not exceed the 0.274" height without impacting the ability to install or remove the connector. SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Emulation and Trace Headers 31 Traditional JTAG Emulation Layout and Route Distance Deviations www.ti.com Keep-out area 0.3200" 0.1330" 0.4500² 0.900" 0.5800" 0.8500" 0.8800" 0.4200" Figure 20. XDS560T TI 60-Pin Target Cable Board Keep-Out Area Table 24. Summary: Layout and Routing - Mechanical Considerations (TI 60-Pin) 1 The maximum height of components in the keep-out area cannot exceed 0.274". 2 The basic area of concern beneath the pod header is 1.8" × 1.33". The MIPI 60-pin target cable clearance area includes optional space on each side of the connector for griping the connector (see Figure 21). Given the cable's adapter board is 0.292" off of the plane of the board, this space may be used by components that do not exceed the 0.292" height without impacting the ability to install or remove the connector. Keep-out area 0.295² 0.300² 0.880² 0.560² 0.8375² 1.128² Figure 21. XDS560 v2 System Trace MIPI 60-Pin Target Cable Board Keep-Out Area For mechanical specifications that may deviate from this guide, see your specific emulator manufacturer's documentation. 32 Emulation and Trace Headers SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Multi-Function Trace Pins www.ti.com Table 25. Summary: Layout and Routing - Mechanical Considerations (MIPI 60-Pin) 17.1.1 1 The maximum height of components in the keep-out area cannot exceed 0.292". 2 The basic area of concern beneath the pod header is 1.76" × 1.428". XDS Trace Pro Target Cable Layout Requirements The XDS Pro Trace utilizes a mating Samtec cable (Samtec part number HQCD-030-3.75-STL-TED-1). When using a MIPI-60 connector on your board with the Samtec mating cable, a keep-out area of 1.215" × .271" is required. For details on the Samtec mating cable see: http://www.samtec.com/documents/webfiles/cpdf/XQXX-STL-TED.PDF. If you are using a TI-60 connector with a MIPI-60-to-TI-60 adapter, the keep-out area is 0.940" × 0.685". 18 Multi-Function Trace Pins For some device families, due to packaging size limitations, trace signals are being multiplexed with other device functional signals on a single pin. In these cases if you are not using the functional signal, then simply connect the pin to the trace connector (per Section 9). If you need both the functional and trace capabilities, then TI recommends isolating the XDS header and functional circuit from each other using an FET mux, as shown in Figure 22. FuncN/EMUn DSP Vcc EMUn 1B1 SN74CBTL V16292 FuncN 1B2 S OE 1A Rt To Functional Logic XDS Header When determining the size of the EMUn termination resistor (per Section 10) the on-state resistance across the FET terminals should be included to determine the value of Rt. Figure 22. Multi-Function Trace 19 Multiple Device Considerations There are three supported multiple device configurations: single trace, independent trace, and parallel trace. The single trace configuration allows for multiple devices to be connected to the JTAG serial scan chain, but only a single device connected to the emulation connector's EMU pins for trace support. Use this configuration if you are only interested in trace data from a single device or if the EMU signal routing to the other devices exceed the recommended lengths. Independent trace requires an emulation socket per device and should be utilized in cases where you need to observe trace from multiple sources simultaneously (using multiple emulators) or if the distance between processors and the emulation connector exceeds the recommended routing lengths. Parallel trace allows up to four devices to be connected to the emulation header's EMU pins for trace as long as the longest EMU signal route does not exceed the maximum recommended length while allowing additional devices to be connected to the serial scan chain. Any combination of these configurations may be deployed within a system as long as there is a single independent serial JTAG scan chain per emulation connector. Figure 23 illustrates the basic single trace device interconnection method. This configuration supports global breakpoints and cross triggering using EMU0 and EMU1 routed in parallel between all processors. It also supports synchronous execution control by daisy-chaining the JTAG signals between processors, and advanced emulation capabilities with EMU[2:n] for a single processor. If the routing lengths for EMU0 and EMU1 exceed 3", they may not be usable for trace. For more details on EMU pin and trace options, see Section 16.2, PWB Routing Lengths. Given the source current capability of the individual devices, a SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Emulation and Trace Headers 33 Multiple Device Considerations www.ti.com maximum of 30 devices on the JTAG serial scan chain or for parallel routing of EMU0 and EMU1 should not be exceeded. Exceeding this number of devices may severely impact performance. When designing target systems with a large number of devices, always minimize the number of vias and trace lengths, and pay special attention to the lengths of individual trace stubs. For more information on sizing termination resistors, see Section 10. Figure 23, Figure 24, and Figure 25 do not show RTCK. The header's RTCK signal must be connected on the target per the instructions in Section 8, Header Pin Assignment. For multiprocessor configurations that contain devices with RTCK, see Table 14 note 2. TDI TDO EMU2:n TDI-TDO TDI-TDO EMU0 EMU1 EMU0 EMU1 TCK, TMS, TRST TCK, TMS, TRST DSP0 DSPn DSP1 Figure 23. Multiple Device - Single Trace Configuration Figure 24 illustrates the parallel trace configuration. You may connect up to four processors to the same emulation header pins in parallel, but the current TI trace products will force you to select a single device to capture trace data from. Also, keep in mind that if you want to use EMU0 and EMU1 for global breakpoints and cross triggers with more than four devices in the serial scan chain, these pins may not be usable for core or system trace pins. For more details on EMU pin and trace options, see Section 16.2, PWB Routing Lengths. For termination instructions for the parallel trace configuration, see Section 19.1. As with the single trace configuration, the parallel trace configuration also supports synchronous execution and debug visibility to additional devices by daisy-chaining the JTAG signals between processors. The same 30-device restriction also applies to this configuration. 34 Emulation and Trace Headers SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Multiple Device Considerations www.ti.com TDI TDO EMU2:n TDI-TDO TDI-TDO TDI-TDO TDI-TDO EMU0:1 EMU0:1 TCK, TMS, TRST TCK, TMS, TRST DSPn DSP3 DSP2 DSP1 DSP0 Figure 24. Multiple Device - Parallel Trace Configuration Figure 25 illustrates the basic independent device interconnection method. Under the independent interconnection method, each device has its own independent emulation pins assigned per header. An independent configuration as indicated in Figure 25 minimizes the pin count efficiency but maximizes the performance. For more information on sizing termination resistors, see Section 10. In the illustrated independent configuration (Figure 25), each device is in its own scan chain. Synchronous execution, cross triggers, and global breakpoints are not supported. Connecting EMU0 and EMU1 between devices in this configuration would allow cross triggers to operate, but if routes are long it could make the pins unusable for trace. TCK, TMS, TRST TDO EMU0:n TDI TCK, TMS, TRST TDO EMU0:n DSP0 TDI TCK, TMS, TRST TDO EMU0:n TDI DSPn DSP1 Figure 25. Device-Independent Trace Configuration For all configurations, it is vital to both core and system trace that the routing length restrictions (Section 17.1) and termination requirements (Section 10 and Section 19.1) be followed. SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Emulation and Trace Headers 35 Multiple Device Considerations www.ti.com 19.1 Multiple-Processor Termination If you are using the parallel trace configuration (see Figure 26), you may connect each EMU pin used for core trace or system trace from the emulation connector to no more than four processors. In this configuration, we recommend that each processor have an independent termination resistor whose routing distance from the processor to the termination resistor does not exceed 0.5", the stubs between termination resistors should be as short as possible, the distance between the termination resistors and the emulation connector do not exceed 2.25", and a total route length from the processor to the emulation connector of 3" or less. Other configurations may work, but you would need to model the configuration to validate. 2.25" 0.50" CPU0/EMUn CPU1/EMUn Emulation Header CPU2/EMUn CPU3/EMUn Figure 26. Parallel Termination Special consideration must be given to sizing the termination resistors because of the additional parallel impedances contributed by the combination of the termination resistors and additional EMU pins. It is recommended you establish the termination value as if a single processor was being used (see Section 10) and then divide that value between the number of processors connected to the EMU pin of the emulator header. Table 26 should be used for sizing common termination resistor values. Table 26. Sizing Common Termination Resistor Values If Single Termination Value is: 2 Processors 3 Processors 4 Processors 42 20 10 10 33 16 10 10 24 12 10 10 It is not recommended to use termination resistor values lower than 10 Ω or not to use termination resistors if the value determined is smaller than 10. Use 10 Ω as a minimum. 36 Emulation and Trace Headers SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated www.ti.com Appendix A Alternate Target Impedance Configurations Most TI devices are designed to operate on a 50 Ω character impedance target board. For Texas Instruments' devices incorporating a built-in PCI, Ethernet, or memory interface, the trace impedance should also be 50 Ω. Other devices may require a different trace impedance in the range of 60 to 100 Ω. Always see the device application reports or data sheets for detailed impedance requirements and confirm that the target board is designed accordingly. Appendix I provides information to assist target board designers in obtaining the optimal interconnect impedance by varying widths of the appropriate traces. Various constraints are noted, such as the dielectric constant of the board material, the separation between layers, etc. This chart assumes an Er of 4.1, which is typical for FR-4 material. This appendix also shows how to design a multiple impedance printed circuit board. SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Alternate Target Impedance Configurations Copyright © 2003–2012, Texas Instruments Incorporated 37 www.ti.com Appendix B Buffering - Methods, Techniques and Terminations Figure 27 represents the recommended buffering for TCK; alternate buffers may be used if appropriate. To confirm timing, drive, and voltage characteristics for your specific target, see the manufacturer's data sheets. (A) VIO 74LVC1G32 <2.5" DSP TCK 33 W 0.5" Emulation header TCKRTN/RTCK 10k W 0.5" Emulation header TCK 33 W 100 W 8.2 pF A JTAG IO voltage level. Figure 27. Recommended TCK Buffered Configuration Figure 28 represents the recommended termination for an unbuffered TCK line. Termination values should be placed in close proximity to the emulation header. This configuration should not be used if your device has an RTCK pin. 3.0" max 22 W 1” 22 W DSP TCK Emulation header TCKRTN/RTCK Emulation header TCK Figure 28. Recommended TCK Unbuffered Configuration Figure 29 represents the recommended termination for a device that has an RTCK pin. Termination values should be placed in close proximity to the emulation header. The total routing distance for the TCK or RTCK signals between the device and the emulation header should not exceed 3". DSP TCK 3.0" max 1" max DSP RTCK A 22 W (A) Emulation header TCK Emulation header TCKRTN/RTCK The RTCK series termination resistor is sized using the equation ZCable - ZDevice_Output = ZTermination_Resistor. The series termination resistor should be placed as close to the device as possible with the total route not exceeding 3". For additional information on determining proper series termination values, see Section 10. Figure 29. Recommended RTCK Configuration 38 Buffering - Methods, Techniques and Terminations SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Appendix B www.ti.com Figure 30 illustrates the preferred placement for all emulation (EMU) terminations. Values and placements may vary depending on your device and trace lengths. Always model or simulate your design for optimal performance. For more information on sizing EMU termination resistors, see Section 10. For additional recommendations, see your device data sheet. 0.5" DSP 2.5" Emulation header Figure 30. Recommended EMU Output Configuration Figure 27 and Figure 30 recommend a maximum 0.5" trace distance between the device and the termination resistor. The distance for this node under all conditions cannot exceed 1.0". SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Buffering - Methods, Techniques and Terminations Copyright © 2003–2012, Texas Instruments Incorporated 39 www.ti.com Appendix C TI 14-Pin and 60-Pin Headers in Parallel If a multi-header configuration is used, the TCK signal must be buffered. For recommended terminations, see Figure 31. The use of an FET style switch or multiplexer, such as a 74CBT3125 or 74CBT3257, is mandatory to minimize clock skew between TCKRTN and the TCK to the DSP. The buffer, in this case a 74LVC1G32, is not mandatory, any suitable device can be used. The AC terminations and buffers must be located within 0.5-inch trace length of the header. The 33-Ω series termination should be located as close as possible to the buffer. Designers should model their circuits including board impedance to determine the proper termination values. (B) VIO TCKRTN_60 74LVC1G32 33 W 2.5" 10k W 100 W 33 W 8.2 pF 2.5" DSPTCK TCK (TI 60-pin or MIPI 60-pin header) 0.5" (B) VIO 10k W FET SW/ mux (B) VIO 74LVC1G32 33 W TCKRTN_14 2.5" 10k W TI 60-pin (A) header (pin A1, GND) or MIPI 60-pin (A) header (pin 58, GND) TCK (TI 14-pin or TI 20-pin CTI header) 0.5" 33 W 100 W 8.2 pF (B) VIO 10k W TI 14-pin or TI 20-pin CTI header (A) (pin 8, GND) A Active low cable-present signals are formed. The cable-present signal can also be used with the FET switch's OE pins. B JTAG IO voltage level. Figure 31. TCK, Multiple Header Configuration Figure 32 illustrates the preferred placement for EMU0 and EMU1 terminations when multiple headers are used. Values and placements may vary depending on your device and trace lengths. The trace lengths listed are maximum values. Always model or simulate your design for optimal performance. For more information on sizing termination resistors, see Section 10 and Appendix H. For additional recommendations, see your device data sheet. 40 TI 14-Pin and 60-Pin Headers in Parallel SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Appendix C www.ti.com 0.5" DSP 42 W 2.5" 14-pin header 42 W 2.5" 60-pin header Figure 32. Preferred Configuration for EMU0 and EMU1 Terminations Figure 32 recommends a maximum 0.5" trace distance between the device and the termination resistor. The distance for this node under all conditions cannot exceed 3". SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback TI 14-Pin and 60-Pin Headers in Parallel Copyright © 2003–2012, Texas Instruments Incorporated 41 www.ti.com Appendix D Layout and Routing Requirements D.1 Layout and Route Deviations [Advanced Emulation] To minimize routing deviations, provide a clean electrical environment for advance emulation capabilities. The greater the distance (or skew) between the header and the target processor, the greater the potential for timing errors. A small amount of skew is acceptable and can be accommodated. However, excessive propagation or skew, beyond an allotted amount, will produce bit errors, loss of data or faulty operation. The recommended header distance from the target processor is 3 inches maximum. Models representing the target interconnect are provided in Appendix E, Appendix F, and Appendix G for the XDS560T, XDS560 v2 System Trace and XDS Pro Trace. 42 Layout and Routing Requirements SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated www.ti.com Appendix E XDS560T Spice Model NOTE: • • The models provided are for spice simulation. TI recommends using tools that support simulating with IBIS models of the TI device and the LVDS buffer (SN65LVDS388A) rather than using the ideal voltage source shown in the following models. The models shown use Tran0 and Tran1 values that match the timing diagrams provided. When performing modeling of your system, you should replace these values with your actual values. TI does not recommend exceeding 3" between Tran0 and Tran1. Figure 33 illustrates the EMU0 spice model for TI's XDS560T pod assembly and partial target board logic. Example 1 is the spice net list for the spice model in Figure 33 . This illustration references a 50-Ω characteristic-impedance target PCB. Clock speeds are 200 MHz. Constraints to consider or modify are trace length and board supporting logic. Additional modeling should be done for signal cross talk. Figure 34 illustrates an acceptable waveform for Figure 33 and Example 1 using TI's XDS560T and a 50Ω character-impedance target board. Example 2 illustrates the spice net list used to create the spice model for a 75-Ω target board impedance and TI's XDS560T pod. Figure 35 illustrates the waveform for Figure 33 and Example 2 using TI's XDS560T and a 75-Ω character-impedance target board. Figure 36 illustrates the EMU2 type signals (see Table 27) spice model for TI's XDS560T pod assembly and partial target board logic. Example 3 is the spice net list for the spice model in Figure 36. This illustration references a 50-Ω character-impedance target PCB. Clock speeds are 200 MHz. Constraints to consider or modify are trace length and board supporting logic. Additional modeling should be done for signal cross talk. Figure 37 illustrates an acceptable waveform for Figure 36 and Example 3 using TI's XDS560T and a 50Ω character-impedance target board. Figure 38 illustrates the EMU18 type signals (see Table 27) spice model for TI's XDS560T pod assembly and partial target board logic. Example 4 is the spice net list for the spice model in Figure 38. This illustration references a 50-Ω character-impedance target PCB. Clock speeds are 200 MHz. Constraints to consider or modify are trace length and board supporting logic. Additional modeling should be done for signal cross talk. Figure 39 illustrates an acceptable waveform for Figure 38 and Example 4 using TI's XDS560T and a 50Ω character-impedance target board. Figure 40 illustrates the dual header configuration EMU0 spice model for TI's XDS560T pod assembly and a partial target board logic. This model is provided to emphasize the advantages of using a single emulation header. Example 5 is the spice net list for the spice model in Figure 40. This illustration references a 50-Ω character-impedance target PCB. Clock speeds are 200 MHz. Constraints to consider or modify are trace length and board supporting logic. Additional modeling should be done for signal cross talk. Figure 41 illustrates the waveform for Figure 40 and Example 5 using TI's XDS560T and a 50-Ω character impedance target board in a two-header configuration. Certain characteristics of the target board may change - the spice net list must be modified and rerun to determine the outcome. SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated XDS560T Spice Model 43 Appendix E www.ti.com Table 27. EMU Pins Modeled as EMU2 or EMU18 Model as EMU2 Model as EMU18 EMU2 EMU12 EMU3 EMU14 EMU4 EMU15 EMU5 EMU16 EMU6 EMU17 EMU7 EMU18 EMU8 EMU9 EMU10 EMU11 EMU13 Figure 33 is a representative spice model for TI's XDS560T pod assembly. Clock speeds are 200 MHz. This illustration supports both a 75-Ω and 50-Ω character-impedance target PCB. Constraints to consider or modify are trace length and board supporting logic. Additional modeling should be done for signal cross talk. XDS560T EMU0 Header N-1 header + V1 Via C1 0.5 p Termination to header Tran1 1.5” 0.5 p PCB termination Via Tran2 0.5” C4 C2 0.5 p 1p TREF_buffer 3.3 V Termination R215 C50 3.9 p 2.87 K R216 0.5 p C10 1.5 K R214 LVDS 1.5 K Tran10 0.7” ESD termination 1.3 p 1.5 K R217 0.5 p C9 + V2 100 K R8 5p C11 Input LVDS 0.5 p U23 FET switch C6 4p U23-resistor R218 R3 Tran5 27 0.6” 100 K U40 (Comparator) trace Tran6 R100100 K 1.3658” trace-via 3p C13 ESD diode C7 DSP to termination Via R1 Tran0 42 0.5” C0 DSP output 60-pin header input LVDS Trace Cable assembly Via Tran4 Tran3 0.576” 5.625” C12 Pod header C14 Series resistor 0.5 p DSP - header DSP Via-U40 Via Figure 33. EMU0 Simulation Model (TI's XDS560T Pod Assembly - 50-Ω and 75-Ω Target and Pod Model) 44 XDS560T Spice Model SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Appendix E www.ti.com Example 1 represents the spice net list used to create the spice model for a 50-Ω target board impedance and TI's XDS560T pod. Certain characteristics of the target board may change - the spice net list must be modified and re-run to determine the potential outcome. Example 1. EMU0 Spice Net List (50-Ω Target and Pod Model) *** Top Level Netlist *** C4 0 10 0.5p C50 6 InputLVDS 3.9p V1 DSP 0 DC 3.3V AC 0 0 PULSE 0 3.3V 0 800.00p 800.00p 2.20n 4.40n Tran0 1 0 DSP 0 ZO=50 TD=.088ns F=200Meg NL=0.5 Tran1 Header 0 9 0 ZO=50 TD=.264ns F=200Meg NL=1.5 Tran2 10 0 Header 0 ZO=50 TD=.176ns F=200Meg NL=0.5 Tran3 10 0 13 0 ZO=50 TD=0.990ns F=200Meg NL=5.625 Tran6 2 0 20 0 ZO=50 TD=0.2403808ns F=200Meg NL=1.3658 C2 0 Header 1p C7 0 2 0.5p C6 0 4 4p V2 12 0 DC 3.30 AC 0 0 C9 0 InputLVDS 0.5p C0 0 1 0.5p C1 0 9 0.5p C10 0 InputLVDS 0.5p C11 0 InputLVDS 5p C12 13 0 0.5p Tran5 8 0 20 0 ZO=50 TD=.1056ns F=200Meg NL=0.6 Tran10 6 0 2 0 ZO=50 TD=0.1232ns F=200Meg NL=0.7 C13 0 2 3p C14 0 2 1.3p Tran4 13 0 20 0 ZO=50 TD=0.176ns F=200Meg NL=0.576 R1 1 9 42 R216 InputLVDS 6 2.87K R217 12 InputLVDS 1.5K R215 12 6 1.5K R100 2 0 100K R3 0 4 100K R218 4 8 27 R214 InputLVDS 0 1.5K R8 InputLVDS 0 100K ***** Spice models and macro models ***** ***** End of spice models and macro models ***** .tran 1n 100n 0.0 1n .save all .end SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated XDS560T Spice Model 45 Appendix E www.ti.com The result of your 50-Ω target PCB simulation and modeling should be an acceptable waveform, similar to that illustrated in Figure 34. Figure 34. EMU0 Acceptable Wave Form (Host Side, TI's XDS560T Pod - 50 Ω) 46 XDS560T Spice Model SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Appendix E www.ti.com Example 2 represents the spice net list used to create the spice model for a 75-Ω target board impedance and TI's XDS560T pod assembly. Example 2. EMU0 Spice Net List (Host Side, TI's XDS560T Pod - 75 Ω) *** Top Level Netlist *** C4 0 10 0.5p C50 6 InputLVDS 3.9p V1 DSP 0 DC 3.3V AC 0 0 PULSE 0 3.3V 0 800.00p 800.00p 2.20n 4.40n Tran0 1 0 DSP 0 ZO=75 TD=.088ns F=200Meg NL=0.5 Tran1 Header 0 9 0 ZO=75 TD=.264ns F=200Meg NL=1.5 Tran2 10 0 Header 0 ZO=75 TD=.176ns F=200Meg NL=0.5 Tran3 10 0 13 0 ZO=75 TD=0.990ns F=200Meg NL=5.625 Tran6 2 0 20 0 ZO=75 TD=0.2403808ns F=200Meg NL=1.3658 C2 0 Header 1p C7 0 2 0.5p C6 0 4 4p V2 12 0 DC 3.30 AC 0 0 C9 0 InputLVDS 0.5p C0 0 1 0.5p C1 0 9 0.5p C10 0 InputLVDS 0.5p C11 0 InputLVDS 5p C12 13 0 0.5p Tran5 8 0 20 0 ZO=75 TD=.1056ns F=200Meg NL=0.6 Tran10 6 0 2 0 ZO=75 TD=0.1232ns F=200Meg NL=0.7 C13 0 2 3p C14 0 2 1.3p Tran4 13 0 20 0 ZO=75 TD=0.176ns F=200Meg NL=0.576 R1 1 9 42 R216 InputLVDS 6 2.87K R217 12 InputLVDS 1.5K R215 12 6 1.5K R100 2 0 100K R3 0 4 100K R218 4 8 27 R214 InputLVDS 0 1.5K R8 InputLVDS 0 100K ***** Spice models and macro models ***** ***** End of spice models and macro models ***** .tran 1n 100n 0.0 1n .save all .end SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated XDS560T Spice Model 47 Appendix E www.ti.com The result of your 75-Ω target PCB simulation and modeling from Example 2 should be similar to the waveform illustrated in Figure 35. Figure 35. EMU0 Wave Form (Host Side, TI's XDS560T - 75 Ω) 48 XDS560T Spice Model SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Appendix E www.ti.com Figure 36 is a representative spice model for TI's XDS560T pod assembly. Clock speeds are 200 MHz. This illustration supports a 50-Ω character-impedance target PCB. Constraints to consider or modify are trace length and board supporting logic. Additional modeling should be done for signal cross talk. XDS560T EMU2 Series termination resistor DSP to Termination termination Via R1 Via to header Tran0 Tran1 42 0.5” 1.5” C1 C0 0.5 p C2 Cable assembly Tran3 5.625” Trace Tran4 1.10” 0.5 p R227 3.3 V TREF_buffer 1.5 K 1.5 K Trace-via Via Tran5 1.4” 100 K R8 0.5 p C10 5p Termination Via C12 2.87 K R228 ESD diode Tran6 0.6” ESD for termination 0.5 p C11 1.5 K R229 C52 3.9 p C7 Via 0.5 p C53 0.5 p Input LVDS R226 C14 + V2 DSP output 60-pin header LVDS input PCB termination Via Tran2 0.5” C4 1p 0.5 p Pod header 1.3 p + V1 Header N-1 header DSP - header DSP Via LVDS Figure 36. EMU2 Type Signals Simulation Model (TI's XDS560T Pod Assembly - 50-Ω Target and Pod Model) SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated XDS560T Spice Model 49 Appendix E www.ti.com Example 3 represents the spice net list used to create the spice model in Figure 36 for a 50-Ω target board impedance and TI's XDS560T pod. Example 3. EMU2 Type Signals Spice Net List (Host Side, TI's XDS560T Pod - 50 Ω) *** Top Level Netlist *** C4 0 10 0.5p C52 2 InputLVDS 3.9p V1 DSP 0 DC 3.3V AC 0 0 PULSE 0 3.3V 0 1.00n 1.00n 1.50n 5.00n Tran0 1 0 DSP 0 ZO=50 TD=.088ns F=200Meg NL=0.5 Tran1 Header 0 9 0 ZO=50 TD=.264ns F=200Meg NL=1.5 Tran2 10 0 Header 0 ZO=50 TD=.176ns F=200Meg NL=0.5 Tran3 10 0 13 0 ZO=50 TD=0.990ns F=200Meg NL=5.625 Tran5 17 0 3 0 ZO=50 TD=0.2464n F=200Meg NL=1.4 C2 0 Header 1p C7 0 17 0.5p V2 7 0 DC 3.30 AC 0 0 C0 0 1 0.5p C1 0 9 0.5p C10 0 InputLVDS 0.5p C11 0 InputLVDS 5p C12 0 3 0.5p Tran6 2 0 17 0 ZO=50 TD=0.1056ns F=200Meg NL=0.6 C14 0 17 1.3p Tran4 13 0 3 0 ZO=50 TD=0.0176ns F=200Meg NL=0.1 R1 1 9 42 R228 InputLVDS 2 2.87K R226 7 InputLVDS 1.5K R227 7 2 1.5K R8 InputLVDS 0 100K C53 0 InputLVDS 0.5p R229 InputLVDS 0 1.5K ***** Spice models and macro models ***** ***** End of spice models and macro models ***** .tran 10p 100n 0.0 5p .save all .end 50 XDS560T Spice Model SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Appendix E www.ti.com The result of your 50-Ω target PCB simulation and modeling from Example 3 should be an acceptable waveform, similar to that illustrated in Figure 37. Figure 37. EMU2 Type Signals Acceptable Wave Form (Host Side, TI's XDS560T Pod - 50 Ω) SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated XDS560T Spice Model 51 Appendix E www.ti.com Figure 38 is a representative spice model for TI's XDS560T pod assembly. Clock speeds are 200 MHz. This illustration supports a 50-Ω character-impedance target PCB. Constraints to consider or modify are trace length and board supporting logic. Additional modeling should be done for signal cross talk. XDS560T EMU18 + V1 Header N-F header DSP - header DSP Series resistor DSP to termination Via R1 Via Tran0 42 0.5” C1 C0 0.5 p Termination to header Tran1 1.5” C2 Pod header To termination Tran2 0.5” C4 Cable assembly Tran3 5.625” Trace Tran4 0.40” 0.5 p 1p 0.5 p Via 1.5 K R308 100 K R8 Via ESD diode C12 Tran5 0.2” Trace-via 0.5 p 6p 0.5 p C10 Tran6 0.1” C7 2.87 K R309 Termination 0.5 p 1.5 K R307 C20 3.9 p C14 Via Via 1.3 p Input LVDS 1.5 K R310 C11 DSP signal output 60-pin header input to LVDS + V2 C53 0.6 p 3.3 V TREF_buffer Via LVDS Figure 38. EMU18 Type Signals Simulation Model (TI's XDS560T Pod Assembly - 50-Ω Target and Pod Model) 52 XDS560T Spice Model SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Appendix E www.ti.com Example 4 represents the spice net list used to create the spice model in Figure 38 for a 50-Ω target board impedance and TI's XDS560T pod. Example 4. EMU18 Type Signals Spice Net List (Host Side, TI's XDS560T Pod - 50 Ω) *** Top Level Netlist *** C4 0 10 0.5p C70 6 InputLVDS 3.9p V1 DSP 0 DC 3.3V AC 0 0 PULSE 0 3.3V 0 1.00n 1.00n 1.50n 5.00n Tran0 1 0 DSP 0 ZO=50 TD=.088ns F=200Meg NL=0.5 Tran1 Header 0 9 0 ZO=50 TD=.264ns F=200Meg NL=1.5 Tran2 10 0 Header 0 ZO=50 TD=.176ns F=200Meg NL=0.5 Tran3 10 0 13 0 ZO=50 TD=0.990ns F=200Meg NL=5.625 Tran5 18 0 8 0 ZO=50 TD=0.0528n F=200Meg NL=0.2" C2 0 Header 1p C7 0 18 0.5p V2 7 0 DC 3.30 AC 0 0 C0 0 1 0.5p C1 0 9 0.5p C10 0 InputLVDS 0.5p C11 0 InputLVDS 5p C12 0 8 0.5p Tran6 6 0 18 0 ZO=50 TD=0.0176ns F=200Meg NL=0.1 C14 0 6 1.3p Tran4 13 0 8 0 ZO=50 TD=0.0704ns F=200Meg NL=0.4 R1 1 9 42 R309 InputLVDS 6 2.87K R310 7 InputLVDS 1.5K R308 7 6 1.5K R8 InputLVDS 0 100K C53 0 InputLVDS 0.5p R307 InputLVDS 0 1.5K ***** Spice models and macro models ***** ***** End of spice models and macro models ***** .tran 2n 100n 0.0 2n .save all .end SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated XDS560T Spice Model 53 Appendix E www.ti.com The result of your 50-Ω target PCB simulation and modeling from Figure 38 should be an acceptable waveform, similar to that illustrated in Figure 39. Figure 39. EMU18 Type Signals - Acceptable Wave Form (Host Side, TI's XDS560T Pod - 50 Ω) 54 XDS560T Spice Model SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Appendix E www.ti.com Figure 40 is a spice model for a dual-header configuration using TI's XDS560T pod assembly. Clock speeds are 200 MHz. This illustration supports a 50-Ω character-impedance target PCB. Dual-header configurations are not recommended and require a variety of constraints to be modeled (trace length and supporting logic). Additional modeling should be done for signal cross talk. It is strongly recommended that only TI's emulation header be used. C2 0.5 p 1p 0.5 p 1.5 K R215 R3 C50 3.9 p 1.5 K R214 ESD termination 0.5 p C10 6p C11 100 K R8 2.87 K R215 0.7” Tran7 Via C14 Input LVDS 1.5 K R217 ESD diode Via Trace Tran4 0.576” Resistor U23 C5 4p 1.3 p C9 0.5 p Via + V2 Via C4 R218 27 Tran5 0.6” Trace 100 K Tran6 R100 100 K C13 3p C7 C1 Pod header Cable assembly Tran3 5.625” 1.3658” trace-via 0.5 p Via Termination PCB Tran2 0.5” C12 Termination to header Tran1 1.5” R300 100 K Probe points DSP signal output 14-pin header input to LVDS 0.5 p 0.5 p Series resistor DSP to termination Via R1 Tran0 42 0.5” + V1 C0 3.3 V 0.5 p TREF_buffer Tran8 C51 DSP - header DSP 1p C52 XDS560T dual header (14 & 60) EMU0 Header 14 Trans to Target pod Series 14-pin header header Via LVDS Figure 40. EMU0 Dual-Header Simulation Model (TI's XDS560T Pod Assembly - 50-Ω Target and Pod Model) SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated XDS560T Spice Model 55 Appendix E www.ti.com Example 5 represents the spice net list used to create the spice model in Figure 40 for a 50-Ω dualheader target board impedance and TI's XDS560T pod. Example 5. EMU0 Dual-Header Spice Net List (Host Side, TI's XDS560T Pod - 50 Ω) *** Top Level Netlist *** C4 0 10 0.5p C50 12 InputLVDS 3.9p V1 DSP 0 DC 3.3V AC 0 0 PULSE 0 3.3V 0 800.00p 800.00p 2.20n 4.40n Tran0 1 0 DSP 0 ZO=50 TD=.088ns F=200Meg NL=0.5 Tran1 5 0 9 0 ZO=50 TD=.264ns F=200Meg NL=1.5 Tran2 10 0 5 0 ZO=50 TD=.176ns F=200Meg NL=0.5 Tran3 10 0 13 0 ZO=50 TD=0.990ns F=200Meg NL=5.625 Tran6 2 0 18 0 ZO=50 TD=0.2403808ns F=200Meg NL=1.3658 C2 0 5 1p C7 2 0 0.5p C6 8 0 4p V2 16 0 DC 3.30 AC 0 0 C9 0 InputLVDS 0.5p C0 0 1 0.5p C1 0 9 0.5p C10 0 InputLVDS 0.5p C11 0 InputLVDS 5p C12 13 0 0.5p Tran5 14 0 18 0 ZO=50 TD=.1056ns F=200Meg NL=0.6 Tran7 12 0 2 0 ZO=50 TD=0.1232ns F=200Meg NL=0.7 C13 0 2 3p C14 0 2 1.3p Tran4 13 0 18 0 ZO=50 TD=0.176ns F=200Meg NL=0.576 R1 1 9 42 R216 InputLVDS 12 2.87K R217 16 InputLVDS 1.5K R215 16 12 1.5K R100 2 0 100K R3 8 0 100K R218 8 14 27 R214 InputLVDS 0 1.5K R8 InputLVDS 0 100K Tran8 5 0 Header14 0 ZO=50 TD=0.2816ns F=200Meg NL=1.6 C51 0 5 0.5p C52 0 Header14 1p R300 Header14 0 100K ***** Spice models and macro models ***** ***** End of spice models and macro models ***** .tran 1n 100n 0.0 1n .save all .end 56 XDS560T Spice Model SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Appendix E www.ti.com The result of your 50-Ω dual-header target PCB simulation and modeling from Figure 40 should be an acceptable waveform, similar to that illustrated in Figure 41. Figure 41. EMU0 Dual-Header - Wave Form (Host Side, TI's XDS560T Pod - 50 Ω) SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated XDS560T Spice Model 57 www.ti.com Appendix F XDS560 v2 System Trace Modeling Figure 42 shows the TRCLK[0] model schematic. SLM_qth01_qsh01 in the model represents the combination of the emulation header on the target card and the target cable connector. For the most accurate simulation, TI recommends using tools that support simulation with IBIS models of your target device (U11.1 in Figure 42) and the AVC4T245_RGY buffer. U11.1 V1 TL8 R81 TL7 TL6 TL3 22.0 ohms 50.4 ohms 297.490 ps 2.000 in TRCLK0 47.6 ohms 59.510 ps SLM_qth01_qsh0... 50.4 ohms 7.449 ps 0.050 in TRCLK0 R49 50.4 ohms 4.462 ps 0.030 in TRCLK0 100.0 K ohms VCC_TR... 1.8V V2 ML1 TL4 Bott... 50.4 ohms BQOMAP2HYFBP... 7.449 ps 0.050 in PAD TRCLK0 TL5 ML1 TL2 R79 TL1 50.4 ohms 7.140 ps 0.048 in TRCLK0 22.0 ohms 50.4 ohms 18.828 ps 0.127 in N16879407 U9.13 Bott... 48.6 ohms 183.094 ps 1.057 in TRCLK0 AVC4T245_RGY 1A1 Figure 42. TRCLK[0] Model Schematic 58 XDS560 v2 System Trace Modeling SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated www.ti.com Appendix G XDS Pro Trace Modeling Figure 43 shows the TRC_CLK0 model schematic, Figure 44 shows the TRC_CLK1 model schematic, and Figure 45 shows a typical trace data signal schematic. SML_qth01_qsh01 in the model represents the combination of the emulation header on the target card and the target cable connector. For the most accurate simulation, TI recommends using tools that support simulation with IBIS models of your target device (U21.27 in Figures N, N+1 and N+2) and the AVC4T245_RGY buffer. The following link provides a zip file that includes the Allegro layout and a pre-configured Hyperlynx example: http://software-dl.ti.com/dsps/dsps_public_sw/sdo_ccstudio/Documentation/xdsprotrace_cable_layout_hyperlynx Note that the models provided do not account for any special cases, such as multiplexed functional and trace signals over the same pin (see Section 18), that if present need to be included in your model. Also, since the XDS Pro Trace does not support direct JTAG communications, if you are using an XDS560v2 System Trace as the JTAG XDS, for TRC_CLK0 you must include the XDS560v2 System Trace (from Appendix F) in your simulation. XDS560V2 TL67 TL19 47.6 ohms 49.9 ohms 8.758 ps 59.510 ps SLM_qth01_qsh0... 0.060 in TR_CLK0 V19 Vt1v8 1.8V TL60 R11 49.9 ohms 5.337 ps 0.037 in TR_CLK0 100.0 K ohms TL61 TL53 V18 TOP U21.27 R165 TL66 TL64 TL20 22.0 ohms 49.9 ohms 292.434 ps 2.000 in TR_CLK0 47.6 ohms 49.9 ohms 59.510 ps 7.486 ps SLM_qth01_qsh0... 0.051 in TR_CLK0 BOT... BQOMAP2HYFBP . . PAD U2.30 TL52 R65 TL18 49.9 ohms 3.875 ps 0.027 in TR_CLK0 50.0 ohms 49.9 ohms 13.954 ps 0.095 in N17493633 TOP LYR5 48.5 ohms 394.553 ps 2.274 in TR_CLK0 LYR5 48.5 ohms 183.049 ps 1.055 in TR_CLK0 SSTL,1.8V,_300ps TL51 49.9 ohms 5.849 ps 0.040 in N17493633 C244 0.0 pF V20 TL62 R164 TL63 V21 LYR5 U20.15 TL54 TOP BOT... 22.0 ohms 49.9 ohms 3.144 ps 0.022 in TR_CLK0 BOT... 49.9 ohms 10.019 ps 0.069 in N19130073 49.9 ohms 3.889 ps 0.027 in N19130073 AVC4T245_RSV 1B1 Figure 43. TRC_CLK0 Model Schematic V1 TL4 R71 TL1 49.9 ohms 3.875 ps 0.027 in TR_CLK1 50.0 ohms 49.9 ohms 13.954 ps 0.095 in N17496963 U2.27 TOP U21.27 R166 TL11 TL10 TL2 22.0 ohms 49.9 ohms 292.434 ps 2.000 in TR_CLK1 47.6 ohms 59.510 ps SLM_qth01_qsh0... 49.9 ohms 8.217 ps 0.056 in TR_CLK1 TL7 TL5 48.5 ohms 328.110 ps 1.891 in TR_CLK1 48.5 ohms 178.055 ps 1.026 in TR_CLK1 V2 LYR5 LYR5 BQOMAP2HYFBP . . PAD BOT... TL6 R23 49.9 ohms 4.606 ps 0.032 in TR_CLK1 100.0 K ohms SSTL,1.8V,_300ps TL3 49.9 ohms 5.849 ps 0.040 in N17496963 C247 0.0 pF V3 TL8 R165 TL9 49.9 ohms 3.875 ps 0.027 in TR_CLK1 22.0 ohms 49.9 ohms 8.874 ps 0.061 in N19130190 U20.13 TOP LYR5 AVC4T245_RSV 2B1 Figure 44. TRC_CLK1 Model Schematic SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated XDS Pro Trace Modeling 59 Appendix G www.ti.com V1 TL4 R71 TL1 49.9 ohms 3.875 ps 0.027 in TR_CLK1 50.0 ohms 49.9 ohms 13.954 ps 0.095 in N17496963 U2.27 TOP U21.27 R166 TL11 TL10 TL2 22.0 ohms 49.9 ohms 292.434 ps 2.000 in TR_CLK1 47.6 ohms 59.510 ps SLM_qth01_qsh0... 49.9 ohms 8.217 ps 0.056 in TR_CLK1 TL7 TL5 48.5 ohms 328.110 ps 1.891 in TR_CLK1 48.5 ohms 178.055 ps 1.026 in TR_CLK1 V2 LYR5 LYR5 BQOMAP2HYFBP . . PAD BOT... TL6 R23 49.9 ohms 4.606 ps 0.032 in TR_CLK1 100.0 K ohms SSTL,1.8V,_300ps TL3 49.9 ohms 5.849 ps 0.040 in N17496963 C247 0.0 pF Figure 45. TRC_DATA[n] Signal Schematic 60 XDS Pro Trace Modeling SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated www.ti.com Appendix H Finding a Buffer's Output Impedance To determine the nominal impedance of a device's JTAG or EMU pin output buffer, reference the IBIS model for the device. Find the "model_name" of the pin's buffer using the name of the pin as defined in the device's data sheet (i.e., EMU0, TCK) and use the key from Table 28 to decode the name and determine the output impedance of the buffer. Table 29 provides a list of common buffers and the recommended series termination resistor value. In some cases, a shorthand version of the model_name is used. In this case, you must find the definition of the buffer in the IBIS file and look for the component comment (for an example, see Table 30). Table 28. Buffer Name Decode and Output Impedance Buffer Name: BT 3325 ET HYPU FZSC P18 B Driver/Receiver (O = Output). T TTL © = CMOS). 33 Supply voltage; i.e., 3.3 V. 25 Nominal impedance; i.e., 25 Ω. E Buffer's design frequency; i.e., 250 MHz. A = 50 MHz B = 100 MHz C = 150 MHz D = 200 MHz E = 250 MHz F = 300 MHz Table 29. Recommended Series Termination Resistor Value Output Impedance Recommended Termination Resistor BT3315DTHYPU 15 33 BT3325ETPU 25 24 BT3325ETHYPUFZSCP18 25 24 BC1825ETHYPUFZ 25 24 BC1825ESHYPUFZ 25 24 (2) 42 Buffer Types (1) IDH04_UOT335_PS100 (1) (2) Do not assume that all EMU and JTAG pins use the same buffers. Fore example, a TMS320C6457 uses a BC1825ETHYPUFZ for all the EMU pins, but the TDO pin uses a BC1840ETHYFZ. In this case, the EMU pins require 24-Ω series termination resistors, while TDO requires a much smaller, 10-Ω, termination resistor. In some early trace supported devices, the IBIS buffer naming convention was not used. If you find cases other than IDH04_UOT335_PS100, we recommend you contact your TI field service representative to get the buffer output impedance. SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Finding a Buffer's Output Impedance 61 Appendix H www.ti.com Table 30. Model_name Example Pin Signal_name Model_name R_pin L_pin C_pin H23 TCK KP18PUSR50 1.14E+00 2.78E-09 1.62E-12 J22 TDI THYPUFZP18 1.10E+00 2.58E-09 1.66E-12 J23 TDO EPUFZSCP18 1.16E+00 2.67E-09 1.47E-12 L22 TMS THYPUFZP18 9.03E-01 2.34E-09 1.52E-12 L23 TRST THYPDFZP18 1.03E+00 2.62E-09 1.41E-12 K23 EMU0 EPUFZSCP18 1.08E+00 2.62E-09 1.49E-12 K22 EMU1 EPUFZSCP18 1.02E+00 2.47E-09 1.58E-12 K21 EMU2 EPUFZSCP18 7.51E-01 2.07E-09 1.39E-12 K20 EMU3 EPUFZSCP18 5.34E-01 1.66E-09 1.26E-12 L18 EMU4 EPUFZSCP18 2.72E-01 1.21E-09 1.07E-12 J21 EMU5 EPUFZSCP18 8.00E-01 2.22E-09 1.48E-12 K19 EMU6 EPUFZSCP18 4.11E-01 1.49E-09 1.19E-12 H21 EMU7 EPUFZSCP18 9.35E-01 2.47E-09 1.51E-12 J20 EMU8 EPUFZSCP18 6.07E-01 1.77E-09 1.33E-12 H20 EMU9 EPUFZSCP18 6.51E-01 1.98E-09 1.35E-12 J19 EMU10 EPUFZSCP18 4.39E-01 1.54E-09 1.18E-12 K18 EMU11 EPUFZSCP18 1.61E-01 1.32E-09 9.70E-13 In the case of TDO, you must search the IBIS model for the following comment: |******************************************************************************* || Component BT3325ETHYPUFZSCP18 -May 28, 2007 Rev 1.1 | Note: Shortened Model name is EPUFZSCP18 |******************************************************************************* 62 Finding a Buffer's Output Impedance SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated www.ti.com Appendix I Variable Board Impedance Figure 46 illustrates the ability to alter individual printed circuit board impedances by varying the dielectric thickness and spacing for specific signal layers to reference planes. Microstrip Impedance (Er=4.1) 100 3 mil 95 4 mil 5 mil 90 85 6 mil 7 mil Impedance 80 75 8 mil 9 mil 10 mil 11 mil 70 65 60 12 mil 13 mil 55 50 14 mil 15 mil 45 40 1 3 5 7 9 11 13 15 17 19 Dielectric thickness Figure 46. Various PCB Impedance Calculations W 5 mil 0.0625 t = 1 mil h 7 mil h1 5 mil h 7 mil 5 mil Er = 4.1 A typical layer stackup is shown to the left, all copper layers are assumed to be 1 mil thick. Total board thickness is 0.063. If h=7 mils, and h1 = 5 mils, a 7.5-mil wide trace has a 50-Ω impedance and a 3.5-mil wide trace has a 71-Ω impedance. 7 mil b 5 mil 7 mil 5 mil Figure 47. Example of 10-Layer PCB Construction SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated Variable Board Impedance 63 Revision History www.ti.com Revision History Changes from H Revision (January 2012) to I Revision ................................................................................................ Page • • • • • Deleted footnote .......................................................................................................................... 8 Changed paragraph ...................................................................................................................... 9 Changed Emulator Signal Direction to Input for TYPE0 and TYPE1 Signals ................................................... 12 Added footnote .......................................................................................................................... 12 Changed footnote ....................................................................................................................... 15 NOTE: Page numbers for previous revisions may differ from page numbers in the current version. 64 Revision History SPRU655I – February 2003 – Revised August 2012 Submit Documentation Feedback Copyright © 2003–2012, Texas Instruments Incorporated IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, enhancements, improvements and other changes to its semiconductor products and services per JESD46C and to discontinue any product or service per JESD48B. Buyers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. All semiconductor products (also referred to herein as “components”) are sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment. TI warrants performance of its components to the specifications applicable at the time of sale, in accordance with the warranty in TI’s terms and conditions of sale of semiconductor products. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where mandated by applicable law, testing of all parameters of each component is not necessarily performed. TI assumes no liability for applications assistance or the design of Buyers’ products. Buyers are responsible for their products and applications using TI components. To minimize the risks associated with Buyers’ products and applications, Buyers should provide adequate design and operating safeguards. TI does not warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or other intellectual property right relating to any combination, machine, or process in which TI components or services are used. Information published by TI regarding third-party products or services does not constitute a license to use such products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI. Reproduction of significant portions of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additional restrictions. Resale of TI components or services with statements different from or beyond the parameters stated by TI for that component or service voids all express and any implied warranties for the associated TI component or service and is an unfair and deceptive business practice. TI is not responsible or liable for any such statements. Buyer acknowledges and agrees that it is solely responsible for compliance with all legal, regulatory and safety-related requirements concerning its products, and any use of TI components in its applications, notwithstanding any applications-related information or support that may be provided by TI. Buyer represents and agrees that it has all the necessary expertise to create and implement safeguards which anticipate dangerous consequences of failures, monitor failures and their consequences, lessen the likelihood of failures that might cause harm and take appropriate remedial actions. Buyer will fully indemnify TI and its representatives against any damages arising out of the use of any TI components in safety-critical applications. In some cases, TI components may be promoted specifically to facilitate safety-related applications. With such components, TI’s goal is to help enable customers to design and create their own end-product solutions that meet applicable functional safety standards and requirements. Nonetheless, such components are subject to these terms. No TI components are authorized for use in FDA Class III (or similar life-critical medical equipment) unless authorized officers of the parties have executed a special agreement specifically governing such use. Only those TI components which TI has specifically designated as military grade or “enhanced plastic” are designed and intended for use in military/aerospace applications or environments. Buyer acknowledges and agrees that any military or aerospace use of TI components which have not been so designated is solely at the Buyer's risk, and that Buyer is solely responsible for compliance with all legal and regulatory requirements in connection with such use. TI has specifically designated certain components which meet ISO/TS16949 requirements, mainly for automotive use. Components which have not been so designated are neither designed nor intended for automotive use; and TI will not be responsible for any failure of such components to meet such requirements. Products Applications Audio www.ti.com/audio Automotive and Transportation www.ti.com/automotive Amplifiers amplifier.ti.com Communications and Telecom www.ti.com/communications Data Converters dataconverter.ti.com Computers and Peripherals www.ti.com/computers DLP® Products www.dlp.com Consumer Electronics www.ti.com/consumer-apps DSP dsp.ti.com Energy and Lighting www.ti.com/energy Clocks and Timers www.ti.com/clocks Industrial www.ti.com/industrial Interface interface.ti.com Medical www.ti.com/medical Logic logic.ti.com Security www.ti.com/security Power Mgmt power.ti.com Space, Avionics and Defense www.ti.com/space-avionics-defense Microcontrollers microcontroller.ti.com Video and Imaging www.ti.com/video RFID www.ti-rfid.com OMAP Mobile Processors www.ti.com/omap TI E2E Community e2e.ti.com Wireless Connectivity www.ti.com/wirelessconnectivity Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265 Copyright © 2012, Texas Instruments Incorporated