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
MicroZed Hardware Design user push button
  • 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 341 subscribers
  • Views 437 views
  • Users 0 members are here
Related

user push button

Former Member
Former Member over 11 years ago

Hi,

So I just would like to know with the SW1 which is a USER GPIO button. In the documentation it says it is connected to B9 and when checking UG865, this pin is connected to the PS. Is their a way of simply using it to trigger something in the PL? Or is there another way of triggering something in the PL with the microZed?

Ludwig

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

    You are correct, SW1 is connected to the PS portion of the Zynq device and there is no way for it to directly control or trigger logic it the PL section. You could use the switch indirectly by having one of the ARM processors read the state of SW1, and set a GPIO output routed via the EMIO to the PL section accordingly, to control PL logic.

     

    Or you could connect to the PL section via one of the two MicroHeaders on the MicroZed. The IO Carrier board has four push button switches and four dip switch inputs available.

     

    http://www.zedboard.org/product/io-carrier-card

     

    -Gary

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

    Hi Gary

    I'm working with MicroZed too. I'm interested in your following option:

    "You could use the switch indirectly by having one of the ARM processors read the state of SW1, and set a GPIO output routed via the EMIO to the PL section accordingly, to control PL logic."

    How could I do it with Vivado 2013.4 ?

    I added an AXI_GPIO_0 bloc but Vivado doesn't propose to me any "run connexion automation" solution.

    Thanks

    Guillaume

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

    You probably need to 'customize' the Zynq processing block to enable the GM Master AXI GP0 Interface. Then adding the axi_gpio block should give you a 'run connection automation' option.

     

    image

     

    If you are going to connect anything to the MicroZed Programmable Logic (PL) you are going to need to connect the MicroZed MicroHeaders, probably with one of the MicroZed Carrier Cards. The MicroZed IOCC carrier card has both user switches and push buttons as well as user LEDs on board that you could connect directly to GPIO.  http://zedboard.org/product/microzed-io-carrier-card

     

    The MicroZed FMC carrier card has user push buttons and LEDs you could connect to as well: http://zedboard.org/product/microzed-io-carrier-card

     

    If you do want to use the switch connected to the PS GPIO you can take a look at section 3 of the Zynq Concept Tools and Techniques for the Zedboard for an example of how to do that: http://zedboard.org/design/1521/11

     

    -Gary

    • 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