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
MicroZed Hardware Design use of axi_gpio: basic questions
  • 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 2 replies
  • Subscribers 325 subscribers
  • Views 257 views
  • Users 0 members are here
Related

use of axi_gpio: basic questions

Former Member
Former Member over 11 years ago

I have a Microzed board with Zynq 7010 and an I/O Carrier Board. I am a beginner and I am trying to create my first project, simply mapping the dip switches (4), push-buttons (4) and LEDs (8) into GPIOs. So I added a processing system. Then I thought about adding 3 AXI_GPIO. First would be of width 4, input only, for the DIP Switches. Second would be of width 4, input only, for the Push Buttons and third would be of width 8, output only, for LEDs.
First question: Do I need to add 3 AXI_Interconnect modules, one for each AXI_GPIO module? That approach seems to be brute force, so next I thought about using only one AXI_GPIO, configured with dual channel, first channel width 8 input only (4 for DIP Switches and 4 for Push Buttons) and second channel width 8 output only (LEDS). Then I think I would need to use only one AXI_Interconnect module, as I have only 1 AXI_GPIO. But previous question stand as: Do I need one AXI_Interconnect for every AXI_GPIO module? Next, in the simple approach using 1 AXI_GPIO, when creating PORT, I could create a LED[7:0] and connect it to second channel. I created a DIP[3:0] and a PB[3:0] and I could not figure out how to connect DIP[3:0] into gpio_io_i[3:0] and PB[3:0] into gpio_io_i[7:4] in the diagram. Any insight on how do I achieve that? Sorry for the simple questions, but as I stated before, I am trying to build my very first project...
Thanks for any input!

  • Sign in to reply
  • Cancel
  • Former Member
    0 Former Member over 11 years ago

    I think what you is add a single AXI_Interconnect module with 1 slave interface (to connect to a Zynq PS master axi interface) and 3 master interfaces, one for each of the AXI_GPIO modules you want to implement. Here is a sceen shot from the Zynq Concepts, Tools and Techniques tutorial for the Zedboard.

    image

     

    You might want to work through some of the tutorials on the website for the MicroZed board and Zedboard:

     

    http://www.microzed.org/support/design/1519/10

    http://www.microzed.org/support/design/1521/11

     

    Or even better would be to work through the Avnet Speedway Design seminar material for Zynq Software and Zynq Hardware available for download here: http://www.microzed.org/support/trainings-and-videos

     

    -Gary

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

    Thanks, Gary! Extremely useful! That is the kind of support I needed. With this initial input and the tutorials I trust I will be able to read from and write into GPIOs.

    • 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