MSP432E401Y: MSP432 to SDRAM layout

Part Number: MSP432E401Y

Hello,

I am making a project in which I am interfacing a MSP432 with a 512 Mbits SDRAM (IS42S163202D), I am using the Interfacing SDRAM on High-Performance Microcontrollers Design Guide as guide. 

Now, In the 7.3 PCB Layout Recommendations epigraph, it is said that the clock signal must be the shortest trace, is there any other recommendation or must-do that I have to follow? For example a defined trace impedance, or a maximum skew from the signal traces to the clock trace?

Please find attached pictures of the current layout of my board. Thanks in advance.

image.png

image (1).png

  • The additional EPI/SDRAM must-dos beyond "shortest clock trace"

    Rule Value Source
    Per-pin capacitance (trace + load) ≤ 35 pF per EPI signal to hold timing margin at full speed 1
    Total EPI trace length ≤ 6 in (15.24 cm) for full operating speed 1
    GPIO drive strength 8 mA for EPI signals; 12 mA for EPI0S31 when used as the SDRAM clock 1
    Clock isolation 2× trace-width spacing from all other signals to avoid crosstalk 1
    Skew Qualitative only — "make an effort to keep clock and data trace lengths similar"; no numeric skew budget is published 1
    Bus speed context EPI SDRAM mode runs to 60 MHz max on EPI0S0–EPI0S19 and EPI0S28–EPI0S31 1

    On your two specific questions:

    • Trace impedance: no single-ended ohm target is specified for the SDRAM clock/data/address/control group. TI's design guide instead constrains the interface by capacitance (35 pF) and length (6 in). The closest published reference is TI's stack-up tables, where 7-mil traces (~69–70 Ω) are typical for QFP I/O routing and 10-mil traces (~59–60 Ω) for power/ground and decoupling connections 2. TI also notes impedance control can be skipped only when trace length is under ~2 in (50.8 mm); longer runs should use controlled impedance or controlled dielectric 2.
    • Maximum skew: none is quantified for the EPI SDRAM bus. For scale, TI's MSP432E4 guide matches RMII within 2.0 in, ULPI within 500 mils, and USB pairs within 0.150 in — these are not stated as applying to the SDRAM bus but show the tolerance band TI uses on clocked parallel buses 3. Why it matters here: SDRAM read/write cycles are defined tightly against clock edges (CAS latency of 2 clocks), and row/column address plus data are multiplexed on EPI0S[15:0] against RASn/CASn/WEn/DQM/CSn strobes — so skew within the group directly eats setup/hold margin and can corrupt an activate/read/write sequence 4 5.

    Review of your uploaded layout (U22 → U21)

    Issues found:

    1. No length matching on the bus. Trace lengths vary visibly across the data/address/control group with no serpentine/accordion tuning relative to SDCLK. TI's length-matching rule for CK and ADDR_CTRL classes exists precisely because mismatch causes improper sampling at the memory device 6.
    2. Layer transitions without stitching vias. Several signals change layers through through-hole vias with no adjacent ground via. At every reference-plane change, return current needs a low-inductance path via a nearby ground-to-ground stitching via (or a bypass cap for ground-to-power); without it you get impedance discontinuities, crosstalk, and signal distortion 6 7.
    3. Routing between/under the TSOP-54 pin rows with no evident continuous solid reference plane beneath. Critical signals must never cross plane gaps 7.
    4. 90° bends present. Right-angle bends add capacitive loading and cause reflection/ringing/overshoot — use 45° or rounded bends 8.

    Done correctly: C140 and C141 sit immediately adjacent to U21's power/ground pins, consistent with recommended decoupling placement.

    Actions, in priority order

    1. Set EPI0S31 (SDCLK) drive to 12 mA and all other EPI pins to 8 mA in firmware — free fix, directly specified 1.
    2. Re-route SDCLK as the shortest net, with 2× width clearance from neighbors, and no vias on it — via inductance on a clock line degrades bypass effectiveness 1 8.
    3. Length-tune address/data/control to SDCLK, keeping total EPI length ≤ 6 in and verifying per-pin capacitance ≤ 35 pF 1.
    4. Collapse via count. Keep the bus on one layer where possible with identical via counts and barrel lengths per net — this is the standard skew-optimization approach for point-to-point memory routing 9. Where a layer change is unavoidable, transition to a layer sharing the same reference plane, or add a ground stitching via at the transition 6.
    5. Confirm a continuous solid plane under the full U22→U21 corridor, including the region between the TSOP-54 pin rows.
    6. Replace all 90° bends with 45° 8.

    Evidence gaps worth flagging

    • No document with a standalone "Section 7.3 PCB Layout Recommendations" for SDRAM was retrieved; the located SDRAM/EPI material covers refresh timing, read/write waveforms, and host-bus configuration 4. The quantitative rules above come from the MSP432E4 hardware design guide (SLAA770), so cross-check them against your copy of the SDRAM design guide for any section-specific additions.
    • Nothing device-specific to the MSP432E401Y Left right arrow IS42S163202D pairing — no official reference layout, required stack-up, or exact length-mismatch tolerance — was found 10. Items 4–6 above are extrapolated from analogous TI parallel-bus and DDR guidance, not a sanctioned figure for this pairing.

    Follow up: Would you like help determining a target length-matching window for your bus from your actual EPI clock rate and stack-up dielectric, so you can size the serpentine tuning concretely?

    1. MSP432E4 Hardware Design Guide (SLAA770), p.39
    2. MSP432E4 Hardware Design Guide (SLAA770), p.9
    3. MSP432E4 Hardware Design Guide (SLAA770), p.34
    4. MSP432E4 Technical Reference Manual (SLAU723A), p.1093
    5. MSP432E4 Technical Reference Manual (SLAU723A), p.1094
    6. High-Speed Interface Layout Guidelines (SPRACI2A), p.30
    7. High-Speed Layout Guidelines (SLLA295A), p.9
    8. Clock Distribution/Layout Practices (SCAA072), p.4
    9. eMMC Routing Guidelines (SPRADP5A), p.6
    10. High-Speed Interface Layout Guidelines (SPRACI2A)