EasyManua.ls Logo

Cypress EX-USB FX3 - Cyfxisolpmaninout - ISO Loopback Using MANUAL_IN and MANUAL_OUT; Channels80; Cyfxisosrcsink - ISO Source Sink; Cyfxflashprog - Boot Flash Programmer

Cypress EX-USB FX3
192 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...
80 FX3 Programmers Manual, Doc. # 001-64707 Rev. *C
FX3 Application Examples
7.2.5 cyfxisolpmaninout – ISO loopback using MANUAL_IN and MANUAL_OUT
Channels
This example demonstrates the loopback of data through ISO endpoints. This example is similar to
the cyfxbulklpmaninout except for the fact that the endpoints used here are isochronous instead of
bulk. The data received on EP3 OUT is looped back to EP3 IN.
7.2.6 cyfxisosrcsink – ISO Source Sink
The example demonstrates the use of FX3 as a data source and a data sink using ISO endpoints. All
data received on EP3 OUT are discarded and EP3 IN always sends out pre filled buffers. This
example is similar to the cyfxbulksrcsink except for the fact that the endpoints used here are
isochronous instead of bulk.
7.2.7 cyfxflashprog – Boot Flash Programmer
This example demonstrates the use of FX3 to program the I
2
C and SPI boot sources for FX3. FX3
can boot from I
2
C EEPROMs and SPI Flash and this utility can be used to write the firmware image
to these.
7.2.8 cyfxusbdebug – USB Debug Logging
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.
7.2.9 cyfxbulklpauto_cpp – Bulkloop Back Example using C++
This example demonstrates the use of C++ with FX3 APIs. The example implements a bulkloop
back example with DMA AUTO channel.
7.2.10 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.
7.2.11 cyfxusbotg – FX3 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.
7.2.12 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).
7.3 Serial Interface Examples
The serial interfaces on FX3 device include I2C, I2S, SPI, UART and GPIO. The following examples
demonstrate the use of these peripherals.

Table of Contents