element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Ultrazed Hardware Design SD Card layout for a custom 7EV carrier board
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 3 replies
  • Subscribers 324 subscribers
  • Views 785 views
  • Users 0 members are here
Related

SD Card layout for a custom 7EV carrier board

mad_dog
mad_dog over 1 year ago

Hello...Viewing the Zynq-7000 SoC PCB Design Guide (UG933) the following statement is made:

"PCB and package delay skew for SD_DAT[0:3] and SD_CMD relative to SD_CLK must be between 50–200 ps"

I am designing a carrier board for the Avnet UltraZed EV SOM that will have a micro SD card holder. Can someone interpret the Xilinx layout advice for me? I assume the SD_DATA and SD_CMD traces should be matched in length (ie trace plus package delay) but I cannot determine what Xilinx means in reference to the SD_CLK signal. Are they saying the SD_CLK should be delayed 50-200 pS relative to the other traces or the SD_CLK should lead those traces by 50-200 pS? Something else entirely?  Hopefully someone out there has done a successful layout and figured this out. Any help is appreciated. Thanks!

  • Sign in to reply
  • Cancel
  • saadtiwana_int
    0 saadtiwana_int over 1 year ago

    I just did the layout for a micro-SD card for a Zynq SoM. They way I interpreted it was keeping them all matched to within that delay (converted to approximate length since I was doing length matching). After reading up on the internet about it, that was my conclusion. So in my case, I matched the length of ALL of those signals to be within X length of each other. I believe in Altium it's called "group length matching". 

    That said, I haven't tested it yet. The boards will arrive in about 2 weeks which is when I can test it out.

    Please do share what you end up doing in the end!

    Regards,
    Saad

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • tjaekel
    0 tjaekel over 1 year ago

    My interpretation:
    SDIO (SD Card) is a synchronous interface (like SPI). You should not delay the response "too much": the response (data in on master) is sampled with the same local, internal SD_CLK (all in relation to this internal clock).
    I take it as: "make sure your delay for SD_DAT[0;3] (very important for a read response) and SD_CMD (sending towards SD card: not delaying this as well for causing a 'late response";) should be in the range of 50.. 200 ps (max.)"

    I do not see a need for SD card interface to match all the trace length. Especially, do NOT delay SD_DAT and SD_CMD lines even more with extending their trace length (e.g. just to match it with a long SD_CLK trace).
    Worst case: SD_CLK is a short trace, all other are longer (and adding "propagation delay" plus "round trip delay"). To trim all these traces, e.g. extend SD_CLK length to the same length as the SD_DAT - does not make sense (it increases the "round trip delay" even more).

    Actually, it tells me just this:
    "keep (all) the traces to the SD card socket as short as possible. If required to keep 200 ps max. delay skew - it results in a maximum trace length you can have" (when signal reaches the SD card socket and is responded).

    Assume: 11.8 in/ns (in vacuum). On a PCB (dielectric constant) the trace length gets shorter (slower speed).
    So, for 200 ps max. - it will result in keeping SD card traces short (resulting in a max. trace length based on this requirement).

    BTW: if you make the traces longer - you lower the max. SD card SD_CLK speed (it will work only with slower speed, esp. to read).
    A trace length matching is not really needed (for my feeling), as long as you do not delay the SD_DAT and SD_CMD lane "too much" (and even not SD_CLK)).

    Just to bear in mind as well: do you want to run SD card in SDR mode or in DDR mode?
    DDR mode is more challenging (just half a clock cycle now, tricky "setup time"): DDR mode is more sensitive to delay skew and potentially this requirement comes from running DDR mode with fastest nominal speed supported by the FPGA.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • mad_dog
    0 mad_dog over 1 year ago in reply to saadtiwana_int

    Hi Saad...The Altium files for the Avnet carrier board are available online so I looked at their layout. The DATA and CMD tracks are carefully matched at very near 3 inches in length. The CLK track has a total length very near 3.5 inches. This would mean the clock is delayed by about 85pS, putting it in line with "50-200pS range Xilinx specified. So my interpretation is leaning towards meaning the CLK should be skewed (delayed) 50-200pS with respect to the data and command signals. Best...MD

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube