EasyManua.ls Logo

Cypress EZ-USB FX3 SDK - USB enumeration example; Flash Programmer example; Mass Storage Class example; USB Audio Class Example

Cypress EZ-USB FX3 SDK
56 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Cypress EZ-USB® FX3™ SDK Quick Start Guide, Version 1.3.1 20
endpoints (OUT and IN). Data source and data sink happen through these streams.
Streams are applicable to USB 3.0 speeds only. The example works similar to Bulk
source sink example (cyfxbulksrcsink) when connected to USB 2.0.
1. cyfxbulkstreams: This example makes use of the DMA MANUAL IN channel for
sinking the data received from the streams of the Bulk OUT endpoint and DMA
MANUAL OUT Channel for the sourcing the data to the streams of the Bulk IN
endpoint.
4.10 USB enumeration example
The enumeration example is an implementation of a USB bulk loop with normal
mode enumeration in FX3.
1. cyfxbulklpautoenum: The example illustrates the normal mode enumeration
mechanism provided for FX3 where all setup requests are handled by the
application. The example implements a simple bulk loop.
4.11 Flash Programmer example
This example (cyfxflashprog) illustrates the programming of I2C EEPROMS and
SPI flash devices from USB. The read / write operations are done using pre-
defined vendor commands. The utility can be used to flash the boot images to
these devices.
4.12 Mass Storage Class example
This example (cyfxmscdemo) illustrates the implementation of a USB mass storage
class (Bulk Only Transport) device using a small section of the FX3 device RAM as
the storage device. The example shows how mass storage commands can be
parsed and handled in the FX3 firmware.
4.13 USB Audio Class Example
This example creates a USB Audio Class compliant microphone device, which
streams PCM audio data stored on the SPI flash memory to the USB host. Since
the audio class does not require high bandwidth, this example works only at USB
2.0 speeds.
4.14 Two Stage Booter Example
A simple set of APIs have been provided as a separate library to implement two
stage booting. This example demonstrates the use of these APIs. Configuration
files that can be used for Real View Tool chain are also provided.