Summary of Contents for Cypress Semiconductor CYUSB3KIT-003
Page 1
We have 45,000 LP502030-PCM-NTC-LD-A02554 - EEMB - Lithium Battery Rectangular 3.7V 250mAh Rechargeable in stock now. Starting at $0.034. This EEMB part is fully warrantied and traceable. 00000005981LF-000 CYUSB3KIT-003 EOS Power CYPRESS SEMICONDUCTOR Buy Now Buy Now Looking for a discount?
Page 2
CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide Doc. # 001-93186 Rev. *A Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone (USA): 800.858.1810 Phone (Intnl): +1.408.943.2600 http://www.cypress.com...
Page 3
Cypress against all charges. Any Source Code (software and/or firmware) is owned by Cypress Semiconductor Corporation (Cypress) and is protected by and subject to worldwide patent protection (United States and foreign), United States copyright laws and international treaty provisions.
3.5.1 Boot From Onboard I2C EEPROM ..............23 3.5.2 Boot as a USB Loader ...................26 3.5.3 Program the EEPROM...................28 Firmware Examples ....................29 3.6.1 USBBulkSourceSink with LED Blink ..............29 3.6.2 SRAM Example....................30 Integrated Debugger....................33 3.7.1 UART ......................34 CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
Page 5
4.6.4 JTAG ......................51 4.6.5 User Push Button (SW2)................51 4.6.6 User LED (LED2) ...................51 Appendix Troubleshooting ........................52 Manual Installation of a Cypress Driver ..............52 If You Have "Too Many" COM Ports ...................54 CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
Safety Information Regulatory Compliance The CYUSB3KIT-003 SuperSpeed Explorer kit is intended for use as a development platform for hardware or software in a laboratory environment. The board is an open-system design, which does not include a shielded enclosure. This kit may cause interference to other electrical or electronic devices in close proximity. In a domestic environment, this product may cause radio interference.
Handling Boards CYUSB3KIT-003 boards are sensitive to ESD. Hold the board only by its edges. After removing the board from its box, place it on a grounded, static-free surface. Use a conductive foam pad if available. Do not slide the board over any surface.
The FX3 software development platform is based on the Eclipse integrated development environ- ment (IDE). A prerequisite for using the SuperSpeed Explorer Kit is to download and install the FX3 Software Development Kit (www.cypress.com/go/FX3SDK). This package installs the EZ USB Suite CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
Visit the EZ-USB FX3 web page (www.cypress.com/fx3/) for additional learning resources in the form of a datasheet, a technical reference manual, application notes, knowledge base articles, and training videos. CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
Document History PDF Creation Origin of Revision Description of Change Date Change 07/10/2014 NIKL Initial version of kit user guide. 08/01/2014 NIKL Updated links. Minor content edits throughout the document. CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
FX3SDKSetup.exe file in the Downloads folder and double-click it to start the installer (Figure 2-1). Figure 2-1. FX3 SDK Installer Screen CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
EZ USB Suite for 32-bit Linux OS ■ eclipse_x64.tgz: EZ USB Suite for 64-bit Linux OS ■ cyusb_linux_<Build_no>.tar.gz: The CyUSB Suite provides QT-based USB applications to com- ■ municate with the FX3 device CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
Figure 2-3. SuperSpeed Explorer Kit Installer Screen 2. Click Next and select the required Installation Type. When installing for the first time, it is best to select the Typical installation type (Figure 2-4). CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
Page 15
3. Click Next to start the Installation Wizard. 4. Accept the license agreements for the various software components and click Next. Wait until the installation is complete (Figure 2-5). Figure 2-5. Installation Progress Showing Individual Modules CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
Navigate to the Windows Start menu and select All Programs; click the Cypress folder to expand it (Figure 2-7). Click the Eclipse entry to expand it and double-click the EZ USB Suite entry. CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
To import an Eclipse project from any path, follow these steps. 1. In the EZ USB Suite, choose File > Import > General > Existing Projects into Workspace (Figure 2-9). Click Next. CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
Page 18
Workspace folder. Select the firmware application in the Projects: box, and click Finish. Figure 2-10. Browse to Project Folder CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
It is recommended that you change one of the Eclipse default settings. To automatically save your edits before building the project, navigate to Windows > Preferences > General > Workspace and select Save automatically before build (Figure 2-12). Click OK. CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
SuperSpeed Explorer Kit development board. Figure 2-13. Build Firmware Icon Note You can go to www.cypress.com/go/GettingStartedwithEzUsbSuite for a video course on get- ting started with the Eclipse IDE for FX3. CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
B receptacle brings out the FX3 USB signals. This receptacle accepts either a USB 3.0 or USB 2.0 cable; the other end of the cable connects to a USB host PC. A USB 3.0 cable is included in the kit. CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
SRAM must be deselected if the 1.8-V interface is selected (if J2 is removed, then J5 should also be removed). Table 3-1 summarizes the default jumper settings. Table 3-1. Default Jumper Settings Jumper Jumper State Function CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
To explore various FX3 boot options, open Cypress’s USB Control Center application by choosing Start menu All Programs > Cypress > Cypress USBSuite > Control Center (see Figure 3-2). Figure 3-2. USB Control Center Opening Screen CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
USBBulkSourceSinkLED example code. 1. Connect the development board to your computer using the USB 3.0 cable provided with the kit, as shown in Figure 3-3. Figure 3-3. USB Connection LED2 CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
Page 25
This illustrates the context-sensitive nature of the USB Control Center – you should select an item in the device tree before conducting a particular USB operation. CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
Page 26
0xAA, which you enter in the Req code box. Your panel values should look similar to those in Figure 3-6. Enter a number between 0 and 9 in the Data to send (Hex) box and click the CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
Product ID PID=0x00F3. FX3 identifies itself in the USB Control Center as the Cypress FX3 Bootloader Device, as shown in Figure 3-7. It may take several seconds for this device entry to appear. CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
Page 28
<Install Directory>\Cypress\SuperSpeed Explorer Kit\1.0\Firmware\USBBulk SourceSinkLED\Debug 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. CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
USB Control Center. Note that erasing and programming EEPROM takes much longer than programming internal RAM, on the order of 20-30 seconds. CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
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...
To test the functionality of this firmware, follow these steps. 1. Disconnect the development board from the computer if it is already connected. 2. Insert the J5 jumper to enable SRAM. CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
Page 32
File Transfer folder of the SuperSpeed Explorer Kit installation. Browse to the path <Install Directory>\Cypress\SuperSpeed Explorer Kit\1.0\File Transfer to select the file. This writes the 1-KB data available in the file to the SRAM starting from the address 0x00. CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
Page 33
10.Select the Bulk in endpoint(0x81) in the left panel. In the Data Transfers tab (in the right panel), enter ‘1024’ in the Bytes to transfer field and click Transfer Data-IN to read the 1024 bytes written to SRAM in the previous step. (See Figure 3-14). CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
SS Tx+ SS Tx- UART USB 3.0 UART SCB0 SS Rx- Micro B Type B SS Rx+ USB 2.0 Connector VBUS Connecto (J1) VBUS r (J8) JTAG JTAG SCB1 CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
(1200 and below) with the integrated debugger, when larger blocks of data are received or trans- mitted over UART. You can use other standard COM port terminals, such as HyperTerminal or TestView, if you encounter such data loss issue with the Tera Term application. CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
Page 36
Insert the J4 jumper and follow the steps in Section 3.5.2 on page 26 to load the USBBulk- SourceSinkLED firmware to the FX3 RAM using the USB boot option. CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
External Tools > External Tools Configurations. Double-click Program. A new run configuration opens. Give the configuration a name, and fill in the fields as follows and as shown Figure 3-20. CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
Page 38
Note When you click Run, the EZ USB Suite will build the entire workspace before launching the External Tool configuration. To eliminate this step, you can uncheck the Build before launch option in the Build tab. CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
Page 39
Then, follow these steps: 1. Select the desired project in the Project Explorer; then, go to Run > Debug Configurations, as shown in Figure 3-22. CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
Page 40
3-23. If the C/C++ Application field is empty, click Search Project and select the Debug or Release build of the .elf file, which was built previously. Figure 3-23. Debug Configuration in EZ USB Suite Double-click CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
Page 41
0x40000000 In the 'Run' commands section, enter: load The 'Initialize' and 'Run' commands are the GDB commands to initialize and run the JTAG target device, in this case, FX3. CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
Page 42
Debug for debugging or C/C++ for code development. The executable firmware launches, and the debug perspective (view) opens, as shown in Figure 3-26. Figure 3-26. Launching Debug Session CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
Page 43
Figure 3-27. Launching Debug Session Complete 6. Ignore this message and click Resume. The debug point stops at "main" as shown in Figure 3-28. Figure 3-28. Debugger Stops at Main CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
Page 44
3-30. This line of the firmware switches the blue LED (LED2) ON. The second breakpoint is applied at the line of firmware that switches the blue LED (LED2) OFF. CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
Page 45
11. To completely stop the debug session, drop the GDB connection, and terminate the OpenOCD tool (running in the background), click the Drop GDB Session icon twice, instead of clicking the CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
Page 46
The Debug perspective (view) is the best one to use for debug sessions. To return to the code development perspective, click the Open Perspective icon and select C/C++, as shown in Figure 3-33. Figure 3-33. Icon to Switch to C/C++ Perspective CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
Refer to the "Pin Description" section of the EZ-USB FX3: SuperSpeed USB Controller datasheet (www.cypress.com/go/CYUSB301X) for details on configuring the I/O in each power domain. Figure 4-1 shows the circuit used to switch the voltage level using the J2 jumper. CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
FX3 XTALIN and XTALOUT pins, as shown in Figure 4-3. The FSLC[0:2] lines of FX3 are tied to ground to select the 19.2-MHz crystal for clocking, as shown in Figure 4-4. CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
Figure 4-5 shows. If the GPIF II is not used as the FX3 firmware, these pins become the FX3 GPIO pins. Figure 4-5. GPIF II Lines on Rectangular Connectors CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
You can reset the FX3 device from an onboard push button, SW1. The reset circuit used for FX3 on the SuperSpeed Explorer Kit is shown in Figure 4-6. Figure 4-6. Reset Circuit CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
The FX3 SPI/UART lines are brought out to the pins of a rectangular connector. The same lines are also connected to the USB-Serial IC (Figure 4-8) on the SuperSpeed Explorer Kit. The USB-Serial IC enumerates with one interface as a virtual COM port. CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
User LED (LED2) As shown in Figure 4-10, the blue LED (LED2) is connected to GPIO54(SPI-SSN) of FX3. The LED glows when GPIO is driven low. Figure 4-10. User LED- LED2 CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
FX3 when no drivers are installed. The USB-Serial device enumerates with the entry USB-Serial (Dual Channel). Figure A-1. FX3 Device Entry in Windows Device Manager CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
Page 54
USB-Serial (Dual Channel) Vendor MFG: Used to configure the USB-Serial IC ❐ USB-Serial (Dual Channel) Vendor 1: Acts as a JTAG interface ❐ Figure A-3. FX3 Entry in Device Manager After Driver Binding CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
To eliminate the ports you are no longer using, right-click it and select Unin- stall. This will give Windows a chance to select lower COM numbers for the application. CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
Need help?
Do you have a question about the CYUSB3KIT-003 and is the answer not in the manual?
Questions and answers