Firmware Examples; Usbbulksourcesink With Led Blink - Cypress Semiconductor CYUSB3KIT-003 User Manual

Superspeed explorer kit
Table of Contents

Advertisement

3. Disconnect the USB cable, remove the J4 jumper, reattach the cable, and the FX3 boots with the
code from EEPROM.
3.6

Firmware Examples

Two firmware examples are provided with the SuperSpeed Explorer Kit installation in addition to
those provided with the SDK. The SDK examples are available in the Firmware folder of the FX3
SDK. To import an SDK example, refer to the steps in
above, the default location of the firmware folder is C:\Program Files (x86)\Cypress\EZ-
USB FX3 SDK\1.3\firmware. For Windows XP, the default install directory is C:\Program
Files\Cypress\EZ-USB FX3 SDK\1.3\firmware.
Note The SuperSpeed Explorer Kit development board does not support FX3 USB HS-OTG
functionality. Therefore, the OTG/host-based example firmware projects provided with the FX3 SDK
do not apply to this kit. In addition, SDK example firmware projects that are meant for FX3S and CX3
are not applicable to this development board.
3.6.1

USBBulkSourceSink with LED Blink

This is the default firmware stored in the kit's onboard EEPROM. As described in the previous
section, this firmware supports the following features:
It implements endless data sources and sinks over a pair of USB bulk endpoints.
The blue LED (LED2) blinks at connection, depending on the USB host controller capability. If the
development board is connected to a USB 3.0 port, the blue LED (LED2) blinks and if it is con-
nected to a USB 2.0 port, the blue LED (LED2) stays ON. If the development board is connected
to a USB 1.1 port, the blue LED (LED2) stays OFF.
The LED blink rate can be modified through a vendor command.
The firmware source (USBBulkSourceSinkLED) is located in the Firmware folder of the SuperSpeed
Explorer Kit installation. To study and modify this example, import this project into the EZ USB Suite
and build the firmware image (see
EZ USB Suite Workspace folder and a newly built firmware image will be available in the same path
after building the project.
In
Section 3.5.1 on page
functionality of this example. A second Windows application, streamer.exe, can be used to exercise
the data source and sink capabilities. This application is available at:
<Install Directory>\Cypress\EZ-USB FX3SDK\1.3\application\cpp\streamer\x86\Release
Note For Windows 7 and above, the default install directory is C:\Program Files (x86). For
Windows XP, the default install directory is C:\Program Files.
Before running streamer.exe, make sure the Cypress FX3 USB StreamerExample Device is loaded
into FX3, as detailed in
As
Figure 3-11
down list available in the Streamer application.
Packets per Xfer: A transfer is a collection of packets for one data set. A greater number of pack-
ets for each transfer reduces the USB overhead and achieves higher data throughput.
Xfers to Queue: This setting initiates multiple transfers and adds them to a task queue, which
reduces the latency between successive transfers on the host application side. Therefore, queu-
ing more transfers results in a higher data rate.
CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A
Section 2.6 on page
23, the Cypress USB Control Center was used to exercise the LED
Section 3.5.1 on page
shows, select 256 as Packets per Xfer and 64 as Xfers to Queue from the drop-
Section 2.6.2 on page
15). The firmware will be copied to the
23.
Kit Operation
16. For Windows 7 and
29

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CYUSB3KIT-003 and is the answer not in the manual?

Questions and answers

Table of Contents