Introduction

This page gives overview of Zynq usbps driver which available as part of the Xilinx Vivado and SDK distribution

How to enable

Source path for the driver:

https://gitenterprise.xilinx.com/embeddedsw/embeddedsw/tree/master/XilinxProcessorIPLib/drivers/usbps/


Driver source code is organized into different folders. Below diagram shows the usbpsu driver source organization

usbps
|
-- Doc - Provides the API and data structure details
|
- Examples - Reference application to show how to use the driver APIs and calling sequence
|
- Source - Driver source files

Features Supported

Controller Features Supported

  • USB 2.0 High Speed Host controller (480 Mb/s).
  • USB 2.0 HS and FS Device controller.
  • USB 1.1 legacy FS/LS.
  • On-the-Go, OTG 1.3 supplement.
  • Local DMA Engine.

Features Driver support

  • Support device mode only

Known Issues and Limitations:

  • Host mode is not supported by standalone driver
  • OTG mode is not supported by standalone driver

Performance

Img1.png

Test Procedure

Mass storage profile can be tested by compiling xusbps_intr_example.c, xusbpsu_ch9.c, xusbpsu_ch9.h, xusbps_ch9_storage.c, xusbps_ch9_storage.h ,
xusbps_class_storage.h and xusbps_class_storage.c files found in the below link
https://gitenterprise.xilinx.com/embeddedsw/embeddedsw/blob/master/XilinxProcessorIPLib/drivers/usbps/examples/

USB 2.0 Peripheral Mode
The below gives the testing procedure of zynq USB standalone example which operates as a mass storage gadget
Testing procedure
  • Download and run the generated USB 2.0 example ELF
  • Connect board setup to standard host(Windows/Linux)machine USB 2.0 port.

Expected Output

  • You will get pop-up window on Window machine for formatting the size 256MBAfter format complete you can copy file to usb device

    external image image2016-6-1%2015%3A58%3A57.png?version=1&modificationDate=1464776938678&api=v2

Change Log


2017.1
Summary:
  • Added doxygen changes

2017.2
Summary:
  • None

2017.3
Summary:
  • None

2017.4
Summary:
  • None

2018.1
Summary:
  • None

2018.2
Summary:
  • None