Implementing Ddr2/Mddr PCB Layout On The Tms320Dm335 Dmsoc: Application Report
Implementing Ddr2/Mddr PCB Layout On The Tms320Dm335 Dmsoc: Application Report
ABSTRACT
This application report contains implementation instructions for the DDR2/mDDR interface contained on
the TMS320DM335 Digital Media System-on-Chip (DMSoC) device. The approach to specifying interface
timing for the DDR2/mDDR interface is quite different than on previous devices.
The previous approach specified device timing in terms of data sheet specifications and simulation
models. The system designer was required to obtain compatible memory devices, as well as the
device-specific data sheets and simulation models. This information would then be used to design the
printed circuit board (PCB) using high-speed simulation to close system timing.
For the DM335 DDR2/mDDR interface, the approach is to specify compatible DDR2/mDDR devices and
provide the PCB routing rule solution directly. TI has performed the simulation and system design work to
ensure DDR2/mDDR interface timings are met. This document describes the required routing rules.
The DM335 EVM provides an example of a PCB layout following these routing rules that passes FCC EMI
requirements. You can copy the DDR2/mDDR portion of this layout directly, but the intent is to allow
enough flexibility in the routing rules to meet other PCB requirements.
Contents
1 TMS320DM335 .............................................................................................................. 2
2 References ................................................................................................................. 14
List of Figures
1 DM335 DDR2/mDDR Single-Memory High Level Schematic ......................................................... 5
2 DM335 DDR2/mDDR Dual-Memory High Level Schematic ........................................................... 5
3 DM335 and DDR2/mDDR Device Placement ........................................................................... 6
4 DDR2/mDDR Keepout Region ............................................................................................ 7
5 VREF Routing and Topology ............................................................................................ 11
6 CK and ADDR_CTRL Routing and Topology.......................................................................... 11
7 DQS and DQ Routing and Topology .................................................................................... 12
8 DQGATE Routing ......................................................................................................... 13
List of Tables
1 Compatible JEDEC DDR2/mDDR Devices .............................................................................. 2
2 DM335 Minimum PCB Stack Up .......................................................................................... 3
3 PCB Stack Up Specifications .............................................................................................. 6
4 Placement Specifications .................................................................................................. 7
5 Bulk Bypass Capacitors .................................................................................................... 8
6 High-Speed Bypass Capacitors ........................................................................................... 9
7 Clock Net Class Definitions .............................................................................................. 10
8 Signal Net Class Definitions ............................................................................................. 10
9 DDR2/mDDR Signal Terminations ...................................................................................... 10
10 CK and ADDR_CTRL Routing Specification .......................................................................... 12
SPRAAL2D – November 2009 Implementing DDR2/mDDR PCB Layout on the TMS320DM335 DMSoC 1
Submit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
TMS320DM335 www.ti.com
1 TMS320DM335
2 Implementing DDR2/mDDR PCB Layout on the TMS320DM335 DMSoC SPRAAL2D – November 2009
Submit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
www.ti.com TMS320DM335
SPRAAL2D – November 2009 Implementing DDR2/mDDR PCB Layout on the TMS320DM335 DMSoC 3
Submit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
TMS320DM335 www.ti.com
DMSoC DDR2/mDDR
ODT
DDR_DQ00 T DQ0
DDR_DQ07 T DQ7
DDR_DQM0 T LDM
DDR_DQS0 T LDQS
NC LDQS
DDR_DQ08 T DQ8
DDR_DQ15 T DQ15
DDR_DQM1 T UDM
DDR_DQS1 T UDQS
NC UDQS
DDR_BA0 T BA0
DDR_BA2 T BA2
DDR_A00 T A0
(C)
DDR_A13 T A13
DDR_CS T CS
DDR_CAS T CAS
DDR_RAS T RAS
DDR_WE T WE
DDR_CKE T CKE
DDR_CLK T CK
DDR_CLK T CK
DDR_ZN
50 Ω .5%
(A)
DDR_DQGATE0 T Vio 1.8
DDR_DQGATE1
(D)
VREF 0.1 μF
1 K Ω 1%
(D) (D)
DDR_VREF VREF
(B) (B) (B)
0.1 μF 0.1 μF 0.1 μF 1 K Ω 1%
0.1 μF
4 Implementing DDR2/mDDR PCB Layout on the TMS320DM335 DMSoC SPRAAL2D – November 2009
Submit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
www.ti.com TMS320DM335
DMSoC
ODT
DDR_DQM0 T DM
DDR2/mDDR
Lower Byte
DDR_DQS0 T DQS
NC DQS
CK
CK
CS
CAS
RAS
WE
CKE
(D)
VREF
DDR_BA0-BA2 T BA0-BA2
DDR_A00-A13 (C)
T A0-A13
DDR_CLK T CK
DDR_CLK T CK
DDR_CS T CS
DDR_CAS T CAS
DDR_RAS T RAS
DDR2/mDDR
Upper Byte
DDR_WE T WE
DDR_CKE T CKE
DDR_DQM1 T DM
DDR_DQS1 T DQS
NC DQS
DDR_DQ08-15 T DQ0 - DQ7 (A)
Vio 1.8
DDR_ZN ODT
50 Ω .5%
DDR_DQGATE0 T (D)
VREF
DDR_DQGATE1 0.1 μF
1 K Ω 1%
(D) (D)
DDR_VREF VREF
(B) (B) (B)
0.1 μF 0.1 μF 0.1 μF 1 K Ω 1%
0.1 μF
SPRAAL2D – November 2009 Implementing DDR2/mDDR PCB Layout on the TMS320DM335 DMSoC 5
Submit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
TMS320DM335 www.ti.com
1.1.4 Placement
Figure 2 shows the required placement for the DM335 device as well as the DDR2/mDDR devices. The
dimensions for Figure 3 are defined in Table 4. The placement does not restrict the side of the PCB that
the devices are mounted on. The ultimate purpose of the placement is to limit the maximum trace lengths
and allow for proper routing space. For single-memory DDR2/mDDR systems, the second DDR2/mDDR
device is omitted from the placement.
A1
Y
DDR2/mDDR
OFFSET
Controller
DDR2/mDDR
Y
Device
Y
DM335
OFFSET
A1
Recommended DDR2/mDDR
Device Orientation
6 Implementing DDR2/mDDR PCB Layout on the TMS320DM335 DMSoC SPRAAL2D – November 2009
Submit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
www.ti.com TMS320DM335
(4)
4 DDR2/mDDR Keepout Region See Note
(5)
5 Clearance from non-DDR2/mDDR signal to DDR2/mDDR Keepout 4 w See Note
Region
(1)
See Figure 1 for dimension definitions.
(2)
Measurements from center of DMSoC device to center of DDR2/mDDR device.
(3)
For single memory systems it is recommended that Y Offset be as small as possible.
(4)
DDR2/mDDR Keepout region to encompass entire DDR2/mDDR routing area
(5)
Non-DDR2/mDDR signals allowed within DDR2/mDDR keepout region provided they are separated from DDR2/mDDR routing
layers by a ground plane.
A1 DDR2/mDDR
Controller
DDR2/mDDR
Device
A1
SPRAAL2D – November 2009 Implementing DDR2/mDDR PCB Layout on the TMS320DM335 DMSoC 7
Submit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
TMS320DM335 www.ti.com
(1)
These devices should be placed near the device they are bypassing, but preference should be given to the placement of the
high-speed (HS) bypass caps.
(2)
Only used on dual-memory systems
8 Implementing DDR2/mDDR PCB Layout on the TMS320DM335 DMSoC SPRAAL2D – November 2009
Submit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
www.ti.com TMS320DM335
SPRAAL2D – November 2009 Implementing DDR2/mDDR PCB Layout on the TMS320DM335 DMSoC 9
Submit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
TMS320DM335 www.ti.com
10 Implementing DDR2/mDDR PCB Layout on the TMS320DM335 DMSoC SPRAAL2D – November 2009
Submit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
www.ti.com TMS320DM335
DDR2/mDDR Device
A1
A1
A1
DDR2/mDDR
B
Controller
T
A
C
DM335
A1
SPRAAL2D – November 2009 Implementing DDR2/mDDR PCB Layout on the TMS320DM335 DMSoC 11
Submit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
TMS320DM335 www.ti.com
(1)
Table 10. CK and ADDR_CTRL Routing Specification
No Parameter Min Typ Max Unit Notes
1 Center to center CK-CK spacing 2w
(1)
2 CK A to B/A to C Skew Length Mismatch 25 Mils See Note
3 CK B to C Skew Length Mismatch 25 Mils
(2)
4 Center to center CK to other DDR2/mDDR trace 4w See Note
spacing
(3)
5 CK/ADDR_CTRL nominal trace length CACLM-50 CACLM CACLM+50 Mils See Note
6 ADDR_CTRL to CK Skew Length Mismatch 100 Mils
7 ADDR_CTRL to ADDR_CTRL Skew Length Mismatch 100 Mils
(2)
8 Center to center ADDR_CTRL to other DDR2/mDDR 4w See Note
trace spacing
(2)
9 Center to center ADDR_CTRL to other ADDR_CTRL 3w See Note
trace spacing
(1)
10 ADDR_CTRL A to B/A to C Skew Length Mismatch 100 Mils See Note
11 ADDR_CTRL B to C Skew Length Mismatch 100 Mils
(1)
Series terminator, if used, should be located closest to DMSoC.
(2)
Center to center spacing is allowed to fall to minimum (w) for up to 500 mils of routed length to accommodate BGA escape and
routing congestion.
(3)
CACLM is the longest Manhattan distance of the CK and ADDR_CTRL net classes.
Figure 7 shows the topology and routing for the DQS and DQ net classes; the routes are point to point.
Skew matching across bytes is not needed nor recommended.
T
E0
A1
T
E1
DDR2/mDDR
Controller
DM335
T
E2
A1
T
E3
12 Implementing DDR2/mDDR PCB Layout on the TMS320DM335 DMSoC SPRAAL2D – November 2009
Submit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
www.ti.com TMS320DM335
(1)
Table 11. DQS and DQ Routing Specification
No. Parameter Min Typ Max Unit Notes
1 Center to center DQS-DQS spacing 2w
2 DQS E Skew Length Mismatch 25 Mils
(2)
3 Center to center DQS to other DDR2/mDDR trace spacing 4w See Note
(1)
4 DQS/DQ nominal trace length DQLM- DQL DQLM Mils See Notes ,
(3)
50 M +50
(3)
5 DQ to DQS Skew Length Mismatch 100 Mils See Note
(3)
6 DQ to DQ Skew Length Mismatch 100 Mils See Note
(2)
7 Center to center DQ to other DDR2/mDDR trace spacing 4w See Notes ,
(4)
(5)
8 Center to Center DQ to other DQ trace spacing 3w See Notes ,
(2)
(3)
9 DQ/DQS E Skew Length Mismatch 100 Mils See Note
(1)
Series terminator, if used, should be located closest to DDR.
(2)
Center to center spacing is allowed to fall to minimum (w) for up to 500 mils of routed length to accommodate BGA escape and
routing congestion.
(3)
There is no need and it is not recommended to skew match across data bytes, i.e., from DQS0 and data byte 0 to DQS1 and
data byte 1.
(4)
DQ's from other DQS domains are considered other DDR2/mDDR trace.
(5)
DQLM is the longest Manhattan distance of each of the DQS and DQ net classes.
Figure 8 shows the routing for the DQGATE net classes. Table 12 contains the routing specification.
A1
FL
T
DDR2/mDDR
Controller
T DM335
A1
FH
SPRAAL2D – November 2009 Implementing DDR2/mDDR PCB Layout on the TMS320DM335 DMSoC 13
Submit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
References www.ti.com
(1)
CKB0B1 is the sum of the length of the CK net plus the average length of the DQS0 and DQS1 nets.
(2)
Skew from CKB0B1
2 References
• TMS320DM335 Digital Media System-on-Chip (DMSoC) Data Manual (SPRS528)
• Understanding TI's PCB Routing Rule-Based DDR2 Timing Specification (SPRAAV0)
• Flip Chip Ball Grid Array Package Reference Guide (SPRU811)
14 Implementing DDR2/mDDR PCB Layout on the TMS320DM335 DMSoC SPRAAL2D – November 2009
Submit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
IMPORTANT NOTICE
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements,
and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should
obtain the latest relevant information before placing orders and should verify that such information is current and complete. All products are
sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment.
TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI’s standard
warranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where
mandated by government requirements, testing of all parameters of each product is not necessarily performed.
TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products and
applications using TI components. To minimize the risks associated with customer products and applications, customers should provide
adequate design and operating safeguards.
TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right,
or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Information
published by TI regarding third-party products or services does not constitute a license from TI 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 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. Reproduction of this information with alteration is an unfair and deceptive
business practice. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additional
restrictions.
Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all
express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is not
responsible or liable for any such statements.
TI products are not authorized for use in safety-critical applications (such as life support) where a failure of the TI product would reasonably
be expected to cause severe personal injury or death, unless officers of the parties have executed an agreement specifically governing
such use. Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications, and
acknowledge and agree that they are solely responsible for all legal, regulatory and safety-related requirements concerning their products
and any use of TI products in such safety-critical applications, notwithstanding any applications-related information or support that may be
provided by TI. Further, Buyers must fully indemnify TI and its representatives against any damages arising out of the use of TI products in
such safety-critical applications.
TI products are neither designed nor intended for use in military/aerospace applications or environments unless the TI products are
specifically designated by TI as military-grade or "enhanced plastic." Only products designated by TI as military-grade meet military
specifications. Buyers acknowledge and agree that any such use of TI products which TI has not designated as military-grade is solely at
the Buyer's risk, and that they are solely responsible for compliance with all legal and regulatory requirements in connection with such use.
TI products are neither designed nor intended for use in automotive applications or environments unless the specific TI products are
designated by TI as compliant with ISO/TS 16949 requirements. Buyers acknowledge and agree that, if they use any non-designated
products in automotive applications, TI will not be responsible for any failure to meet such requirements.
Following are URLs where you can obtain information on other Texas Instruments products and application solutions:
Products Applications
Amplifiers amplifier.ti.com Audio www.ti.com/audio
Data Converters dataconverter.ti.com Automotive www.ti.com/automotive
DLP® Products www.dlp.com Broadband www.ti.com/broadband
DSP dsp.ti.com Digital Control www.ti.com/digitalcontrol
Clocks and Timers www.ti.com/clocks Medical www.ti.com/medical
Interface interface.ti.com Military www.ti.com/military
Logic logic.ti.com Optical Networking www.ti.com/opticalnetwork
Power Mgmt power.ti.com Security www.ti.com/security
Microcontrollers microcontroller.ti.com Telephony www.ti.com/telephony
RFID www.ti-rfid.com Video & Imaging www.ti.com/video
RF/IF and ZigBee® Solutions www.ti.com/lprf Wireless www.ti.com/wireless
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2009, Texas Instruments Incorporated