AN98491 Recommended PCB Routing Guidelines for a Cypress e.MMC Memory Device AN98491 provides general routing guidelines for PCBs designed with a Cypress e.MMC memory device. 1 Introduction This application note provides general routing guidelines for PCBs (printed circuit board) designed with a Cypress® e.MMC memory device. It does not eliminate the need for customer signal integrity/power delivery simulations and should be used as an initial reference towards PCB design with a Cypress e.MMC memory device. Customers should utilize Cypress provided IBIS models for signal timing/crosstalk simulations. If customers cannot meet or beat the recommendations in this application note, detailed simulations should be performed to determine whether the exceptions would impact bus performance. This document applies to the following Cypress devices: 2 S4041XXX1B1 e.MMC series Signal Descriptions Table 1 describes various pins (and their function) used in S4041-1B1 e.MMC memory device. Table 1. Pin Description Pin Name Type DAT0 - DAT7 I/O Bidirectional data channels used for data transfers. I/O Bidirectional command channel used for device initialization and command transfers. CMD www.cypress.com Description CLK Input Clock input. RST_N Input Hardware reset. VCC Power Supply voltage for the flash memory. VCCQ Power Supply voltage for the memory controller and MMC interface. VDDI Power Internal power node. Connect capacitor to ground. VSS Power Ground pin for the flash memory. VSSQ Power Ground pin for the memory controller and MMC interface. NC — Not connected. RFU — Reserved for future use. Do not connect. Document No. 001-98491 Rev. *B 1 Recommended PCB Routing Guidelines for a Cypress e.MMC Memory Device 3 Package Breakout Routing Recommendations Figure 1. FBGA 153 (Top View, Balls Down) 1 2 NC NC 3 4 5 6 7 8 9 10 11 12 13 14 NC NC NC NC NC NC NC A DAT0 DAT1 DAT2 RFU RFU B NC DAT3 DAT4 DAT5 DAT6 DAT7 NC NC NC NC NC NC NC NC NC VDDI NC VSSQ NC VCCQ NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC RFU VCC VSS RFU RFU RFU NC NC NC NC NC NC VCC RFU NC NC NC NC NC RFU VSS RFU NC NC NC NC NC NC RFU VSS NC NC NC NC NC NC RFU VCC NC NC NC NC NC NC RST_N RFU RFU VSS VCC RFU NC NC NC NC NC NC NC NC NC NC NC NC VCCQ CMD CLK C D NC E package breakout recommended direction F G H J K L M NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC NC RFU NC NC NC NC N NC VSSQ NC VCCQ VSSQ NC P NC www.cypress.com NC VCCQ VSSQ VCCQ VSSQ RFU Document No. 001-98491 Rev. *B 2 Recommended PCB Routing Guidelines for a Cypress e.MMC Memory Device Figure 2. BGA 100 (Top View, Balls Down) 1 2 NC NC 3 4 5 6 7 8 9 10 NC NC A B NC NC package breakout recommended direction C D RFU RFU RFU RFU RFU RFU RFU RFU RFU RFU VDDI RFU RFU RFU RFU RFU VCC VCC VCC VCC VCC VCC VCC VCC VSS VSS VSS VSS VSS VSS VSS VSS VSSQ VCCQ RFU RFU RFU RFU VCCQ VSSQ RFU RFU RFU RFU RFU RFU RFU RFU DAT0 DAT2 RFU RFU RFU RFU DAT5 DAT7 VCCQ VSSQ VCCQ RFU RFU VCCQ VSSQ VCCQ RFU RFU VSSQ RST_N RFU VSSQ RFU RFU DAT1 DAT3 RFU RFU RFU RFU DAT4 DAT6 VSSQ VCCQ RFU CMD CLK RFU VCCQ VSSQ E F G H J K L M N P T NC NC U NC NC NC NC For the FBGA 153-ball package (Figure 1), a westward breakout is recommended to achieve the best length matching and shortest distance to the host controller. The supply balls can be connected to vias between the ball matrix (on PCB) to connect the PWR/GND layers. For the BGA 100-ball package (Figure 2), a southward breakout is recommended to achieve the best length matching and shortest distance to the host controller. During PCB breakout, use as below: BGA100: – Ball pad size: 0.35 – SRO size: 0.5 BGA153: – Ball pad size: 0.25 – SRO size: 0.35 Once the ball field is cleared, customers can redirect the traces in the direction of the Host controller package while maintaining a minimum 4 mil or better spacing between traces. www.cypress.com Document No. 001-98491 Rev. *B 3 Recommended PCB Routing Guidelines for a Cypress e.MMC Memory Device 3.1 Top Layer Only PCB Breakout Options Figure 3. FBGA 153 BALLMAP (Top view, balls down) Top layer only PCB breakout recommendation Recommended decoupling capacitors: — VCCQ ≥ 0.1 µF x1 2.2 µF x1 (this cap should be as close as possible to the C6 ball) 1 x 1 µF — VCC ≥ 0.1 µF x1 and 2.2 µF x1 — VDDi ≥ 0.1 µF x1 and 2.2 µF x1 Capacitors that are placed in the backplane are noted with a dotted line www.cypress.com Document No. 001-98491 Rev. *B 4 Recommended PCB Routing Guidelines for a Cypress e.MMC Memory Device Figure 4. FBGA 100 BALLMAP (Top view, balls down) Top layer only PCB breakout recommendation Recommended decoupling capacitors: — VCCQ ≥ 0.1 µF x1 2.2 µF x1 2 x 2 µF — VCC ≥ 0.1 µF x1 and 2.2 µF x1 — VDDi ≥ 0.1 µF x1 and 2.2 µF x1 Capacitors that are placed in the backplane are noted with a dotted line 4 Stackup Requirements Customer stackups can vary based on the end application, however Cypress recommends that all signal traces be well referenced to a solid GND plane. It is recommended to dedicate a plane layer to VCC. The most straightforward stackup to meet the above requirements would be a minimum 6-layer stackup as shown below: – Top Layer: GND plane (allow signal breakout on this layer) – Signal – GND – VCC – Signal – Bottom Layer: GND plane (allow some signal breakout on this layer) The signal trace width and trace height from the GND plane needs to be adjusted based on signal impedance requirements. It is possible to reduce the layer requirement to a 4-layer PCB. However, the signal impedance needs to be met and the signals should be routed over a solid GND plane: – www.cypress.com Top Layer (Signal):Add as many GND guard traces next to e.MMC signals as possible and connect to the GND plane using vias Document No. 001-98491 Rev. *B 5 Recommended PCB Routing Guidelines for a Cypress e.MMC Memory Device 5 – GND – VCC – Bottom layer (Signal):Add as many GND guard traces next to e.MMC signals as possible and connect to the GND plane using vias Power Delivery Guidelines It is recommend to connect VCC/VCCQ to the VCC plane layer with µvias while maintaining the breakout trace as large as allowed by the ball pitch. A separate plane flood on the VCC layer is needed for VCC and VCCQ supplies. It is recommend to connect VSS/VSSQ to the VSS plane with µvias while maintaining the breakout trace as large as allowed by the ball pitch. VSS and VSSQ can be shared into one plane. It is recommended to keep the supply trace lengths 400 mil and the trace width 20 mil. The same care, as explained in the bullets above, should be taken for traces from the voltage regulator (PMIC) feeding into VCC and VCCQ. This will minimize the IR drop from the regulator. As much as possible, do not share VCC/VCCQ supply planes with other interfaces to avoid noise coupling. VSS can be shared as long as it is a homogeneous plane. Decoupling Capacitor Recommendations X7R or X5R capacitors are recommended with a rated voltage > 6.3V. 0603 or a smaller size is recommended. Pick capacitors with low ESL and ESR. It is important to place decoupling caps as close to the target supply balls while maintaining > 20 mil trace width for supply connections to capacitor SMT pads. Recommended Value and Quantity: VCCQ 0.1 µF x 1 2.2 µF x 1 (for BGA153, this cap should be as close as possible to C6 ball) 1 x 1 µF 1 x 1 µF (additional cap only for BGA100 package) VCC 0.1 µF x 1 and 2.2 µF x 1 VDDi 0.1 µF x 1 and 2.2 µF x 1 Customer is requested to place all of the caps shown above. For VCCQ caps, they should be located as close as possible to the VCCQ/VSSQ balls near the DAT0-7 signals. 6 Signal Routing Guidelines Customers are recommended to meet or beat the signal routing recommendations below. All length/mismatch guidelines are provided in inches. It is assumed that 1 inch is ~166 ps. Customers should use signal integrity tools to estimate the actual trace velocity and path delays to ensure that the above assumption is not violated. A typical 1 inch/50 ohm transmission line has a line capacitance of ~3.3 pf. While considering the total load on a line, both line length and pin capacitance values of all components connected to that line should be considered. Customers are encouraged to perform signal integrity simulations using Cypress provided IBIS models to determine actual guidelines suitable for their application. The guidelines below should be used as a starting reference. Typically, delay is measured between tVM (timing reference voltage which is usually VCC/2) of the source to tVM of the destination. However, attention should be paid to the signal polarity in the data sheet to ensure which edge the timing is measured at (rising or falling edge). In general through hole vias are OK on signals as the long as board is not too thick. Otherwise these vias add impedance discontinuities and capacitance. Wherever possible use a µVia+Buried via combination. www.cypress.com Document No. 001-98491 Rev. *B 6 Recommended PCB Routing Guidelines for a Cypress e.MMC Memory Device Either Microstrip line or Stripline is allowed for signal routing as long as trace impedance is maintained for all signals at 50 ohm ± 10%. Signal trace length skew constraints – Mismatch within DAT0~DAT7 250 mil – CLK to DAT0-7 mismatch 250 mil – CLK to CMD mismatch 250 mil – CLK to RST_N mismatch 1000 mil Signal spacing constraints from other signals – CLK: > 2H – DS: > 2H – DAT0~DAT7: > 1.5H – CMD: > 1.5H – RST_N: > 1.5H Where H is the height of the dielectric between signal and GND (reference layer) 7 Match the via count between two signals which are being considered for length matching CLK and DAT0-DAT7 maximum trace lengths are dependent on the following: – The maximum capacitive load allowed per the data sheet (1 inch ~ 3.3 pf). – The TODLY parameter of the e.MMC memory device. – The round-trip flight time due to the transmission line delays on the CLK and DAT0-DAT7 signals. – The input setup and hold time requirements of the e.MMC memory device. Series Termination and Pull-Up Resistor Recommendations Parameter Recommende d Symbol Comments Pull-up resistance for CMD R_CMD 10 k To prevent bus floating. Pull-up resistance for DAT[7:0] R_DAT 50 k To prevent bus floating. Pull-up resistance for RST_n R_RST_n 50 k A pull-up resistance on the RST_n (H/W reset) line is not required if the host does not enable the H/W reset feature. Series termination for CLK SR_CLK 22 To stabilize the clock signal. It is recommend for customers to perform simulations using the controller IBIS model to confirm this value. www.cypress.com Document No. 001-98491 Rev. *B 7 Recommended PCB Routing Guidelines for a Cypress e.MMC Memory Device 8 9. Test Points and Oscilloscope Measurements Test points should be added as close to the Controller for DAT0-7 and as close to the e.MMC package for all signals. When the controller is driving, it is meaningful to look at the signal as close to the e.MMC device as possible. When the e.MMC device is driving, the opposite is true. While creating a test pad, the stub resulting from the pad should be minimized. It is recommended for the customer to probe at the breakout via if the customer has the ability to do this instead of creating test pad stubs. While performing scope measurements, please use > 3 GHz bandwidth scope as well as a low impedance probe. Always measure VCC-VSS at the controller, voltage regulator, next to the connector (either side) and at the e.MMC device. This needs to be done prior to making any signal measurements to ensure that the supply is not noisy. A noisy supply will impact signal timing. Also, these measurements establish the IR drop from the regulator to the controller or the regulator to the e.MMC device. While measuring signals, it is a good idea to set the trigger on the most common switching signals such as the CLK. Conclusion This application note provides general routing guidelines for PCB's (printed circuit board) designed with a Cypress e.MMC memory device. For any questions regarding this application note, enter a support request on the Cypress support website or contact your Cypress representative. www.cypress.com Document No. 001-98491 Rev. *B 8 Recommended PCB Routing Guidelines for a Cypress e.MMC Memory Device Document History Page Document Title: AN98491 - Recommended PCB Routing Guidelines for a Cypress e.MMC Memory Device Document Number: 001-98491 Rev. ECN No. Orig. of Change Submission Date Description of Change ** – – 08/25/2014 Initial version *A – – 03/02/2015 Package Breakout Routing Recommendation: FBGA 153 (Top View, Balls Down) figure: corrected ball C5 to NC Added section: Top Layer Only PCB Breakout Options Updated sections: Stackup Requirements, Power Delivery Guidelines, Signal Routing Guidelines Series Termination and Pull-Up Resistor Recommendations: Changed Comments for ‘Pull-up resistance for RST_n’ *B 4943471 MSWI 09/30/2015 Updated in Cypress template www.cypress.com Document No. 001-98491 Rev. *B 9 Recommended PCB Routing Guidelines for a Cypress e.MMC Memory Device Worldwide Sales and Design Support Worldwide Sales and Design Support Cypress maintains a worldwide network of offices, solution centers, manufacturers’ representatives, and distributors. To find the office closest to you, visit us at Cypress Locations. # 999 Products PSoC® Solutions Automotive..................................cypress.com/go/automotive psoc.cypress.com/solutions Clocks & Buffers ................................ cypress.com/go/clocks PSoC 1 | PSoC 3 | PSoC 4 | PSoC 5LP Interface......................................... cypress.com/go/interface Cypress Developer Community Lighting & Power Control ............cypress.com/go/powerpsoc Memory........................................... cypress.com/go/memory PSoC ....................................................cypress.com/go/psoc Touch Sensing .................................... cypress.com/go/touch Community | Forums | Blogs | Video | Training Technical Support cypress.com/go/support USB Controllers ....................................cypress.com/go/USB Wireless/RF .................................... cypress.com/go/wireless MirrorBit®, MirrorBit® Eclipse™, ORNAND™, EcoRAM™ and combinations thereof, are trademarks and registered trademarks of Cypress Semiconductor Corp. All other trademarks or registered trademarks referenced herein are the property of their respective owners. Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone: Fax: Website: 408-943-2600 408-943-4730 www.cypress.com © Cypress Semiconductor Corporation, 2014-2015. The information contained herein is subject to change without notice. Cypress Semiconductor Corporation assumes no responsibility for the use of any circuitry other than circuitry embodied in a Cypress product. Nor does it convey or imply any license under patent or other rights. Cypress products are not warranted nor intended to be used for medical, life support, life saving, critical control or safety applications, unless pursuant to an express written agreement with Cypress. Furthermore, Cypress does not authorize its products for use as critical components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress products in life-support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges. This Source Code (software and/or firmware) is owned by Cypress Semiconductor Corporation (Cypress) and is protected by and subject to worldwide patent protection (United States and foreign), United States copyright laws and international treaty provisions. Cypress hereby grants to licensee a personal, non-exclusive, non-transferable license to copy, use, modify, create derivative works of, and compile the Cypress Source Code and derivative works for the sole purpose of creating custom software and or firmware in support of licensee product to be used only in conjunction with a Cypress integrated circuit as specified in the applicable agreement. Any reproduction, modification, translation, compilation, or representation of this Source Code except as specified above is prohibited without the express written permission of Cypress. Disclaimer: CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Cypress reserves the right to make changes without further notice to the materials described herein. Cypress does not assume any liability arising out of the application or use of any product or circuit described herein. Cypress does not authorize its products for use as critical components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress' product in a life-support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges. Use may be limited by and subject to the applicable Cypress software license agreement. www.cypress.com Document No. 001-98491 Rev. *B 10