Introduction


The AXI USB device IP is an USB device controller IP. It has no support for OTG mode. This IP can be instantiated on FPGA or Zynq or ZynqMP PL. This page describes the usage of AXI USB device IP standalone driver.

How to Enable

Source Path for the driver:

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

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

usb
|
-- 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

Controller Features Supported

  • USB 2.0 HS and FS Device controller.
  • USB 1.1 legacy FS/LS.
  • Local DMA Engine.

Features Driver support

  • Support device mode only

Known Issues and Limitations:

  • Host mode is not supported
  • OTG mode is not supported

Test Cases

Mass storage profile can be tested by compiling files found in the below link
https://gitenterprise.xilinx.com/embeddedsw/embeddedsw/blob/master/XilinxProcessorIPLib/drivers/usb/examples/

USB 2.0 Peripheral Mode

The below gives the testing procedure of AXI 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.
    You will get pop-up window on Window machine for formatting the size 256MB.
    After format completes, you can copy file to usb device.

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

Changelog

2017.3

  • None