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 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
Path to Programmable
  • Challenges & Projects
  • Design Challenges
  • Path to Programmable
  • More
  • Cancel
Path to Programmable
Blog Lab 3 - Processing System Configuration and MIO Peripherals
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: mconners
  • Date Created: 21 Oct 2018 2:40 PM Date Created
  • Views 487 views
  • Likes 5 likes
  • Comments 2 comments
  • xilinx sdk
  • zynq-7000
  • xilinx;
Related
Recommended

Lab 3 - Processing System Configuration and MIO Peripherals

mconners
mconners
21 Oct 2018

Overview :

 

This lab is similar to the previous lab, we configured some additional peripherals, export to the SDK, and exercise the newly created peripherals.

 

 

image

 

Notice in the above diagram, there are checks next to UART 1, GPIO, SD 1, USB 0,  and QUAD SPI. One of the important lessons they wanted us to learn in this lab was why the order in which you map peripherals matters.

The devices are listed in priority in the green boxes above, with the memory devices having the highest priority,  followed by ENET, USB,... SPI. Another important thing is the flexibility, so while the ENET devices have a higher priority

than the USB devices, you should map the USB first because it cannot be operated via EMIO (Extended MIO). After configuring the USB, we then configured the remaining peripherals and clocks.

 

Once that was complete, we exported to the SDK and launched the application. As I mentioned before, the SDK is a modified version of eclipse. This is where you write the C language code to access the peripherals you have enabled.

 

In order to do that, you have to generate a BSP, or a Board Support Package, this is as easy as selecting File -> New -> Board Support Package, this will create the BSP and bring in the libraries that you need to access the peripherals.

 

There are templates for a few things, like the Hello World we did in the last lab, but this time they introduced us to a couple of new templates.

 

image

 

This time they had us select the Memory Tests template, as well as the Peripheral Tests template. The outputs follow:

 

image

 

image

 

Those are the outputs of the unmodified templates. Just some quick diagnostics. The source for those is available in the project folders that are created, so if you're curious you can see how they access the devices.

 

Now I realize these are not the most exciting blogs. These first few labs are mostly board and tool familiarization. Honestly, they have not been too difficult, the biggest challenge

for me is to pace my self and not zoom right through them, that's because I realize I need to write about them afterwards image. Writing about them is helpful, because it makes me go back

and investigate certain processes and statements that I make, so it helps cement the lessons and reminds me of the procedures.

 

I did go off the reservation and explored the linux installation that is included in the board, but that's for another blog post.

  • Sign in to reply

Top Comments

  • DAB
    DAB over 6 years ago +3
    Very interesting post. DAB
  • genebren
    genebren over 6 years ago +2
    Pretty cool tool set. I like that you have a great deal of flexibility in assigning peripherals, but you need to be aware of priority/conflicts. Gene
Parents
  • genebren
    genebren over 6 years ago

    Pretty cool tool set.  I like that you have a great deal of flexibility in assigning peripherals, but you need to be aware of priority/conflicts.

     

    Gene 

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • genebren
    genebren over 6 years ago

    Pretty cool tool set.  I like that you have a great deal of flexibility in assigning peripherals, but you need to be aware of priority/conflicts.

     

    Gene 

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
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