This page gives an overview of the bare-metal driver support for the Xilinx® LogiCORE™ IP AXI USB soft IP.
Table of Contents
The source code for the driver is included with the Vitis Unified Software Platform installation and being available in the Xilinx Github repository.
The driver source code is organized into different folders. The table below shows the USB driver source organization.
Provides the API and data structure details
Driver .tcl and .mdd file
Example applications that show how to use the driver features
Driver source files
For a full list of features supported by this IP,
Controller Features Supported
- USB 2.0 HS and FS Device controller.
- USB 1.1 legacy FS/LS.
- Local DMA Engine.
Driver Features Supported
Known Issues and Limitations
- Host mode is not supported
- OTG mode is not supported
Refer to the driver examples directory for various example applications that exercise the different features of the driver. Each application is linked in the table below. The following sections describe the usage and expected output of the various applications. These example applications can be imported into the Vitis IDE from the Board Support Package settings tab.
Links to Examples
|USB Mass-Storage Gadget - Poll Mode |
|This example does a basic read and writes test from the USB drive in polled mode.|
Example Application Usage
Mass-Storage: USB Polled/Interrupt mode example
Mass storage profile can be tested by compiling xusb_storage_polled_mode.c,xusb_cp9.c,xusb_cp9.h,xusb_storage.h,xusb_types.h,
USB 2.0 Peripheral Mode
The below gives the testing procedure of axi-usb device standalone example which operates as a mass storage gadget
Mass storage profile can be tested by compiling files found in the below link
Below is the testing procedure of AXI USB standalone example which operates as a mass storage gadget
- 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 a pop-up window on a Windows machine for formatting the size 256MB. After the format completes, you can copy the file to the USB device.
Example Design Architecture
AXI-USB specific design. This is the customized image of axi-usb and canfd. AXI Interconnect module connected with ULPI.
The below performance results are observed using CrystalDiskMark tool on windows