Cypress USB-Serial Configuration Utility User Guide
Cypress USB-Serial Configuration Utility User Guide
Cypress Semiconductor
198 Champion Court
San Jose, CA 95134-1709
Phone (USA): 880.858.1810
Phone (Intnl): 408.943.2600
http://www.cypress.com
Copyrights
Cypress Semiconductor Corporation, 2014. The information contained herein is subject to change without notice.
Cypress Semiconductor Corporation assumes no responsibility for the use of any circuitry other than circuitry embodied
in a Cypress product. Nor does it convey or imply any license under patent or other rights. Cypress products are not
warranted nor intended to be used for medical, life support, life saving, critical control or safety applications, unless
pursuant to an express written agreement with Cypress. Furthermore, Cypress does not authorize its products for use
as critical components in life-support systems where a malfunction or failure may reasonably be expected to result in
significant injury to the user. The inclusion of Cypress products in life-support systems application implies that the
manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges.
Trademarks
PSoC Designer, and Programmable System-on-Chip are trademarks and PSoC is a registered trademark of
Cypress Semiconductor Corp. All other trademarks or registered trademarks referenced herein are property of the
respective corporations.
Source Code
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. Cypress hereby grants to licensee a personal, non-exclusive, non-transferable license to
copy, use, modify, create derivative works of, and compile the Cypress Source Code and derivative works for the sole
purpose of creating custom software and or firmware in support of licensee product to be used only in conjunction with
a Cypress integrated circuit as specified in the applicable agreement. Any reproduction, modification, translation,
compilation, or representation of this Source Code except as specified above is prohibited without the express written
permission of Cypress.
Disclaimer
CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS MATERIAL,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE. Cypress reserves the right to make changes without further notice to the materials
described herein. Cypress does not assume any liability arising out of the application or use of any product or circuit
described herein. Cypress does not authorize its products for use as critical components in life-support systems where
a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress
product in a life-support systems application implies that the manufacturer assumes all risk of such use and in doing so
indemnifies Cypress against all charges.
Use may be limited by and subject to the applicable Cypress software license agreement.
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
Contents
Contents
1.
1.1
2.
2.1
2.2
2.3
3.
3.1
3.2
Introduction .......................................................................................................................................................... 4
Software Requirements ......................................................................................................................................... 4
Cypress USB-Serial Configuration Utility.......................................................................................................... 5
Start Page .............................................................................................................................................................. 5
Select Target ......................................................................................................................................................... 5
2.2.1 Select Device ............................................................................................................................................ 6
2.2.2 Device Information .................................................................................................................................... 6
2.2.3 Connect to Target ..................................................................................................................................... 6
Device Configuration ............................................................................................................................................. 7
2.3.1 USB Descriptor and System Configuration ............................................................................................... 7
2.3.2 Serial Configuration Block (SCB) Configuration ...................................................................................... 15
2.3.3 Device GPIOs ......................................................................................................................................... 25
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
1. Introduction
The Cypress USB-Serial Configuration Utility provides an easy-to-use graphical interface to configure
manufacturing settings and options for Cypress USB-Serial devices. With this utility, you can connect to USBSerial devices, modify the configuration settings, and program the configuration to the device.
This user guide describes the USB-Serial Configuration Utility features and how to use the utility to configure a
supported device. The current version of the utility supports configuring the Cypress USB-Serial device part
numbers listed in Table 1-1.
Table 1-1. Supported USB-Serial Devices
Part Number
Description
CY7C65211-24LTXI
CY7C65213-32LTXI
CY7C65215-32LTXI
CY7C65213-28PVXI
Software
Version
1.
Operating System
2.
.NET Framework
3.
Runtime Libraries
Note 1:
Microsoft .NET framework 3.5 SP1 can be downloaded and installed from Microsoft.com. The link to the
installable on Microsofts website is: http://www.microsoft.com/en-us/download/details.aspx?id=22
Note 2:
Microsoft VC++ 2008 runtime re-distributable is packaged along with USB-Serial SDK for Windows. The redistributable can be located under the <sdk_install_path>\prerequisite directory. The package can
also be downloaded and installed from the Microsoft site. The link to the installable is. http://www.microsoft.com/enus/download/details.aspx?id=11895.
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
Run USB-Serial Configuration Utility.exe from Start > All Programs > Cypress > Cypress USB-Serial Configuration
Utility to launch the configuration utility. On start-up, the utility comes up with two active tabs Start Page and
Select Target. These tabs are always visible and you can navigate between these tabs at any time during the
configuration session.
After you connect to an attached Cypress USB-Serial device (from the Select Target tab), the utility opens a third tab
(the Device tab) for the part number of the device selected. This tab allows you to view and configure the device
settings.
Note
The exact name of the third tab will be the device part number. The device part numbers are listed in Table 1-1.
Throughout the document this tab will be referred to as the Device tab.
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
Property
Remarks
1.
Vendor ID (VID)
2.
Product ID (PID)
3.
Device name
Device-friendly name. This name comes from the device driver INF
file
4.
Manufacturer
5.
Product
Product name
6.
Serial number
7.
Version
8.
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
2.3.1.1 Basic
The basic descriptor settings include the device Vendor ID (VID) and Product ID (PID) values. The device can be
configured to either use the default Cypress-provided VID and PID combination or to use a custom VID and PID
combination.
Figure 2-3: USB - Basic settings
1.
2.
Part Number
SCB 0
SCB 1
PID
Mode
Protocol
Mode
Protocol
UART
CDC
NA
NA
0x0002
UART/ SPI
Vendor / PHDC
NA
NA
0x0004
I2C
Vendor
NA
NA
0x0004
CY7C65213-32LTXI
UART
CDC
NA
NA
0x0003
Or
UART
Vendor / PHDC
NA
NA
0x0006
UART
CDC
UART
CDC
0x0005
UART
CDC
Vendor / PHDC
0x0007
UART / SPI
Vendor / PHDC
UART
CDC
0x0009
I2C
Vendor
UART
CDC
0x0009
UART / SPI
Vendor / PHDC
UART / SPI
Vendor / PHDC
0x000A
I2C / JTAG
Vendor
0x000A
UART / SPI
Vendor / PHDC
0x000A
I2C / JTAG
Vendor
0x000A
CY7C65211-24LTXI
CY7C65213-28PVXI
3.
CY7C65215-32LTXI
I2C
Vendor
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
CDC: CDC device referred in this document is a UART device that follows USB Standard Communication Device
Class Specification. And, this device binds to a Virtual COM port driver for the supported operating system.
Vendor: Vendor operational mode device doesnt follow any USB standard class specification. They are custom or
vendor USB class devices that follow custom data transfer protocol. USB to (SPI or I2C or JTAG) Bridge is always
configured as Vendor Device. UART can also be a vendor device and in this mode, UART device doesnt bind to
Virtual COM port driver. Instead, the UART device will bind to cypress generic USB driver or vendor mode driver in
the supported Operating System.
PHDC: Device that follow Personal Healthcare Device Class Specification is referred as PHDC devices. USB
Serial Bridge supports PHDC USB to UART and PHDC USB to SPI Bridge. PHDC device binds to generic USB
device driver otherwise called as vendor mode driver.
To use a custom VID and PID for your device, uncheck the Use Cypress VID / PID option. On unchecking this option,
the VID field becomes editable. Enter the required VID (other than Cypress VID [0x04B4]) and hit the Tab or Enter
key to enable the PID field. Refer to Appendix (section 3.1 ) for binding the driver to USB-Serial devices with custom
VID/PID.
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
10
2.3.1.2.3.3 Power#
Select a GPIO from the Power# drop-down list to enable power notification. To disable this option, select Not
enabled from the drop-down list.
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
11
Part Number
Default value
CY7C65211-24LTXI
CY7C65213-32LTXI
USB-UART LP
CY7C65215-32LTXI
CY7C65213-28PVXI
USB-UART LP
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
12
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
13
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
14
Operation mode
USB-SCB protocol
Notification LED
Part Number
SCB Count
CY7C65211-24LTXI
CY7C65213-32LTXI
CY7C65215-32LTXI
CY7C65213-28PVXI
The following sections capture the configurable options available for these devices.
2.3.2.1.1 USB-Serial (Single Channel) [Part Number: CY7C65211-24LTXI]
The USB-Serial (Single Channel) device, as the name suggests, has only one SCB (SCB0). The SCB supports the
following modes of operation:
1. UART
2. I2C (Master / Slave)
3. SPI (Master / Slave)
2.3.2.1.2 USB-UART LP [Part Number: CY7C65213-32LTXI and CY7C65213-28PVXI]
The USB-UART LP device, similar to the USB-Serial (Single Channel) device, has only one SCB (SCB0). The SCB in
this device is pre-configured to a 8-pin UART. The device does not support other operational modes.
2.3.2.1.3 USB-Serial (Dual Channel) [Part Number: CY7C65215-32LTXI]
The USB-Serial (Dual Channel) device has two SCBs (SCB 0 and SCB 1). Both SCB0 and SCB1 support the following
operation modes:
1. UART
2. I2C (Master / Slave)
3. SPI (Master / Slave)
In addition to these operation modes, SCB1 also supports JTAG mode. If needed, SCB1 can also be disabled to free
up SCB GPIOs to be used for Cypress CapSense . Figure 2-13 and Figure 2-14 shows the default configuration for
SCB0 and SCB1.
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
15
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
16
SPI slave to UART When one of the SCB is acting as an SPI slave and another as UART, and the data
received by the SPI slave is being transmitted over UART. In this case, the data received from the UART shall
also be transmitted over the SPI slave interface.
SPI slave to SPI slave When both SCBs are configured as SPI slave interface, data received on one is
transmitted on the other and vice versa.
UART to SPI master When one of the SCB is configured as UART and another as SPI master, data
received by the UART interface shall be transmitted over SPI master interface. When this happens, the data
received on the SPI master interface shall also be transmitted out on the UART interface.
UART to UART When both SCBs are configured as UART, the data received on one is transmitted on the
other and vice versa.
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
17
7 bits
8 bits
1 bit
2 bits
None
Odd
Even
Mark
Space
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
18
This feature is not available in the USB-Serial (single-channel) and USB-Serial (dual-channel) devices.
2.3.2.3.2 I2C Mode
Select I2C from the Mode drop-down list and then click Configure button to open the I2C settings editor. Figure 2-17
and Figure 2-18 shows the I2C Master and Slave mode configuration settings.
The I2C operation mode supports the following configurable settings:
Frequency
Mode
Slave Address (Slave mode only)
Use as wake-up source (Slave mode only)
Enable Clock Stretching (Slave mode only)
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
19
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
20
2.3.2.3.3.1 Frequency
This field allows setting of the SPI operating frequency in Hz. The SPI mode supports operating frequencies in the
range 1 KHz to 3 MHz (1000 to 3000000). In the slave mode operation, the slave should be clocked at a higher or
same frequency as that of the master.
The default frequency is 1000 Hz (1 KHz).
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
21
Motorola
Texas Instruments (TI)
National Semiconductor (NS)
#
1.
Mode
Motorola
Description
In Master mode,
1. When not transmitting data (SELECT line is inactive), SCLK
is stable at CPOL
2. When there is no data to transmit (TX FIFO is empty),
SELECT line is inactive
In Slave mode,
1. When not selected, SCLK is ignored (SCLK can be either
stable or clocking)
2.
TI (supports
only mode 1)
In Master mode,
1. When not transmitting data, SCLK is stable at 0
2. When there is no data to transmit (TX FIFO is empty),
SELECT line is inactive
In Slave mode,
1. When not selected, SCLK is ignored (SCLK can be either
stable or clocking)
3.
NS (supports
only mode 0)
In Master mode,
1. When not transmitting data, SCLK is stable at 0
2. When there is no data to transmit (TX FIFO is empty),
SELECT line is inactive
In Slave mode,
1. When not selected, SCLK is ignored (SCLK can be either
stable or clocking)
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
22
Toggle Mode
Description
1.
Frame
2.
Continuous
This field is used for master mode configuration. The Slave mode supports both continuous and frame mode data
transfers.
The default value is Continuous.
2.3.2.3.3.6 Bit Order
You can set the SPI data transfer bit order to one of the following options:
LSB first
MSB first
CPOL
Description
1.
Low
2.
High
The CPHA and CPOL fields combine to form the four modes supported by the Motorola protocol. The following table
captures the four Motorola modes:
Table 2-8. SPI Motorola Modes
Mode
CPOL
CPHA
Description
1.
Mode 0
Low
Low
2.
Mode 1
Low
High
3.
Mode 2
High
Low
4.
Mode 3
High
High
The CPHA and CPOL fields are available only when the SPI protocol is set to Motorola. By default, the CPOL and
CPHA values are set to Low.
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
23
Options
Description
1.
Enabled
(checked)
2.
Disabled
(unchecked)
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
24
Modes
Supported Protocols
1.
Disabled
Disabled
2.
UART
3.
I2C
Vendor
4,
SPI
PHDC, Vendor
5.
JTAG
Vendor
The device supports individual notification for each of the SCBs in the device. Notification can be configured for either
one of the SCBs or both the SCBs or none.
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
25
After the required GPIOs are consumed for the SCB configuration, the device may still be left with some unused / free
GPIOs in the device GPIO pool. These free GPIOs can be used for other features supported by the device.
Note: The device datasheet maps the GPIO numbers to the corresponding device physical pin.
The CapSense /BCD/GPIO tab allows configuration of the system-level settings of the device. The following settings
can be configured
1. Cypress CapSense
coded output GPIO lines. LED based indication (ON/OFF) is also provided as output. The CapSense /BCD/GPIO tab
of the utility allows configuration of CapSense in the device.
Figure 2-22: CapSense Configuration & Validation
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
26
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
27
2.3.4.1.1.2 Debounce
The Debounce value defines the number of scan cycles that a button needs to be in pressed state for the device to
detect and report the button press status. For example, if the debounce value is set to two, the device reports a button
press status only when it detects the button press for two continuous scan cycles.
Debounce ensures that a high-frequency, high-amplitude noise does not cause false detection of a pressed button.
The debounce value can be set to any value between 1 and 5. By default, the debounce value is set to 1.
2.3.4.1.1.3 Scan Rate
The scan rate is the delay (in ms) between two button scans. For example, if the device has three CapSense buttons
and the scan rate is set to 2 ms, each button will be scanned once in every 6 ms.
Scan rate can be set to any value between 1 ms and 100 ms. By default, the scan rate is set to 1 ms.
2.3.4.1.1.4 Water Shield
The device can be configured to suppress the influence of water on the CapSense system. Select the GPIO to be used
as WaterShield I/O from the drop-down list. This GPIO will be used to compensate for the influence of water drops on
the sensor at the hardware level.
2.3.4.1.1.5 Activity LED Selection
The device supports the following activity notifications for CapSense buttons.
1. None
2. Individual
3. Common
Figure 2-25: Activity LED
Activity LED selection affects the maximum number of CapSense buttons that can be configured. Therefore, select the
required notification before selecting the required CapSense buttons.
2.3.4.1.1.6 None
To disable the notification for the CapSense button, select the None radio button from the Activity LED group. In this
configuration, there will no LED notification for the CapSense button pressed state.
2.3.4.1.1.7 Individual
Select the Individual radio button to get an individual notification LED for each of the selected CapSense buttons.
2.3.4.1.1.8 Common
Select the Common radio button to get a single notification LED for all the selected CapSense buttons. When this
option is selected, you can choose the GPIO to be used for notification from the drop-down list.
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
28
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
29
On clicking the Auto Assign button, the utility automatically assigns the GPIOs from the available free pool as shown
in Figure 2-27.
Figure 2-27: Auto Assign GPIOs
The Auto Assign feature also works with partial GPIO assignments. Select GPIOs for some of the required fields and
then click Auto Assign. The utility will populate the remaining fields with the available GPIOs.
Figure 2-28: Modify automatic GPIO assignments
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
30
The utility enables modification of the auto-assigned pins. In Figure 2-28, the Input GPIO assignment for Button 2 is
modified from GPIO 07 to GPIO 18.
The utility also allows re-assigning an already selected GPIO for another field. In Figure 2-29, GPIO 01 is re-assigned
to Button 2 Activity LED GPIO from Button 1 Input GPIO. Note the error icon next to the Button 1 Input GPIO field after
re-assignment.
2.3.4.1.1.11 Sensitivity
The utility allows configuration of the individual button sensitivity in terms of finger capacitance. The sensitivity can be
set to any value between 0.1 pF and 0.4 pF from the drop-down list. By default, the sensitivity of all the buttons is set
to 0.1 pF.
2.3.4.1.1.12 Encoded output GPIO
The number of encoded output GPIO lines required, depends on the number of CapSense buttons selected. Table
2-11 captures the number of output GPIOs required for the selected CapSense buttons.
#
1.
2.
3.
4
# of CapSense Buttons
1
2 to 3
4 to 7
8
The encoded GPIO lines indicate the button press status as binary coded output. For example, consider a design with
three CapSense buttons B1, B2 and B3. The design would require two encoded output GPIOs O1 and O2.
Table 2-12 illustrates the mapping between the button press state and the output GPIO states.
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
31
#
1
2
3
4
5
6
The device supports only single button detection. When multiple buttons are pressed at the same time, the lowest
button number will be indicated.
2.3.4.1.2 CapSense Validation
The utility allows validating the behavior of the configured CapSense buttons by plotting a graph of the CapSense
parameters in real-time. Follow these steps to begin the CapSense validation:
1. Configure the CapSense from the CapSense Configuration Editor as discussed in section 2.3.4.1.1
2. Program the configuration (see section 2.3.5 )
3. Reset the device for the programmed configuration to take effect
4. Connect to the device again and navigate to the CapSense /BCD/GPIO sub-tab under the Device tab
5. Click Launch to launch the CapSense Validation window
The utility monitors and plots the following CapSense parameters:
Raw Count: Button capacitance is converted into a count value by the CapSense algorithm. The
unprocessed count value is referred to as raw count. Processing of the raw count results in ON/OFF states for
the button
Baseline: The baseline is an estimate of the average sensor count level when the sensor is in the OFF state.
The baseline provides a reference level for the ON/OFF comparison.
Difference Count: Subtracting the baseline level from the raw count produces the difference count that is
used in the ON/OFF decision process. The actual baseline is dynamically adjusted by the user module to
compensate for environmental changes through a process called baseline update.
Finger Threshold: Threshold value used by the CapSense algorithm to identify button status changes. If the
difference count us increasing and exceeds the level of finger threshold, then the button state changes from
OFF to ON. If the difference count is decreasing and drops below the level of finger threshold, then the button
state changes from ON to OFF
Noise Threshold: If the difference count is below the noise threshold, then the baseline is updated
Signal to Noise Ratio (SNR): Ratio of difference count to noise threshold
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
32
Raw Count Vs. Baseline: The utility plots the raw count values against the baseline values for the selected
button
Difference Count Vs. Finger Threshold: Plots the difference count values for the selected button against
the finger threshold
Signal to Noise Ratio (SNR): Plots the SNR calculated for the selected button
The utility allows changing the graph at any time during the validation process.
2.3.4.1.2.2 Parameter-Specific Validation
In this mode, the utility monitors and plots the selected CapSense parameter for all the configured buttons. You can
select the CapSense parameter for which the utility needs to collect real-time data. To load this validation mode, select
Parameter Specific Validation from the Select View drop-down list and click Load view button.
Select Parameter
After the utility loads the validation view, select the parameter to monitor from the Select Parameter drop-down list.
The utility allows selecting one of the following CapSense parameters:
Raw Count
Difference Count
SNR
Monitor Buttons
This section of the utility displays all the configured buttons in the device. For the selected parameter, the utility allows
selection of the buttons to be viewed or hidden by checking or unchecking the checkbox.
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
33
The editor (shown in Figure 2-31) allows selection of GPIOs for the BCD pins and sets the BCD pin drive state for
each of the different battery detection modes.
Figure 2-31: BCD Configuration Editor
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
34
These four states can be represented by the BCD0 and BCD1 lines using the BCD drive mode options. If the PMIC
supports only two current limits (500 mA and 1.5 A), then only the BCD0 line needs to be connected to the PMIC. The
BCD1 line shall be ignored and shall not be connected to the PMIC. The polarity of BCD0 and BCD1 can be
configured to match the PMIC settings.
The configuration editor (shown in Figure 2-33) lists all the remaining free GPIOs in the device. Select the drive mode
for each of these GPIOs from the drop-down list. By default, the free GPIOs are configured as Tristate.
Figure 2-33: GPIO Drive Mode Editor
Refer to the device datasheet and the Cypress USB-Serial API guide on the functionalities supported by the GPIOs.
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
35
) on the toolbar.
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
36
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
37
7. On successfully loading, the utility searches for the attached devices and lists the devices, which support the
selected configuration, in the Devices table as shown in Figure 2-35). The Devices table allows viewing some
of the basic details of the device like Device Name and Windows Device Instance ID.
Figure 2-35: Load configuration file
6. The utility allows selecting the devices to be programmed by checking the checkbox corresponding to the
device of interest. The utility also allows selecting all the devices simultaneously by clicking the Select All
button. All the selected devices are added to the programming queue as indicated by the Program Status
field of the device as shown in Figure 2-36.
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
38
7. A device can be removed from the programming queue by unchecking the checkbox. To remove all the
devices from the queue, click on the De-select All button.
8. After choosing the devices to be programmed, click Program to start the batch programming. The utility starts
to program the devices sequentially in the order listed in the Device table. The progress bar and the Program
Status field in the Device table are updated to notify the progress (Figure 2-37).
Figure 2-37: Batch programming in-progress
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
39
9. The utility allows cancelling or stopping the batch programming by clicking the Cancel button. The utility
stops the programming process after completing the current device. The status of all devices, which were
cancelled are indicated as Cancelled in the Program Status field.
Figure 2-39: Batch programming cancelled
10. Click Close to exit the Batch Programmer and return to the main utility window.
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
40
2.3.12 Disconnect
The utility allows connecting to only one device at a time. To connect to another device that is attached to the machine,
the utility needs to disconnect from the current device.
To disconnect from the connected device, click the Disconnect button at the bottom of the device tab. The device can
also be disconnected by selecting Disconnect from the Device menu (Device > Disconnect).
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
41
3. Appendix
42
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
Appendix
Figure 3-1: Cypress Generic USB 3.0 Driver Directory Structure
Follow these steps to modify the INF file to use Cypress generic USB 3.0 driver with custom VID/PID:
1. Open the cyusb3.inf file located in the win7\x86 directory (as shown in Figure 3-1) in a text editor like
Notepad.
2. Scroll down in the text editor until the section [Device.NT] is visible
3. The [Device.NT] section contains entries for all the devices supported by the driver. Add an entry for the new
device in the following format:
%VID_XXXX&PID_YYYY&MI_ZZ.DeviceDesc%=CyUsb3, USB\ VID_XXXX&PID_YYYY&MI_ZZ
Where,
XXXX Device Vendor ID (VID) in hexadecimal
YYYY Device Product ID (PID) in hexadecimal
ZZ Master Interface Number in hexadecimal
4. Copy the entry created in step 3 and paste it under the sections [Device.NTx86] and [Device.NTamd64]
5. Scroll down in the text editor until the [String] section is visible
6. Under the [String] section add an entry in the following format:
VID_XXXX&PID_YYYY&MI_ZZ.DeviceDesc=<Device Friendly Name>
Where,
XXXX Device Vendor ID (VID) in hexadecimal
YYYY Device Product ID (PID) in hexadecimal
ZZ Master Interface Number in hexadecimal (refer to section 3.1.2 )
<Device Friendly Name> -- String to be used by the OS for the device in the Device Manager (as
highlighted in Figure 3-2).
7. The values of XXXX, YYYY, and ZZ should match with value mentioned in step 3.
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
43
Appendix
Figure 3-2: Device Friendly Name for Cypress Generic USB 3.0 Devices
8. Repeat steps 2 to 6 for all device interfaces, which needs to bind to the Cypress Generic USB 3.0 driver
9. Repeat steps 2 to 7 for all the cyusb3.inf files located under the <install_path>/driver/cyusb3/bin
directory.
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
44
Appendix
Figure 3-3 shows the driver directory structure under the bin directory.
Follow these steps to modify the INF file to use the Cypress CDC driver with a custom VID/PID:
1. Open the CypressUsbAndBus.inf file located in win7\x86 directory (as shown in Figure 3-3) in a text editor
like Notepad.
2. Scroll down in the text editor until section [Cypress] is visible. For INF files under x64 directory this will be
[Cypress.NTamd64]
3. [Cypress] or [Cypress.NTamd64] section contains entries for all the devices supported by the driver. Add an
entry for the new device in the format
%VID_XXXX&PID_YYYY&MI_ZZ.DeviceDesc%=CypressUsb, USB\ VID_XXXX&PID_YYYY&MI_ZZ
Use the following format for the INF files under the x64 directory:
%VID_XXXX&PID_YYYY&MI_ZZ.DeviceDesc%=CypressUsb.NTamd64, USB\
VID_XXXX&PID_YYYY&MI_ZZ
Where,
XXXX Device Vendor ID (VID) in hexadecimal
YYYY Device Product ID (PID) in hexadecimal
ZZ Master Interface Number in hexadecimal (refer to section 3.1.2 )
4. Then, scroll down in the text editor until the [String] section is visible
5. Under the [String] section, add an entry in the following format:
VID_XXXX&PID_YYYY&MI_ZZ.DeviceDesc=<Device Friendly Name>
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
45
Appendix
Where,
XXXX Device Vendor ID (VID) in hexadecimal
YYYY Device Product ID (PID) in hexadecimal
ZZ Master Interface Number in hexadecimal
<Device Friendly Name> -- String to be used by the OS for the device in the Device Manager (as highlighted in
Figure 3-4).
6. The values of XXXX, YYYY, and ZZ should match with value mentioned in step 3.
Figure 3-4: Device Friendly Name for Cypress CDC Device
7. Repeat steps 2 to 5 for all device interfaces that must bind to the Cypress CDC driver
8. Repeat steps 2 to 6 for all the CypressUsbAndBus.inf files located under the
<install_path>/driver/cyusbserial/bin directory
Part Number
SCB 0
Mode
Protocol
SCB 1
MI #
Mode
Protocol
MI #
MFG
Interface
MI #
1.
2.
CY7C65211-24LTXI
UART
CDC
00
NA
NA
NA
02
UART/ SPI/
I2C
Vendor /
PHDC
00
NA
NA
NA
01
CY7C65213-32LTXI
UART
CDC
00
NA
NA
NA
02
Or
UART
Vendor /
PHDC
00
NA
NA
NA
01
UART
CDC
00
UART
CDC
02
04
UART
CDC
00
UART /
SPI / I2C
/ JTAG
Vendor /
PHDC
02
03
UART / SPI
/ I2C
Vendor /
PHDC
00
UART
CDC
01
03
UART / SPI
/ I2C
Vendor /
PHDC
00
UART /
SPI / I2C
/ JTAG
Vendor /
PHDC
01
02
CY7C65213-28PVXI
3.
CY7C65215-32LTXI
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
46
Appendix
3.2.1 CY7C65213
Sl. No
Parameter
Default Value
Brief description.
USB Configuration
1.)
VID
0x04B4
2.)
PID
3.)
Power Mode
Bus Powered
4.)
bMaxPower
100 mA
5.)
Enabled.
6.)
Manufacturing String
Cypress Semiconductor
7.)
Product String
USB-UART LP
8.)
Serial Number
NULL
9.)
Disabled.
10.)
Disabled.
11.)
Enable Manufacturing
Interface
Enabled.
12.)
I/O Level
CMOS
13.)
I/O Mode
Fast
Parameter
Default Value
Brief description.
14.)
Baud Rate
115200 Bauds
15.)
Type
8 Pins
16.)
Data Width
8 bits
17.)
Stop bits
1 bit
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
47
Appendix
options.
Sl. No
Parameter
Default Value
Brief description.
18.)
Parity
NONE
19.)
20.)
Enabled.
Sl. No
Parameter
Default Value
Brief description.
21.)
Battery Charger
Detection Functionality
DISABLED.
22.)
GPIO 0
TXLED
GPIO 1
RXLED
GPIO 2
TRISTATE
GPIO 3
POWER#
GPIO 4
SLEEP#
GPIO 5
TRISTATE
GPIO 6
TRISTATE
GPIO 7
TRISTATE
3.2.2 CY7C65215
Sl. No
Parameter
Default Value
Brief description.
USB Configuration
1.)
VID
0x04B4
2.)
PID
3.)
Power Mode
Bus Powered
4.)
bMaxPower
100 mA
5.)
Enabled.
6.)
Manufacturing String
Cypress Semiconductor
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
48
Appendix
7.)
Product String
8.)
Serial Number
NULL
9.)
Disabled.
10.)
Disabled.
Enable / disable the voltage regulator for VCCIO. Enable this option only when you supply
VCCIO with less than 2 volts.
11.)
Enable Manufacturing
Interface
Enabled.
12.)
I/O Level
CMOS
13.)
I/O Mode
Fast
Parameter
Default Value
Brief description.
14.)
Baud Rate
115200 Bauds
15.)
Type
6 Pins
16.)
Data Width
8 bits
17.)
Stop bits
1 bit
18.)
Parity
NONE
19.)
Drop Packets on RX
Error
DISABLED.
20.)
Enabled.
Parameter
Default Value
Brief description.
21.)
Frequency (Hz)
100,000
22.)
Data Width
8 bits
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
49
Appendix
23.)
SPI Mode
Master
24.)
Protocol
Motorola
25.)
CPHA mode
Low
26.)
CPOL Mode
Low
27.)
Continuous
Data frame separation handling through slave deselection. Please refer section 2.3.2.3.3.5
28.)
Bit Order
MSB First
Frequency (Hz)
100,000
30.)
Mode
Master
31.)
Slave Address
0x02
32.)
Disabled
33.)
Disabled
Parameter
Default Value
Brief description.
34.)
Enable / Disable
CapSense
DISABLED.
35.)
Battery Charger
Detection Functionality
DISABLED.
36.)
GPIO 0
TXLED
GPIO 1
RXLED
GPIO 6
POWER#
GPIO 7
TRISTATE
GPIO 16
TRISTATE
GPIO 17
TRISTATE
GPIO 18
TRISTATE
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
50
Appendix
3.2.3 CY7C65211
Sl. No
Parameter
Default Value
Brief description.
USB Configuration
1.)
VID
0x04B4
2.)
PID
3.)
Power Mode
Bus Powered
4.)
bMaxPower
100 mA
5.)
Enabled.
6.)
Manufacturing String
Cypress
Semiconductor
7.)
Product String
USB-Serial (Single
Channel)
8.)
Serial Number
NULL
9.)
Disabled.
10.)
Disabled.
11.)
Enable Manufacturing
Interface
Enabled.
12.)
I/O Level
CMOS
13.)
I/O Mode
Fast
Parameter
Default Value
Brief description.
14.)
Baud Rate
115200 Bauds
15.)
Type
8 Pins
16.)
Data Width
8 bits
17.)
Stop bits
1 bit
18.)
Parity
NONE
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
51
Appendix
19.)
DISABLED.
20.)
Enabled.
Parameter
Default Value
Brief description.
21.)
Frequency (Hz)
100,000
22.)
Data Width
8 bits
23.)
SPI Mode
Master
24.)
Protocol
Motorola
25.)
CPHA mode
Low
26.)
CPOL Mode
Low
27.)
Continuous
28.)
Bit Order
MSB First
Frequency (Hz)
100,000
30.)
Mode
Master
31.)
Slave Address
0x02
32.)
Disabled
33.)
Disabled
Parameter
Default Value
Brief description.
34.)
DISABLED.
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
52
Appendix
DISABLED.
36.)
GPIO 0
TXLED
GPIO 1
RXLED
GPIO 8
TRISTATE
GPIO 9
TRISTATE
GPIO 10
TRISTATE
GPIO 11
POWER#
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B
53
Revision History
Document History
Document Title: Cypress USB-Serial Configuration Utility User Guide
Document Number: 001-86781
Revision
ECN
Orig. of
Change
Submission
Date
Description of Change
**
3944703
BAAM
03/26/2013
New document
*A
4103549
BAAM
08/23/2013
*B
4257858
JEGA
01/23/2014
54
Cypress USB-Serial Configuration Utility User Guide, Doc. No. 001-86781 Rev. *B