element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • More
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • More
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • More
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • More
  • 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
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
MicroZed Hardware Design EMIO pins assignment in microzed carrier board PMOD connector
  • Forums
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Avnet Boards Forums requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 2 replies
  • Subscribers 41 subscribers
  • Views 166 views
  • Users 0 members are here
Related

EMIO pins assignment in microzed carrier board PMOD connector

JavierOrtiz
JavierOrtiz over 1 year ago

Hello,

I've tried every way (see "Xilinx ZYNQ 7000+Vivado2015.2 series (four) three ways of GPIO: MIO, EMIO, AXI_GPIO"  Link: https://www.programmersought.com/article/1631784927/

to write a digital output in one of the PmodTm Compatible Expansion Headers JC: ( pin 7, JC4-5 P, JX1-53, Bank 34:-T20) in microzedboard embedded vision carrier card mapped to Zynq PL I/0.

but without success. However, I have had success writing digital outputs in the microzedboard PMOD connector (MOD_DO-MIO 11).

In Vivado assigned this pin as GPIO (version 1) or AXI_GPIO (version 2) connected to EMIO.

I have no clear which pin number should be assigned in application.c Vitis application file.

For MIO pins the same number is right but for EMIO pins I'm not sure if the right number is 53 (for thr above cited pin) or other number.

 

Otherwise, in the Carrier Card User's guide it is said that, quote: "The Embedded Vision Carrier card contains a switch, SW1 that allows you to select between on LEDs and PUSHBUTTONS on board the carrier card or to remove these from circuit by toggling the switch. This allows the end user to access a PMODTm on board the MicroZedTm". I changed the sw1 on / off but no way.

 

Any help about this would be very thankfull.

Javier

 

 

  • Reply
  • Cancel
  • Cancel
Parents
  • bhfletcher
    0 bhfletcher over 1 year ago

    Javier,

     

    Are you using:

    1. PS GPIO routed via EMIO to PL I/O pins?
    2. A PL GPIO IP connected to PL I/O pins?

     

    You specifically mention EMIO, so I'm guessing it is #1 above. Also, is this a bare metal application?

     

    The MicroZed SOM itself has a vertical Pmod connector directly on the SOM connected to MIOs. This allows people using the MicroZed without a carrier to have a small expansion option. However, the Vision Carrier also utilizes those MIO, so you have to make a choice with SW1 as to whether you want to use the on-MicroZed Pmod or the on-Carrier LEDs/PBs. SW1 has no affect on the Carrier Pmods.

     

    Bryan

    • Cancel
    • Up 0 Down
    • Reply
    • Verify Answer
    • Cancel
  • JavierOrtiz
    0 JavierOrtiz over 1 year ago in reply to bhfletcher

    Hi Bryan,

    It is solved.

    I'm using one AXI_GPIO IP block.

    It happened that in the "Platform_Setup" tab in Vivado two red flags showed.

    First flag, about "must choose" radio button "default clock". (In this case FCLK_CLK0).

    Second, One AXI_Port must be enabled,  ("M_AXI_GP1").

    Afterwards, red flags converted to green approval and everything was OK.

    Once, this solved. I will try using the 1º mode ( PS GPIO routed via EMIO to PL I/O pins).

    Thanks.

    Javier

    • Cancel
    • Up 0 Down
    • Reply
    • Reject Answer
    • Cancel
Reply
  • JavierOrtiz
    0 JavierOrtiz over 1 year ago in reply to bhfletcher

    Hi Bryan,

    It is solved.

    I'm using one AXI_GPIO IP block.

    It happened that in the "Platform_Setup" tab in Vivado two red flags showed.

    First flag, about "must choose" radio button "default clock". (In this case FCLK_CLK0).

    Second, One AXI_Port must be enabled,  ("M_AXI_GP1").

    Afterwards, red flags converted to green approval and everything was OK.

    Once, this solved. I will try using the 1º mode ( PS GPIO routed via EMIO to PL I/O pins).

    Thanks.

    Javier

    • Cancel
    • Up 0 Down
    • Reply
    • Reject Answer
    • Cancel
Children
No Data
Element14

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 © 2022 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

  • Facebook
  • Twitter
  • linkedin
  • YouTube