element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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 & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
ZedBoard Hardware Design AXI GPIO too 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 3 replies
  • Subscribers 340 subscribers
  • Views 680 views
  • Users 0 members are here
Related

AXI GPIO too slow

Former Member
Former Member over 9 years ago

Hi all,

 

I have a question regarding the AXI GPIO. Right now I have simple Block-Design with a ZYNQ and an AXI GPIO. The AXI GPIO is connected to one of the PMods and I am just toggling the Pins.

 

So far so good. Now the toggle frequency seems quite low. I set the FCLK_CLK0 to 50, 100 and 250 MHz and the frequency at which I am able to toggle the pmod pins is 1.1 MHz, 2.2 MHz and 3.8 MHz. Is it possible to get higher frequencies using the AXI GPIO? Did i forget something? For my project I need about 10 MHz.

 

I am using the ZedBoard Rev C1. Hope you guys can help me.

 

Thanks,

Hendrik

  • Sign in to reply
  • Cancel
  • jafoste4
    0 jafoste4 over 9 years ago

    Hello Hendrix,

    What operating system are you using? Barmetal or Linux? Instead of just toggling the Pins, you should use a SPI block that has the PS tell it to do it in Fabric(Programmable Logic). This will help you avoid losing clock cycles.

    I would suggest you go through our ZYNQ Hardware Tutorials for familiarization with Zynq Hardware Designs.

    http://zedboard.com/course/developing-zynq%C2%AE-7000-all-programmable-soc-hardware-vivado-20133-201441-20152-and-20162

    Also take a look at the MicroZed chronicles that cover SPI, Issues 81-84

    http://zedboard.org/content/microzed-chronicles

    --Josh

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

    Hi Josh,

     

    Thanks for the reply.

     

    I am using PetaLinux and the build in UIO framework to access my memory-mapped device implemented in Zynq’s programmable logic fabric.

     

    My main goal is to send a command string from my PC to a custom ZYNQ board via Ethernet and set the direction and value of 64 Pins based on my command string. It works but it is too slow. Latency is really important.

     

    For testing purposes I wrote both a simple baremetal and a Linux application to toggle a few gpios and saw no difference between the two. The max frequency I achieved was 3.8 MHz, which is not enough.

     

    I went through all the Hardware Tutorials and Workshops already and I am not sure if SPI is the solution to my problem.

     

    Thanks,

    Hendrik

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jafoste4
    0 jafoste4 over 9 years ago

    Hello Hendrik,

    Have you tried using a SPI Controller? If you need assistance with setting it up you can refer to the MicroZed IIOT Kit reference design we have. It should help with your performance due to performing your task in the Fabric versus you losing clock cycles on the PS side.

    http://zedboard.com/support/design/13591/116

    --Josh

    • 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