Cypress Semiconductor CYUSB3KIT-003 User Manual

Cypress Semiconductor CYUSB3KIT-003 User Manual

Superspeed explorer kit

Advertisement

Quick Links

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.
Looking for a discount?
Check out our current promotions!
This coversheet was created by Verical, a division of Arrow Electronics, Inc. ("Verical"). The attached document was created by the part supplier,
not Verical, and is provided strictly 'as is.' Verical, its subsidiaries, affiliates, employees, and agents make no representations or warranties
regarding the attached document and disclaim any liability for the consequences of relying on the information therein. All referenced brands,
product names, service names, and trademarks are the property of their respective owners.
00000005981LF-000
CYUSB3KIT-003
EOS Power
CYPRESS SEMICONDUCTOR
Buy Now
Buy Now
Give us a call
1-855-837-4225
International: 1-555-555-5555
1-415-281-3866
1-415-281-3866
Arrow Electronics,
Arrow Electronics, Inc
Verical Division
9201 East Dry Creek Road
P.O. Box 740970
Centennial, CO 80112
Los Angeles, CA 90074-0970

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

Subscribe to Our Youtube Channel

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.
  • Page 4: Table Of Contents

    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...
  • Page 6: Safety Information

    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.
  • Page 7: General Safety Instructions

    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.
  • Page 8: Introduction

    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...
  • Page 9: Tools Not Included

    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...
  • Page 10: Documentation Conventions

    Field-programmable gate array Gbps Gigabits per second GNU compiler collection GNU debugger GPIF General Programmable Interface GPIO General- purpose input/output HSMC High-speed mezzanine card Inter-integrated circuit Inter-IC sound Integrated development environment CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186 Rev. *A...
  • Page 11: Document History

    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...
  • Page 12: Software Installation

    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...
  • Page 13: Rolling Back To A Previous Version Of Fx3 Sdk

    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...
  • Page 14: Superspeed Explorer Kit Installation

    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...
  • Page 16: Cypress Update Manager

    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...
  • Page 17: Importing A Project

    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...
  • Page 19: Automatically Saving Your Edits

    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...
  • Page 20: Building The Project

    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...
  • Page 21: Kit Operation

    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...
  • Page 22: Jumpers

    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...
  • Page 23: Power Mode

    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...
  • Page 24: Boot Options

    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...
  • Page 27: Boot As A Usb Loader

    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...
  • Page 29: Program The Eeprom

    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...
  • Page 30: Firmware Examples

    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...
  • Page 31: Sram Example

    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...
  • Page 34: Integrated Debugger

    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...
  • Page 35: Uart

    (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...
  • Page 37: Jtag

    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...
  • Page 47: Hardware

    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...
  • Page 48: Usb 3.0 Receptacle Connector

    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...
  • Page 49: Gpif Ii Connector

    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...
  • Page 50: Superspeed Explorer Kit Interconnect Boards

    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...
  • Page 51: Serial Interfaces

    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...
  • Page 52: Jtag

    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...
  • Page 53: Appendix

    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...
  • Page 55: If You Have "Too Many" Com Ports

    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...

Table of Contents