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.
Содержание EX-USB FX3
Страница 8: ...8 FX3 Programmers Manual Doc 001 64707 Rev C Contents...
Страница 12: ...12 FX3 Programmers Manual Doc 001 64707 Rev C Introduction...
Страница 48: ...48 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Overview...
Страница 74: ...74 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Firmware...
Страница 76: ...76 FX3 Programmers Manual Doc 001 64707 Rev C FX3 APIs...
Страница 84: ...84 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Application Examples...
Страница 98: ...98 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Application Structure...
Страница 148: ...148 FX3 Programmers Manual Doc 001 64707 Rev C FX3 P Port Register Access...
Страница 153: ...FX3 Programmers Manual Doc 001 64707 Rev C 153 FX3 Development Tools 2 Select General Existing projects into Workspace...
Страница 165: ...FX3 Programmers Manual Doc 001 64707 Rev C 165 FX3 Development Tools Click next...
Страница 178: ...178 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Development Tools Click on Apply...
Страница 180: ...180 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Development Tools d Start the GDB server...
Страница 185: ...FX3 Programmers Manual Doc 001 64707 Rev C 185 FX3 Development Tools...
Страница 186: ...186 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Development Tools...
Страница 187: ...FX3 Programmers Manual Doc 001 64707 Rev C 187 FX3 Development Tools...
Страница 188: ...188 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Development Tools...
Страница 192: ...192 FX3 Programmers Manual Doc 001 64707 Rev C GPIF II Designer...