EasyManua.ls Logo

Cypress EZ-USB FX3 SDK - USB Isochronous data loopback examples; USB debug example; FX3 S Storage Examples

Cypress EZ-USB FX3 SDK
56 pages
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 16
out. The data received from EP1 OUT is looped back to EP1 IN after removing
the header and footer. The removal of header and footer does not require the
copy of data.
11. cyfxbulklplowlevel: The DMA channel is a helpful construct that allows for
simple data transfer. The low level DMA descriptor and DMA socket APIs allow
for finer constructs. This example uses these APIs to implement a simple
bulkloop back example where a buffer of data received from EP1 OUT is looped
back to EP1 IN.
12. cyfxbulklpmandcache: FX3 device has the data cache disabled by default. The
data cache is useful when there is large amount of data modifications done by
the CPU. But enabling D-cache adds additional constraints for managing the
data cache. This example demonstrates how DMA transfers can be done with
the data cache enabled.
All the above examples are implemented to work at USB 2.0 and USB 3.0 speeds.
4.2 USB Isochronous data loopback examples
These examples illustrate a loopback mechanism between two USB Isochronous
Endpoints. The example comprises of Vendor Class USB enumeration descriptors
with 2 Isochronous Endpoints.
Following are the different types of Isochronous data loopbacks provided. These
examples are provided as Eclipse projects.
1. cyfxisolpauto: This example makes use of the DMA AUTO Channel for the
loopback between the endpoints.
2. cyfxisolpmaninout: This example makes use of the DMA MANUAL IN + DMA
MANUAL OUT Channel for the loopback between the endpoints.
The above examples are implemented to work at USB 2.0 and USB 3.0 speeds.
4.3 USB debug example
cyfxusbdebug: This example demonstrates the use of USB interrupt endpoint to log
the debug data from the FX3 device. The default debug logging in all other
examples are done through the UART. This example shows how any consumer
socket can be used to log FX3 debug data.
4.4 FX3S Storage Examples
1. FX3SMassStorage: Implementation of a USB mass storage class device using
the FX3S APIs backed with SD/eMMC storage devices. This example
demonstrates the high data rates that are achievable on the USB -> Storage
data path through the FX3S device.
2. GpifToStorage: Example that shows how to access SD/eMMC storage devices
from an external processor that connects to the FX3S device through the GPIF
port.