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 Microzed PMOD's inaccessible
  • 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 1 reply
  • Subscribers 325 subscribers
  • Views 216 views
  • Users 0 members are here
  • vivado
  • pynq
  • vitis
  • microzed 7020
Related

Microzed PMOD's inaccessible

TomerSh
TomerSh 6 months ago

Hello!
I am having some problems accessing MIO_13, MIO_12, MIO_11, MIO_10, which correspond to Pmod's D0-D3.
My system is built from a customized PCB with two DACs that is connected via J1-J2 to the Microzed board. I'm working with Vivado and Vitis v2022.1.
My Vivado design is a very simple zynq processor with the GPIO and some other peripherals enabled,  I double-checked that the specific MIOs are GPIO:
in VIvado:

image

in Vitis:

image

I am using xspio_polled_example.c gpio example file (with some changes) in order to operate the LED in my board, and all PMODs. Upon running the program, MIO_0,9,14,15 as well as the LED on the board are responding, but the problematic MIOs are not.
I am connected via the PMOD interface:
image

some additional info:
I am working with Vitis because I encountered the same problem in Pynq and in the official linux image provided by microzed in their website, and wanted to be sure that my PS is configured right.

If anyone has an idea what could cause the problem, please share this information.

Thank you in advence, Tomer

  • Sign in to reply
  • Cancel
  • PurplePig
    0 PurplePig 6 months ago

    I ran into a similar issue with a Zedboard recently. The bsp Vitis generated did not set the GPIO OEN bits for the MIO which seems to be left out of examples I have seen. To compound the issue the memory view does not accurately reflect the state of the GPIO registers.

    see  Je1 GPIO - Cant seem to access upper pins 

    File: d:\Vitis\TryAgain\GpioTest\src\helloworld.c

    I used this for each of the pins and it worked 


    121: XGpioPs_SetDirectionPin( &my_Gpio, iPortPins[ii], 1);
    122: XGpioPs_SetOutputEnablePin( &my_Gpio, iPortPins[ii], 1);   // missing from examples I have seen - 
    123: XGpioPs_WritePin( &my_Gpio, iPortPins[ii], 1);

    • 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