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
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • Experts & Guidance
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • Product Groups
  • 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 Community
  • Products
  • Dev Tools
  • Avnet Boards Community
  • More
  • Cancel
Avnet Boards Community
Avnet Boards Blog Ultra96-V2 Workshop Homework: Peripherals Test
  • Avnet Boards Blog
  • Forums
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Avnet Boards Community requires membership for participation - click to join
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: bhfletcher
  • Date Created: 1 Sep 2021 9:14 AM Date Created
  • Views 277 views
  • Likes 0 likes
  • Comments 0 comments
  • ultra96-v2
  • vitis
Related
Recommended

Ultra96-V2 Workshop Homework: Peripherals Test

bhfletcher
bhfletcher
1 Sep 2021

During Ultra96-V2 Workshop: Session 3: Hello World on a Cortex-A53 and R5 Processor , one of the homework assignments was to create and run the Peripherals Test from the Example Templates. I also mentioned that you may run into an issue during the running of that test and challenged you to figure it out.

The issue is that the PS UART self-test on the Bluetooth Radio Uart didn't work. It hung. I wrote about this previously in this blog:

Ultra96 and the Mystery of the UARTs

Well, turns out that the the latest Vitis 2021.1 Peripheral Test template doesn't have the same issue, so it never hangs! Kudos to andrewj for pointing that out to me. Here are the instructions for creating and running that example based on the Hello World workspace from Workshop #3, as well as the results below.

  1. Launch Vitis 2021.1 and open the U96V2_Basic_Applications workspace.
  2. Create a New Application Project with new System Project, targeting the A53_0.
    1. File > New > Application Project
    2. Next
    3. Next
    4. Give the application a name and allow a new system project to be created, Next
    5. Next (re-using the standalone domain on psu_cortexa53_0)
  3. At the Templates screen, select Peripherals Tests, then click Finish. You will see new System and Application Projects added in the Explorer. The src folder contains drivers for every peripheral in your hardware platform.
    image
  4. Right-click on the new Application Project and select Build Project.
    image
  5. After setting up the hardware and connecting TeraTerm to the JTAG/UART Pod, right-click on the Test_Peripherals application, Run As > Launch Hardware.

Scrolling near the bottom of the results, you can see that two psu_uart_0 self-tests pass, which confirms that previous error seen no longer exists in Vitis 2021.1!

Running UartPsPolledExample() for psu_uart_0...

UartPsPolledExample PASSED

Running Interrupt Test for psu_uart_0...

UartPsIntrExample PASSED

The full text of the terminal output from the Peripherals Test is shown below.

---Entering main---

Running ScuGicSelfTestExample() for psu_acpu_gic...

ScuGicSelfTestExample PASSED

ScuGic Interrupt Setup PASSED

Running XZDma_SelfTestExample() for psu_adma_0...

XZDma_SelfTestExample PASSED

Running Interrupt Test for psu_adma_0...

ZDMA Simple Example PASSED

Running XZDma_SelfTestExample() for psu_adma_1...

XZDma_SelfTestExample PASSED

Running Interrupt Test for psu_adma_1...

ZDMA Simple Example PASSED

Running XZDma_SelfTestExample() for psu_adma_2...

XZDma_SelfTestExample PASSED

Running Interrupt Test for psu_adma_2...

ZDMA Simple Example PASSED

Running XZDma_SelfTestExample() for psu_adma_3...

XZDma_SelfTestExample PASSED

Running Interrupt Test for psu_adma_3...

ZDMA Simple Example PASSED

Running XZDma_SelfTestExample() for psu_adma_4...

XZDma_SelfTestExample PASSED

Running Interrupt Test for psu_adma_4...

ZDMA Simple Example PASSED

Running XZDma_SelfTestExample() for psu_adma_5...

XZDma_SelfTestExample PASSED

Running Interrupt Test for psu_adma_5...

ZDMA Simple Example PASSED

Running XZDma_SelfTestExample() for psu_adma_6...

XZDma_SelfTestExample PASSED

Running Interrupt Test for psu_adma_6...

ZDMA Simple Example PASSED

Running XZDma_SelfTestExample() for psu_adma_7...

XZDma_SelfTestExample PASSED

Running Interrupt Test for psu_adma_7...

ZDMA Simple Example PASSED

Running SysMonPsuPolledPrintfExample() for psu_ams...

Entering the SysMon Polled Example.

The Current Temperature is 29.293 Centigrades.

The Maximum Temperature is 29.293 Centigrades.

The Minimum Temperature is 28.492 Centigrades.

The Current Supply 1 is 0.841 Volts.

The Maximum Supply 1 is 0.842 Volts.

The Minimum Supply 1 is 0.840 Volts.

The Current Supply 3 is 1.800 Volts.

The Maximum Supply 3 is 1.802 Volts.

The Minimum Supply 3 is 1.798 Volts.

Exiting the SysMon Polled Example.

SysMonPsuPolledPrintfExample PASSED

Running SysMonPsuIntrExample() for psu_ams...

Entering the SysMonPsu Interrupt Example.

The Current Temperature is 28.958 Centigrade.

The Current Supply 1 is 0.841 Volts.

The Current Supply 3 is 1.800 Volts.

Temperature Alarm(0) HIGH Threshold is 18.956 Centigrade.

Temperature Alarm(0) LOW Threshold is 8.954 Centigrade.

Supply 1 Alarm(1) HIGH Threshold is 0.641 Volts.

Supply 1 Alarm(1) LOW Threshold is 1.041 Volts.

Supply 3 Alarm(3) HIGH Threshold is 1.600 Volts.

Supply 3 Alarm(3) LOW Threshold is 2.000 Volts.

Alarm 0 - Temperature alarm has occurred

The Current Temperature is 28.826 Centigrade.

The Maximum Temperature is 29.417 Centigrade.

The Minimum Temperature is 28.414 Centigrade.

The Current Supply 1 is 0.840 Volts.

The Maximum Supply 1 is 0.842 Volts.

The Minimum Supply 1 is 0.840 Volts.

The Current Supply 3 is 1.800 Volts.

The Maximum Supply 3 is 1.802 Volts.

The Minimum Supply 3 is 1.798 Volts.

Exiting the SysMon Interrupt Example.

SysMonPsu IntrExample PASSED

Running XCsuDma_SelfTestExample() for psu_csudma...

XCsuDma_SelfTestExample PASSED

Running Interrupt Test for psu_csudma...

CSUDMA Interrupt Example PASSED

Running XZDma_SelfTestExample() for psu_gdma_0...

XZDma_SelfTestExample PASSED

Running Interrupt Test for psu_gdma_0...

ZDMA Simple Example PASSED

Running XZDma_SelfTestExample() for psu_gdma_1...

XZDma_SelfTestExample PASSED

Running Interrupt Test for psu_gdma_1...

ZDMA Simple Example PASSED

Running XZDma_SelfTestExample() for psu_gdma_2...

XZDma_SelfTestExample PASSED

Running Interrupt Test for psu_gdma_2...

ZDMA Simple Example PASSED

Running XZDma_SelfTestExample() for psu_gdma_3...

XZDma_SelfTestExample PASSED

Running Interrupt Test for psu_gdma_3...

ZDMA Simple Example PASSED

Running XZDma_SelfTestExample() for psu_gdma_4...

XZDma_SelfTestExample PASSED

Running Interrupt Test for psu_gdma_4...

ZDMA Simple Example PASSED

Running XZDma_SelfTestExample() for psu_gdma_5...

XZDma_SelfTestExample PASSED

Running Interrupt Test for psu_gdma_5...

ZDMA Simple Example PASSED

Running XZDma_SelfTestExample() for psu_gdma_6...

XZDma_SelfTestExample PASSED

Running Interrupt Test for psu_gdma_6...

ZDMA Simple Example PASSED

Running XZDma_SelfTestExample() for psu_gdma_7...

XZDma_SelfTestExample PASSED

Running Interrupt Test for psu_gdma_7...

ZDMA Simple Example PASSED

Running IicPsSelfTestExample() for psu_i2c_1...

IicPsSelfTestExample PASSED

Running SpiPsSelfTestExample() for psu_spi_0...

SpiPsSelfTestExample PASSED

Running SpiPsSelfTestExample() for psu_spi_1...

SpiPsSelfTestExample PASSED

Running Interrupt Test for psu_ttc_0...

TtcIntrExample PASSED

Running Interrupt Test for psu_ttc_1...

TtcIntrExample PASSED

Running Interrupt Test for psu_ttc_2...

TtcIntrExample PASSED

Running Interrupt Test for psu_ttc_3...

TtcIntrExample PASSED

Running UartPsPolledExample() for psu_uart_0...

UartPsPolledExample PASSED

Running Interrupt Test for psu_uart_0...

UartPsIntrExample PASSED

Running WdtPsSelfTestExample() for psu_wdt_0...

WdtPsSelfTestExample PASSED

Running WdtPsSelfTestExample() for psu_wdt_1...

WdtPsSelfTestExample PASSED

---Exiting main---

  • Sign in to reply
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 © 2023 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