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
      •  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 & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
PicoZed Hardware Design Cannot get output on MIO pin on Picozed 7030 board
  • 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 Verified Answer
  • Replies 4 replies
  • Subscribers 339 subscribers
  • Views 882 views
  • Users 0 members are here
Related

Cannot get output on MIO pin on Picozed 7030 board

mubashirazaman
mubashirazaman over 8 years ago

I found out from the PicoZed 7015_7030_User's Guide that the 1st and 2nd pins of JX2 are basically MIO 10 and 13 respectively.

Now the zynq_gpio basically starts from gpiochip906 that is the 0th pin of gpio is at position 906, and as i want to access the 10th pin that is JX2.1, so I used the following commands in the linux terminal.

root@picotry2:/sys/class/gpio# echo 916 > export
root@picotry2:/sys/class/gpio# echo out > gpio916/direction
root@picotry2:/sys/class/gpio# cat gpio916/direction
out
root@picotry2:/sys/class/gpio# echo 1 > gpio916/value
 
The logic behind me using 916 is that if the 0th pin is at 906 so the tenth pin of MIO will be at 916. But the problem is that when i check the output in the multimeter, JX2.1 is not showing significant voltage, it just shows 0.04 V.
 
I have also attached two extra gpio modules in the block design. The first one starts from gpiochip 897 and the second one starts from gpiochip 902.
 
Can anyone please give me a suggestion as to what mistake i am making?
  • Sign in to reply
  • Cancel
  • zedhed
    0 zedhed over 8 years ago

    Hi Mubashira Zaman,

    If you take a look at the PicoZed 7030 Schematic, you will see that there is a MUX between Zynq MIO[0, 9, 10, 11, 12, 13, 14, 15] pins and the carrier card JX connectors.  By default, these MIOs are used in SDIO controller mode so that the eMMC storage device on the SOM can be reached as an SDHC device. 

    If you wish to use these MIO pins as GPIOs out to the JX connectors, you will need to first set PS MIO0 such that the appropriate MUX channel is selected to route the MIO signals to the JX connector rather than the eMMC device.  You will also need to disable the SDIO controller that is connected to the eMMC in your hardware platform settings such that the pins can be used in MIO GPIO mode.

    My suggestion is to focus on getting MIO0 to toggle first so that you can set the MUX appropriately.  Once you have reached that point, the remaining path to success should be more clear.

    Best Regards,

    -Kevin

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • mubashirazaman
    0 mubashirazaman over 8 years ago in reply to zedhed

    I am relatively new to using these boards so can you please guide me as how to disable the sdio controller in the hardware platform settings? Also how do i choose the needed MUX channel?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • drozwood90
    0 drozwood90 over 8 years ago

    Hello there,

    Have you gone through the user guide?

    The most current is located here:

    http://zedboard.org/support/documentation/4736

    Second, to change the various hardware of the Zynq at this level, I would suggest you take the time to go through our Speedways.  Using this material, you will become familiar with the basics of Zynq's Hardware and Software Platforms as well as how to manipulate the platform configuration as you are asking.

    You can locate those on our training resources page:

    http://zedboard.org/support/trainings-and-videos

     

    Start with the Software Speedway.  Once you complete that, the hardware speedway will contain the answer to your question.

    --Dan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • mubashirazaman
    0 mubashirazaman over 8 years ago in reply to zedhed

    I was researching on the thing you told me about choosing between eMMC and the MIO's and found that the jumper JT6 is used to choose between the two, but i cant find jt6 on the fmc carrier card, can you guide me as to where it is available?

    • 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