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
Path II Programmable
  • Challenges & Projects
  • Design Challenges
  • Path II Programmable
  • More
  • Cancel
Path II Programmable
Blog Path II Programmable Blog 7 - Completing Zynq UltraScale+ MPSoC Software with Xilinx SDK
  • 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: avnrdf
  • Date Created: 3 Nov 2019 6:52 AM Date Created
  • Views 937 views
  • Likes 4 likes
  • Comments 2 comments
  • ultra96-v2
  • path ii programmable
  • xilinx sdk
Related
Recommended

Path II Programmable Blog 7 - Completing Zynq UltraScale+ MPSoC Software with Xilinx SDK

avnrdf
avnrdf
3 Nov 2019

This blog post completes the Zynq MPSoC software training, most of which has been covered in Path II Programmable Blog 5 - Starting with Zynq UltraScale+ MPSoC Software with Xilinx SDK  and Path II Programmable Blog 6 - More Zynq UltraScale+ MPSoC Software with Xilinx SDK

 

SW Chapter 9 video: Interrupts

 

  • An introduction to hardware & software interrupts.
  • A look at the interrupt interface on Zynq MPSoc - multiple sources and multiple endpoints. The GICs are configurable and support multiple options.
  • A recap of how interrupt service routines handle interrupts.
  • ISR tips & tricks - keep things short, disable other interrupts when servicing certain IRQs etc.

 

imageimage

image

SW Lab 9 - Interrupts

 

  • Executed 2 applications which were the same as the applications we used in the HW lab to control the PWM IP - they accept a number over the UART and program the compare register of the PWM IP. The first application didn't use the interrupt capability, but the second application added that - which involved configuring the Zynq GIC to pass the interrupt signal from the PL to the PS.

 

 

SW Chapter 10 video: Xilinx Libraries

 

  • Xilinx libraries can be enabled (and imported) into a BSP. Each library may have some settings, which can also be configured using the wizard.
  • Different Xilinx System Access Libraries: FAT file system, TCP/IP stack, security algorithms, serial flash library
  • Xilinx includes example code with their libarries

image

 

SW Lab 10 - Xilinx Libraries

 

  • Created a new application & BSP. The xilffs (Xilinx Fat File System) library was imported during BSP generation.
  • Imported the provided C source file for an application that writes values from the System Monitor to a CSV file on the SD card, and explored the xilffs APIs that it uses
  • I didn't want to overwrite my SD card which had already been flashed with an image, so I didn't execute the application. It's pretty simple - it initializes the System Monitor, reads the temperature using the driver API and stores it in an array. It then creates a file on the SD card and prints a formatted string in a buffer to the card.

 

image

 

SW Chapter 11 video: Interfacing with Sensors

 

  • Connecting to a MikroElectronika 'click' sensor board via the mezzanine card which is connected to low speed connector.
  • There is a large ecosystem of 'click' boards.
  • Will use the PS SPI to talk to the click board. Will use the Xilinx SPI library (driver).

imageimage

imageimage

image

SW Lab 11 - Click Mezzanine Standalone Environment

 

I did not have a LSM6DSL sensor with me, so I did not complete this lab. However, it did not involve anything too complex:

 

  • Had a look at the Xilinx SPI driver APIs.
  • A short part on how the SPI clock prescaler needs to be calculated - the root clock is much more flexible than on a MCU. While a MCU might have a couple of possible values, the larger number (and range) of possible PLL settings on Zynq mean that users need to be a little more careful.

 

SW Chapter 12 video: Next Steps

 

  • A recap of what we covered in the software training.
  • Another recap of the Xilinx ecosystem: IP, reference designs, design kits.
  • Where to get help & support, and find documentation.

image

 

That completes the software course!

  • Sign in to reply
  • avnrdf
    avnrdf over 6 years ago in reply to aspork42

    Some of it - will be posting those blogs when I get the time.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • aspork42
    aspork42 over 6 years ago

    Nice write up. Have you gotten through the Petalinux stuff yet?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • 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