Cypress EZ-USB® FX3™ SDK Quick Start Guide, Version 1.3.1 21
4.15 USB host and OTG examples
These examples demonstrate the host mode and OTG mode operation of the FX3
USB port.
1. cyfxusbhost: Mouse and MSC driver for FX3 USB Host. This example
demonstrates the use of FX3 as a USB 2.0 single port host. The example
supports simple HID mouse class and simple MSC class devices.
2. cyfxusbotg: FX 3 as an OTG Device. This example demonstrates the use of
FX3 as an OTG device which when connected to a USB host is capable of
doing a bulkloop back using DMA AUTO channel. When connected to a USB
mouse, it can detect and use the mouse to track the three button states, X, Y,
and scroll changes.
3. cyfxbulklpotg: FX3 Connected to FX3 as OTG Device. This example
demonstrates the full OTG capability of the FX3 device. When connected to a
USB PC host, it acts a bulkloop device. When connected to another FX3 in
device mode running the same the firmware, both can demonstrate session
request protocol (SRP) and host negotiation protocol (HNP).
4.16 CX3 Examples
These examples demonstrate the implementation of various USB video streaming
modes using the CX3 device and MIPI CSI-2 compliant image sensor.
1. cycx3_rgb16_as0260: This example implements a Bulk-only RGB-565 video
streaming example over the UVC protocol which illustrates the usage of the
CX3 APIs using an Aptina AS0260 sensor. It streams uncompressed 16-Bit
RGB-565 video from the image sensor over the CX3 to the host PC.
2. cycx3_rgb24_as0260: This example implements a Bulk-only RGB-888 video
streaming example over the UVC protocol which illustrates the usage of the
CX3 APIs using an Aptina AS0260 sensor. It streams uncompressed 16-Bit
RGB-565 video from the image sensor to the MIPI interface on the CX3, which
up-converts the stream to 24-Bit RGB-888 and transmits to the host PC over
USB.
3. cycx3_uvc_as0260: This example implements a Bulk-only UVC 1.1 compliant
example which illustrates the use of the CX3 APIs using an Aptina AS0260
sensor. This example streams Uncompressed 16-Bit YUV video at data rates of
from the image sensor over the CX3 to the host PC.
4. cycx3_uvc_ov5640: This example implements a Bulk-only UVC 1.1 example,
which illustrates the use of the CX3 APIs using an Omnivision OV5640 sensor.
This example streams Uncompressed 16-Bit YUV video from the image sensor
over the CX3 to the host PC.