Cypress EZ-USB® FX3™ SDK Quick Start Guide, Version 1.3.1 19
4.7.4 I2S example
cyfxusbi2sdmamode: This example demonstrates the use of I2S APIs. The
example sends the data received on EP1 OUT to the left channel and EP2 OUT to
the right channel.
4.7.5 GPIO examples
This is a simple GPIO application example illustrating the usage of GPIO
operations with the help of an Input and an Output GPIO.
4. cyfxgpioapp: This example implements simple Set operation on the Output
GPIO and Get operation on the Input GPIO. It also implements GPIO interrupt
for the Input GPIO.
5. cyfxgpiocomplexapp: This example implements the following features:
a) A PWM output.
b) Input line which measures low time of the input signal.
c) A counter which increments on the negative edge of input signal.
4.8 USB Bulk/Isochronous data source sink examples
These examples illustrate data source and data sink mechanism with two USB
Bulk/Isochronous Endpoints. The example comprises of Vendor Class USB
enumeration descriptors with 2 Bulk/Isochrounous Endpoints. The examples are
implemented to work for USB 2.0 and USB 3.0 speeds.
1. cyfxbulksrcsink: This example makes use of the DMA MANUAL IN channel for
sinking the data received from the Bulk OUT endpoint and DMA MANUAL OUT
Channel for the sourcing the data to the Bulk IN endpoint.
2. cyfxisosrcsink: This example makes use of the DMA MANUAL IN channel for
sinking the data received from the Isochronous OUT endpoint and DMA
MANUAL OUT Channel for the sourcing the data to the Isochronous IN
endpoint.
3. cyfxisosrc: This example makes use of a DMA MANUAL OUT channel to
implement a single Isochronous IN endpoint. Multiple bandwidth settings and
vendor specific control transfers are also supported in this example.
4. cyfxgpiftousb: This example makes use of a DMA AUTO channel to
continuously stream data to a BULK IN endpoint. The data is sourced by
continuously latching data from the GPIF II data bus. As no control signals are
used, there is no need for any actual device connectivity on the GPIF II
interface when using this example. This helps identify the maximum USB
throughput through the FX3 device, when there are no firmware bottlenecks
involved.
4.9 USB Bulk Streams example
This example illustrates data source and data sink mechanism with two USB Bulk
Endpoints using the Bulk Streams. A set of Bulk Streams are defined for each of the