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
Software Application Development On the board microzed sd card work very slow.
  • 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 6 replies
  • Subscribers 330 subscribers
  • Views 654 views
  • Users 0 members are here
Related

On the board microzed sd card work very slow.

Former Member
Former Member over 8 years ago

Hi all! I'm set microSD card transcend (UHS-I) in microzed board with cristall zynq 7Z020. I'm used functions from diskio.c: stat = disk_read(0, rx_buf, i,32);

That is, in a cycle reads the 32 data blocks 512 MB:

while(1){

stat = disk_read(0, rx_buf, i,32);

}

The reading speed is less than 40 Mbits per second which is very slow.

Why such a low speed and how it can be raised?

  • Sign in to reply
  • Cancel
  • narrucmot
    0 narrucmot over 8 years ago

    Because not all SD cards are created equally, and many can't operate at maximum speed, we deliberately limit the SD card clock to 25MHz in the Zynq PS configuration.  This allows for maximum capability with the side varierty of SD cards that our customers may be using.  If you are confident your particular SD card will operate at a faster SD clock, you are welcome to modify the SD clock to a higher frequency.  This may take some experimentation to achieve the data rate to mee your requirements.

    --Tom

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • bhfletcher
    0 bhfletcher over 8 years ago

    Have you looked at this article?

    http://zedboard.org/content/sd-card-advice-zynq-7000-soc-products-0

     

    Also, what Vivado version? We've heard of a known issue in 2016.2 that affects SD Card speed. If you are using 2016.2, then you should open a support case with Xilinx or use their forums to request more information.

     

    Bryan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 8 years ago

    Thank you narrucmot, fletch.

    I'm works in vivado 2016.1.

    If in this function: stat = disk_read(0, rx_buf, i,32);  read not for 32 units, but, for example, 1000 units, then the read speed increases to ~ 20Mbytes per second.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 8 years ago

    It also should be noted that the microzed board uses a translater to communicate with the card at 3.3V. The UHS-I specification requires the card to switch to 1.8V to achieve anything faster than Default Speed (25Mhz) and High Speed (50Mhz)so your effective throughput would be limited to 25Mbytes.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • bhfletcher
    0 bhfletcher over 8 years ago

    The Zynq SDIO controller max clock rate is 50 MHz, so higher than that is not an option even if 1.8V was supported.

    Bryan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • kilrill
    0 kilrill over 8 years ago

    So if the card is fast enough, no, it won't slow the phone down, since the only time the phone looks at the card is during the initial media scan and any time you access a data file from the card.

    • 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