CY7C656xx
PRELIMINARY
EZ-USB HX2LP™
Low-Power USB 2.0 Hub Controller Family
1.0
Features
2.0
Introduction
• USB 2.0 hub controller
EZ-USB HX2LP is Cypress’s next-generation family of high-
performance, low-power USB 2.0 hub controllers. HX2LP is an
ultra low-power single-chip USB 2.0 hub controller with
integrated upstream and downstream transceivers, a USB
Serial Interface Engine (SIE), USB Hub Control and Repeater
logic, and Transaction Translator (TT) logic. Cypress has also
integrated many of the external passive components, such as
pull-up and pull-down resistors, reducing the overall bill-of-
materials required to implement a hub design. The entire
HX2LP portfolio consists of:
• Compliant with the USB 2.0 specification
• Windows Hardware-quality lab (WHQL)-compliant
• Up to four downstream ports supported
• Supports bus-power and self powered modes
• Single-TT and Multi-TT modes supported
— Single-TT option for low-cost
— Multi-TT option for high performance
• 2-Port
1. CY7C65640B (TetraHub LP): 4-port/multiple transaction
translator
— Single TT option for bus power
This device option is fit/form/function compatible with Cy-
press’s existing CY7C65640 device. Cypress’s “Tetra” ar-
chitecture provides four downstream USB ports, each with
a dedicated Transaction Translator (TT), making it the high-
est-performance hub available. The TetraHub LP also of-
fers best-in-class power consumption. The CY7C65640B is
available in a 56 QFN (TetraHub pin-compatible) for space
saving designs.
• Fit/form/function compatible option with CY7C65640
(TetraHub)
• Multiple package options
— Space-saving 56 QFN
• Single power supply requirement
— Internal regulator for reduced cost
• Integrated upstream pull-up resistor
• Integrated pull-down resistors for all downstream ports
2. CY7C65630: 4-port/single transaction translator
This device option is for ultra low-cost applications where
performance is secondary consideration. All four ports
must share a single transaction translator in this configura-
tion. The CY7C65630 is available in a 56 QFN and is also
pin for pin-compatible with the CY7C65640.
• Integrated upstream and downstream termination
resistors
• Integrated port status indicator controls
• 24-MHz external crystal (integrated PLL)
• Configurable with external SPI EEPROM
— Vendor ID, Product ID, Device ID (VID/PID/DID)
— Number of active ports
3. CY7C65620:
This device option is for a 2-port bus powered application.
Both ports must share a single transaction translator in this
configuration. The CY7C65620 is available in a 56 QFN
and is also pin for pin compatible with the CY7C65640.
— Number of removable ports
All device options are supported by Cypress’s world-class
reference design kits, which include board schematics, bill of
materials, Gerber files, Orcad files, and thorough design
documentation.
— Maximum power setting for high-speed and full-
speed
— Hub controller power setting
— Power-on timer
— Overcurrent detection mode
— Overcurrent timer
— Enable/Disable overcurrent timer
— Overcurrent pin polarity
— indicator pin polarity
— Compound device
— Enable full-speed only
— Disable port indicators
— Gang power switching
— Enable single-TT mode only
— Self/bus powered compatibility
— Fully configurable string descriptors for multiple
language support
• In-system EEPROM programming
Cypress Semiconductor Corporation
Document #: 38-08037 Rev. *D
•
3901 North First Street
•
San Jose, CA 95134
•
408-943-2600
Revised March 31, 2005
Download from Www.Somanuals.com. All Manuals Search And Download.
CY7C656xx
PRELIMINARY
3.0
Block Diagrams (continued)
D+
D -
High-Speed
USB Control Logic
USB 2.0 PHY
PLL
USB Upstream Port
Serial
Interface
24 MHz
Crystal
SPI_SCK
SPI_SD
SPI Communication
Block
Engine
SPI_CS
Transaction Translator (X1)
Hub Repeater
TT RAM
Routing Logic
USB Downstream Port 4
USB Downstream Port 1
USB Downstream Port 2
USB Downstream Port 3
USB 2.0 Port Power
PHY Control
Port
Status
USB 2.0 Port Power
PHY Control
Port
Status
USB 2.0 Port Power
PHY Control
Port
Status
USB 2.0 Port Power
PHY Control
Port
Status
D+ D- PWR#[1]
OVR#[1]
LED D+
D- PWR#[2]
OVR#[2]
LED D+ D- PWR#[3]
OVR#[3]
LED D+ D- PWR#[4]
OVR#[4]
LED
This applies to CY7C65630 only.
Figure 3-2. CY7C65630/CY7C65620 Block Diagram
Document #: 38-08037 Rev. *D
Page 3 of 23
Download from Www.Somanuals.com. All Manuals Search And Download.
CY7C656xx
PRELIMINARY
3.1
USB Serial Interface Engine (SIE)
5.0
Functional Overview
The SIE allows the CY7C656xx to communicate with the USB
host through the USB repeater component of the HUB. The
SIE handles the following USB activity independently of the
HUB Control Block:
The Cypress CY7C656xx USB 2.0 Hubs are a high-perfor-
mance, low-system-cost solution for USB. The CY7C656xx
USB 2.0 Hubs integrate 1.5k upstream pull-up resistors for full-
speed operation and all downstream 15k pull-down resistors
as well as series termination resistors on all upstream and
downstream D+ and D– pins. This results in optimization of
system costs by providing built-in support for the USB 2.0
specification.
• Bit stuffing/unstuffing
• Checksum generation/checking
• ACK/NAK/STALL
• TOKEN type identification
• Address checking.
5.1
System Initialization
On power-up, the CY7C656xx will read an external SPI
EEPROM for configuration information. At the most basic
level, this EEPROM will have the Vendor ID (VID), Product ID
(PID), and Device ID (DID) for the customer's application. For
more specialized applications, other configuration options can
3.2
Hub Repeater
The HUB Repeater manages the connectivity between
upstream and downstream facing ports that are operating at
the same speed. It supports full-/low-speed connectivity and
high-speed connectivity. Per the USB 2.0 specification, the
HUB Repeater provides the following functions:
After reading the EEPROM, if BUSPOWER (connected to up-
stream VBus) is HIGH, CY7C656xx will enable the pull-up
resistor on the D+ to indicate that it is connected to the
upstream hub, after which a USB Bus Reset is expected.
During this reset, CY7C656xx will initiate a chirp to indicate
that it is a high-speed peripheral. In a USB 2.0 system, the
upstream hub will respond with a chirp sequence, and
CY7C656xx will be in a high-speed mode, with the upstream
D+ pull-up resistor turned off. In USB 1.x systems, no such
chirp sequence from the upstream hub will be seen, and
CY7C656xx will operate as a normal 1.x hub (operating at full
speed).
• Sets up and tears down connectivity on packet boundaries
• Ensures orderly entry into and out of the Suspend state,
including proper handling of remote wakeups.
3.3
Transaction Translator (TT)
The TT basically translates data from one speed to another. A
TT takes high-speed split transactions and translates them to
full-/low-speed transactions when the HUB is operating at
high-speed (the upstream port is connected to a high-speed
host controller) and has full-/low-speed devices attached. The
operating speed of a device attached on a downstream facing
port determines whether the Routing Logic connects a port to
the Transaction Translator or Hub Repeater section. If a low-
/full-speed device is connected to the hub operating at high-
speed, the data transfer route includes the transaction trans-
lator. If a high-speed device is connected to this high-speed
hub the route only includes the repeater and no transaction
translator since the device and the hub are in conformation
with respect to their data transfer speed. When the hub is
operating at full speed (the upstream port is connected to a
full-speed host controller), a high-speed peripheral will not
operate at its full capability. These devices will only work at 1.1
speed. Full- and low-speed devices connected to this hub will
operate at their 1.1 speed.
5.2
Enumeration
After a USB Bus Reset, CY7C656xx is in an unaddressed,
unconfigured state (configuration value set to 0). During the
enumeration process, the host will set the hub's address and
configuration by sending a SetCongfiguration request.
For high-speed multi-TT support, the host must also set the
alternate interface setting to 1 (the default mode is single-TT).
Once the hub is configured, the full hub functionality is
available.
5.3
Multiple Transaction Translator Support
After the CY7C65640B is configured in a high-speed system,
it will be in Single TT mode. The host may then set the hub into
Multiple TT mode by sending a SetInterface command. In
Multiple TT mode, each full speed port is handled indepen-
dently and thus has a full 12-Mbps bandwidth available. In
Single TT mode, all traffic from the host destined for full- or
low-speed ports will be forwarded to all of those ports. This
means that the 12-Mbps bandwidth is shared by all full- and
low-speed ports.
4.0
Applications
• Typical applications for the HX2LP device family are:
• Standalone hubs
• Motherboard hubs
• Monitor hubs
• Advanced port replicators
• Docking stations
5.4
Downstream Ports
• Split-PC designs
The CY7C656xx supports a maximum of four downstream
ports, each of which may be marked as usable or removable
in the extended configuration (0xD2 EEPROM load, see
Downstream D+ and D– pull-down resistors are incorporated
in CY7C656xx for each port. Prior to the hubs being
configured, the ports are driven SE0 (Single Ended Zero,
where both D+ and D– are driven low) and are set to the
• External personal storage drives
• Keyboard hubs
Document #: 38-08037 Rev. *D
Page 4 of 23
Download from Www.Somanuals.com. All Manuals Search And Download.
CY7C656xx
PRELIMINARY
unpowered state. Once the hubs are configured, the ports are
not driven, and the host may power the ports by sending a
SetPortPower command to each port. After a port is powered,
any connect or disconnect event is detected by the hub. Any
change in the port state is reported by the hubs back to the
host through the Status Change Endpoint (endpoint 1). Upon
receipt of SetPortReset command from the host, the hub will
(Note that each port power output pin of the external power
switch must be bypassed with an electrolytic or tantalum
capacitor as required by the USB specification. These capac-
itors supply the inrush currents, which occur during
downstream device hot-attach events.) The polarity of this pin
can be configured through the EEPROM, see section 9.3.
• Drive SE0 on the corresponding port
• Put the port in an enabled state
5.7
Over-current Detection
Over-current detection includes timed detection of 8 ms by
default. This parameter is configured from the external
EEPROM in a range of 0 ms to 15 ms for both an enabled port
and a disabled port individually. Detection of over-current on
downstream ports is managed by control pins connected to an
external power switch device.
• Enable the green port indicator for that port (if notpreviously
overridden by the host)
• Enable babble detection once the port is enabled.
Babble consists of either unterminated traffic from
a
downstream port (or loss of activity), or a non-idle condition on
the port after EOF2. If babble is detected on an enabled port,
that port will be disabled. A ClearPortEnable command from
the host will also disable the specified port.
The OVR[n]# pins of the CY7C656xx series are connected to
the respective external power switch's port over-current
indication (output) signals. Upon detecting an over-current
condition, the hub device reports the over-current condition to
the host and disables the PWR# output to the external power
device. The polarity of this pin can be configured through the
EEPROM, see section 9.3.
Downstream ports can be individually suspended by the host
with the SetPortSuspend command. If the hubs are not
suspended, any resume will be confined to that individual port
and reflected to the host through a port change indication in
the Hub Status Change Endpoint. If the hubs are suspended,
a resume on this port will be forwarded to the host, but other
resume events will not be seen on that port. The host may
resume the port by sending a ClearPortSuspend command.
5.8
Port Indicators
The USB 2.0 port indicators are also supported directly by the
CY7C656xx. As per the specification, each downstream port
of the hub supports an optional status indicator. The presence
of indicators for downstream facing ports is specified by bit 7
of the wHubCharacteristics field of the hub class descriptor.
The default CY7C656xx descriptor specifies that port
indicators are supported (wHubCharacteristics, bit 7 is set). If
port indicators are not included in the hub, this should be
disabled by the EEPROM.
5.5
Upstream Port
The upstream port includes the transmitter and the receiver
state machine. The Transmitter and Receiver operate in high-
speed and full-speed depending on the current hub configu-
ration.
The transmitter state machine monitors the upstream facing
port while the Hub Repeater has connectivity in the upstream
direction. This monitoring activity prevents propagation of
erroneous indications in the upstream direction. In particular,
this machine prevents babble and disconnect events on the
downstream facing ports of this hub from propagating and
causing the hub to be disabled or disconnected by the hub to
which it is attached. This allows the Hub to only disconnect the
offensive port on detecting a babble from it.
Each port indicator is strategically located directly on the
opposite edge of the port which it is associated with. The
indicator provides two colors: green and amber. This is imple-
mented as two separate LEDs, one amber and the other
green. A combination of hardware and software control is used
to inform the user of the current status of the port or the device
attached to the port and to guide the user through problem
resolution. Colors and blinking are used to provide information
to the user. The significance of the color of the LED depend on
the operational mode of the CY7C656xx. There are two modes
of operation for the CY7C656xx port indicators: automatic and
manual.
5.6
Power Switching
The CY7C656xx includes interface signals for external port
power switches. Both ganged and individual (per-port) config-
urations are supported, with individual switching being the
default. Initially all ports are unpowered. After enumerating,
the host may power each port by sending a SetPortPower
command for that port. The power switching and over-current
detection of downstream ports is managed by control pins
connected to an external power switch device. PWR [n]#
output pins of the CY7C656xx series are connected to the
respective external power switch's port power enable signals.
On power-up the CY7C656xx defaults to Automatic Mode,
where the color of the Port Indicator (Green, Amber, Off)
indicates the functional status of the CY7C656xx port. In
Automatic Mode, the CY7C656xx will turn on the green LED
whenever the port is enabled and the amber LED when it has
had an overcurrent condition detected. The color of the port
indicator is set by the port state machine. Blinking of the LEDs
the mapping of color to port state in Automatic Mode.
Table 5-1. Automatic Port State to Port Indicator Color Mapping
Downstream Facing Hub Port State
Disconnected, Disabled, Not
Configured, Resetting, Testing
Enabled, Transmit, or
TransmitR
Suspended, Resuming,
SendEOR, Restart_E /S
Powered Off
Off or Amber if due to an
Overcurrent Condition
Off
Green
Off
Document #: 38-08037 Rev. *D
Page 5 of 23
Download from Www.Somanuals.com. All Manuals Search And Download.
CY7C656xx
PRELIMINARY
The LED control lines can also be modulated with a square
wave for power conservation in systems using batteries. Alone
with this there is also a polarity control for these pins, see
section 9.3.
CY7C656xx is in Manual Mode.
[1]
Table 5-2. Port Indicator Color Definitions in Manual Mode
In manual mode, the indicators are under the control of the
host, which can turn on one of the LEDs, or leave them off.
This is done by a system software USB Hub class request.
Blinking of the LEDs is supported in Manual Mode. The port
indicators allow the user to intervene on any error detection.
For example, when babble is detected on plugging in a
defective device, or on occurrence of an overcurrent condition,
the port indicators corresponding to the downstream port will
blink green or only light the amber LED, respectively.
Color Definition
Port State
Not operational
Off
Amber
Error condition
Fully Operational
Software Attention
Hardware Attention
Reserved
Green
Blinking Off/Green
Blinking Off/Amber
Blinking Green/Amber
Note:
1. Information presented in Table 5-1 and Table 5-2 is from USB 2.0 specification Tables 11-6 and 11-7, respectively.
Document #: 38-08037 Rev. *D
Page 6 of 23
Download from Www.Somanuals.com. All Manuals Search And Download.
CY7C656xx
PRELIMINARY
6.0
Pin Configuration
56
55
54
51
50
49
48
47
46
45
44
43
53
52
DD–[4]/NC
1
AMBER#[3]/NC
GREEN#[3]/NC
42
41
DD+[4]/NC
VCC
2
40 GND
3
GND
4
VCC
39
38
DD–[3]/NC
5
6
AMBER#[2]
DD+[3]/NC
VCC
GREEN#[2]
AMBER#[1]
37
36
7
8
GND
GREEN#[1]
GND
35
34
DD–[2]
9
DD+[2] 10
33 VCC
VCC 11
GND 12
32 OVR#[2]
31 PWR#[2]
DD–[1]
13
30 OVR#[1]
29 PWR#[1]
DD+[1] 14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[2]
Figure 6-1. 56-pin Quad Flat Pack No Leads (8 mm x 8 mm)
Note:
2. NC are for CY7C65620 ONLY.
Document #: 38-08037 Rev. *D
Page 7 of 23
Download from Www.Somanuals.com. All Manuals Search And Download.
CY7C656xx
PRELIMINARY
7.0
Pin Description Table
[3]
Table 7-1. Pin Assignments
CY7C65640B / CY7C65620
CY7C65630 Pin
Pin
Name
VCC
VCC
VCC
VCC
VCC
VCC
VCC
VCC
VCC
VCC
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
XIN
Type Default
Description
3
3
Power N/A
Power N/A
Power N/A
Power N/A
Power N/A
Power N/A
Power N/A
Power N/A
Power N/A
Power N/A
V
V
V
V
V
V
V
V
V
V
. This signal provides power to the chip.
. This signal provides power to the chip.
. This signal provides power to the chip.
. This signal provides power to the chip.
. This signal provides power to the chip.
. This signal provides power to the chip.
. This signal provides power to the chip.
. This signal provides power to the chip.
. This signal provides power to the chip.
. This signal provides power to the chip.
CC
CC
CC
CC
CC
CC
CC
CC
CC
CC
7
7
11
15
19
23
27
33
39
55
4
11
15
19
23
27
33
39
55
4
Power N/A GND. Connect to Ground with as short a path as possible.
Power N/A GND. Connect to Ground with as short a path as possible.
Power N/A GND. Connect to Ground with as short a path as possible.
Power N/A GND. Connect to Ground with as short a path as possible.
Power N/A GND. Connect to Ground with as short a path as possible.
Power N/A GND. Connect to Ground with as short a path as possible.
Power N/A GND. Connect to Ground with as short a path as possible.
Power N/A GND. Connect to Ground with as short a path as possible.
Power N/A GND. Connect to Ground with as short a path as possible.
Power N/A GND. Connect to Ground with as short a path as possible.
Power N/A GND. Connect to Ground with as short a path as possible.
Power N/A GND. Connect to Ground with as short a path as possible.
8
8
12
16
20
24
28
34
40
47
50
56
21
22
12
16
20
24
28
34
40
47
50
56
21
22
Input
N/A 24-MHz Crystal IN or External Clock Input.
N/A 24-MHz Crystal OUT.
XOUT
Outpu
t
46
46
RESET#
Input
N/A Active LOW Reset. This pin resets the entire chip. It is
normally tied to V
through a 100K resistor, and to GND
CC
through a 0.1-µF capacitor. Other than this, no other special
power-up procedure is required.
45
26
45
26
SELFPWR
Input
N/A Indicator for bus/self powered. 0 is bus powered, 1 is self-
powered.
VBUSPOWER Input
N/A VBUS. Connect to the VBUS pin of the upstream connector.
This signal indicates to the hub that it is in a connected state,
and may enable the D+ pull-up resistor to indicate a
connection. (The hub will do so after the external EEPROM is
read, unless it is put into a high-speed mode by the upstream
hub).
SPI Interface
25
48
49
25
48
49
SPI_CS
SPI_SCK
SPI_SD
O
O
O
O
Z
SPI Chip Select. Connect to CS pin of the EEPROM.
SPI Clock. Connect to EEPROM SCK pin.
I/O/Z
SPI Dataline Connect to GND with 15-KΩ resistor and to the
Data I/O pins of the EEPROM.
Note:
3. Unused port DD+/DD– lines can be left floating. The port power, amber, and green LED pins should be left unconnected, and the overcurrent pin should be
tied HIGH. The overcurrent pin is an input and it should not be left floating.
Document #: 38-08037 Rev. *D
Page 8 of 23
Download from Www.Somanuals.com. All Manuals Search And Download.
CY7C656xx
PRELIMINARY
[3]
Table 7-1. Pin Assignments (continued)
CY7C65640B / CY7C65620
CY7C65630 Pin
Pin
Name
Type Default
Description
Upstream Port
17
17
18
D–
D+
I/O/Z
I/O/Z
Z
Z
Upstream D– Signal.
Upstream D+ Signal.
18
Downstream Port 1
13
14
36
13
14
36
DD–[1]
DD+[1]
I/O/Z
I/O/Z
O
Z
Z
1
Downstream D– Signal.
Downstream D+ Signal.
AMBER#[1]
LED. Driver output for Amber LED. Port Indicator Support.
Default is Active LOW. Polarity is controlled through EEPROM.
35
30
29
35
30
29
GREEN#[1]
OVR#[1]
O
1
1
Z
LED. Driver output for Green LED. Port Indicator Support.
Default is Active LOW. Polarity is controlled through EEPROM.
Input
O/Z
Overcurrent Condition Detection Input. Default is Active
LOW. Polarity is controlled through EEPROM.
PWR#[1]
Power Switch Driver Output. Default is Active LOW. Polarity
is controlled through EEPROM.
Downstream Port 2
9
9
DD–[2]
DD+[2]
I/O/Z
I/O/Z
O
Z
Z
1
Downstream D– Signal.
Downstream D+ Signal.
10
38
10
38
AMBER#[2]
LED. Driver output for Amber LED. Port Indicator Support.
Default is Active LOW. Polarity is controlled through EEPROM.
37
32
31
37
32
31
GREEN#[2]
OVR#[2]
O
1
1
Z
LED. Driver output for Green LED. Port Indicator Support.
Default is Active LOW. Polarity is controlled through EEPROM.
Input
O/Z
Overcurrent Condition Detection Input. Default is Active
LOW. Polarity is controlled through EEPROM.
PWR#[2]
Power Switch Driver Output. Default is Active LOW. Polarity
is controlled through EEPROM.
Downstream Port 3
5
6
-
-
-
DD–[3]
DD+[3]
I/O/Z
I/O/Z
O
Z
Z
1
Downstream D– Signal.
Downstream D+ Signal.
42
AMBER#[3]
LED. Driver output for Amber LED. Port Indicator Support.
Default is Active LOW. Polarity is controlled through EEPROM.
41
53
54
-
-
-
GREEN#[3]
OVR#[3]
O
1
1
Z
LED. Driver output for Green LED. Port Indicator Support.
Default is Active LOW. Polarity is controlled through EEPROM.
Input
O/Z
Overcurrent Condition Detection Input. Default is Active
LOW. Polarity is controlled through EEPROM.
PWR#[3]
Power Switch Driver Output. Default is Active LOW. Polarity
is controlled through EEPROM.
Downstream Port 4
1
2
-
-
-
DD–[3]
DD+[3]
I/O/Z
I/O/Z
O
Z
Z
1
Downstream D– Signal.
Downstream D+ Signal.
44
AMBER#[3]
LED. Driver output for Amber LED. Port Indicator Support.
Default is Active LOW. Polarity is controlled through EEPROM.
43
51
52
-
-
-
GREEN#[3]
OVR#[3]
O
1
1
Z
LED. Driver output for Green LED. Port Indicator Support.
Default is Active LOW. Polarity is controlled through EEPROM.
Input
O/Z
Overcurrent Condition Detection Input. Default is Active
LOW. Polarity is controlled through EEPROM.
PWR#[3]
Power Switch Driver Output. Default is Active LOW. Polarity
is controlled through EEPROM.
Document #: 38-08037 Rev. *D
Page 9 of 23
Download from Www.Somanuals.com. All Manuals Search And Download.
CY7C656xx
PRELIMINARY
8.0
8.1
Default Descriptors
Device Descriptor
The standard device descriptor for CY7C656xx is based on the VID, PID, and DID found in the SPI EEPROM. This VID/PID/DID
in the EEPROM will overwrite the default VID/PID/DID. If no EEPROM is used, the CY7C656xx will enumerate with the default
descriptor values as shown below.
Byte
Full Speed
0x12
High Speed
0x12
Field Name
bLength
Description
0
1
18 Bytes
0x01
0x01
bDescriptorType
bcdUSB
DEVICE_DESCRIPTOR
2,3
4
0x0110
0x09
0x0200
0x09
USB specification 2.0 in HS (1.1 if forced FS)
bDeviceClass
bDeviceSubClass
bDeviceProtocol
bMaxPacketSize0
wIdVendor
HUB
5
0x00
0x00
None
[4]
[5]
6
0x00
0x01 / 0x02
None
7
0x40
0x40
64 bytes
8,9
10,11
12, 13
0x04B4
0x6560
0xx04B4
0x6560
VID (overwritten by what is defined in EEPROM)
PID (overwritten by what is defined in EEPROM)
DID (overwritten by what is defined in EEPROM)
wIdProduct
0x0910
0x0810
0x0910
0x0810
wbcdDevice
14
15
16
17
0x00
0x00
0x00
0x01
0x00
0x00
0x00
0x01
iManufacturer
iProduct
No manufacturer string supported
No product string supported
No serial string supported
iSerialNumber
bNumConfigurations
One configuration supported
8.2
Configuration Descriptor
Byte
Full Speed
High Speed
Field Name
bLength
Description
9 Bytes
0
1
2
0x09
0x09
[7]
[8]
[7]
[8]
0x02 / 0x07
0x02 / 0x07
bDescriptorType
wTotalLength
CONFIG_DESCRIPTOR
Length of all other descriptors
[4]
0x0019
0x0029
0x0019
0x0029
[5]
4
5
6
7
0x01
0x01
0x00
0x01
0x01
0x00
bNumInterfaces
bConfigurationValue
iConfiguration
1
The configuration to be used
0xA0
0xE0
0xA0
0xE0
bmAttributes
Value depends on pin 45 - SELFPWR signal
SELFPWR = 0 yields 0xA0 and =1 yields 0xE0
[6]
8
0x28
0x57
bMaxPower
8.3
Interface Descriptor
Byte
Full Speed
0x09
High Speed
Field Name
bLength
Description
9 Bytes
0
1
2
3
4
5
6
7
8
0x09
0x04
0x00
0x00
0x01
0x09
0x00
0x04
bDescriptorType
bInterfaceNumber
bAlternateSetting
bNumEndpoints
bInterfaceClass
bInterfaceSubClass
bInterfaceProtocol
iInterface
INTERFACE_DESCRIPTOR
0x00
0x00
0x01
0x09
0x00
[4]
[5]
[4]
[5]
0x00 / 0x01
0x00 / 0x01
0x00
0x00
Notes:
4. If configured as single-TT hub.
5. If configured as multi-TT hub and other speed.
6. This value is configured through the External EEPROM.
7. Configured speed descriptor
8. Other speed descriptor
Document #: 38-08037 Rev. *D
Page 10 of 23
Download from Www.Somanuals.com. All Manuals Search And Download.
CY7C656xx
PRELIMINARY
8.4
Byte
Endpoint Descriptor
Full Speed
0x07
High Speed
Field Name
Description
0
1
0x07
0x05
bLength
7 Bytes
0x05
bDescriptorType
bEndpointAddress
bmAttributes
ENDPOINT_DESCRIPTOR
IN Endpoint #1
2
0x81
0x81
3
0x03
0x03
Interrupt
4,5
6
0x0001
0xFF
0x0001
0x0C
wMaxPacketSize
bInterval
Maximum Packet Size
Polling Rate
8.5
Byte
Full Speed
N/A
High Speed
Field Name
bLength
Description
0
1
2
3
4
5
6
7
8
0x09
0x04
0x00
0x01
0x01
0x09
0x00
0x02
0x00
9 Bytes
N/A
bDescriptorType
bInterfaceNumber
bAlternateSetting
bNumEndpoints
bInterfaceClass
bInterfaceSubClass
bInterfaceProtocol
bInterface
INTERFACE_DESCRIPTOR
Interface Descriptor Index
Alternate Setting for the Interface
Number of Endpoints Defined
Interface Class
N/A
N/A
N/A
N/A
N/A
Interface Sub-Class
N/A
Interface Protocol
N/A
Interface String Index
8.6
Byte
Full Speed
N/A
High Speed
Field Name
bLength
Description
7 Bytes
0
1
0x07
0x05
N/A
bDescriptorType
bEndpointAddress
bmAttributes
ENDPOINT_DESCRIPTOR
IN Endpoint #1
2
N/A
0x81
3
N/A
0x03
Interrupt
4,5
6
N/A
0x0001
0x0C
wMaxPacketSize
bInterval
Maximum Packet Size
Polling Rate
N/A
8.7
Device Qualifier Descriptor
Byte
Full Speed
0x0A
High Speed
0x0A
Field Name
bLength
Description
10 Bytes
0
1
0x06
0x06
bDescriptorType
bcdUSB
DEVICE_QUALIFIER
2,3
4
0x0200
0x09
0x0200
0x09
bDeviceClass
bDeviceSubClass
bDeviceProtocol
5
0x00
0x00
[4]
[5]
6
0x01
0x02
0x00
7
8
9
0x40
0x01
0x00
0x40
0x01
0x00
bMaxPacketSize0
bNumConfigurations
bReserved
Note:
9. If CY7C65640B is configured for singled-TT only or CY7C65630 or CY7C65620 (from the external EEPROM), this descriptor is not present.
10. If connected at high-speed
Document #: 38-08037 Rev. *D
Page 11 of 23
Download from Www.Somanuals.com. All Manuals Search And Download.
CY7C656xx
PRELIMINARY
8.8
Hub Descriptor
Byte All Speed
Field Name
bLength
Description
0
0x09
0x29
9 Bytes
HUB Descriptor
1
2
bDescriptorType
bNbrPorts
0x04
0x02
Number of ports supported, CY7C65640B or CY7C65630.
Number of ports supported, CY7C65620.
[11]
3,4
0x0089
wHubCharacteristics b1, b0: Logical Power Switching Mode
00: Ganged power switching (all ports’ power at once)
01: Individual port power switching (Default in CY7C656xx)
b2: Identifies a Compound Device,
0: Hub is not part of a compound device (Default in CY7C656xx),
1: Hub is part of a compound device.
b4, b3: Over-current Protection Mode
00: Global Overcurrent Protection. The hub reports overcurrent as a
summation of all ports current draw, without a breakdown of individual
port overcurrent status.
01: Individual Port Overcurrent Protection. The hub reports overcurrent on
a per-port basis. Each port has an over-current status (Default in CY7C656xx).
1X: No Overcurrent Protection. This option is allowed only for bus-powered
hubs that do not implement overcurrent protection.
b6, b5: TT Think Time
00: TT requires at most 8 FS bit times of inter transaction gap on a
full-/low-speed downstream bus (Default in CY7C656xx).
b7: Port Indicators Supported,
0: Port Indicators are not supported on its downstream facing ports and
the PORT_INDICATOR request has no effect.
1: Port Indicators are supported on its downstream facing ports and the
(Default in CY7C656xx).
b15,. b8: Reserved
5
6
0x32
0x28
bPwrOn2PwrGood
bHubContrCurrent
Time from when the port is powered to when the power is good on that port
Maximum current requirement for the Hub Controller at full-speed.
Maximum current requirement for the Hub Controller at high-speed.
0xAE
7
0x00
0xFF
bDeviceRemovable
bPortPwrCtrlMask
Indicates if the port has a removable device attached
8
Required for compatibility with software written for 1.0 compliant devices
Note:
11. This value is configured through the External EEPROM.
9.1
Default – 0xD0 Load
9.0
Configuration Options
When used in default mode, only a unique VID, PID, and DID
must be present in the external SPI EEPROM. The contents
of the EEPROM must contain this information in the following
format:
Systems using CY7C656xx that do not have the fuse ROM
pre-set at the factory must have an external EEPROM in order
for the device to have a unique VID, PID, and DID. The
CY7C656xx can communicate with SPI EEPROM that are
either double byte addressed or a single byte with the 9th bit
within the instruction byte, such as the 24LC040 parts use. The
25LC080 EEPROM uses the double byte address format, and
therefore the CY7C656xx can communicate with these parts.
The '010s and '020s uses the same command format as used
to interface with the ‘040 and hence these can also be used to
interface with the CY7C656xx.
Byte
Value
0
1
2
3
4
5
6
0xD0
VID (LSB)
VID (MSB)
PID (LSB)
PID (MSB)
reversed
DID (MSB)
Document #: 38-08037 Rev. *D
Page 12 of 23
Download from Www.Somanuals.com. All Manuals Search And Download.
CY7C656xx
PRELIMINARY
Byte 9: MaximumPower
9.2
Byte
Configured – 0xD2 Load
Value (MSB->LSB)
This value is reported in the ConfigurationDescriptor:bMax-
Power field and is the current in 2-mA intervals that is re-
quired from the upstream hub. Default: 0x28 = 80 mA for
full-speed and 0x57 = 174 mA for high-speed.
0
1
2
3
4
5
6
7
0xD2
VID (LSB)
VID (MSB)
PID (LSB)
PID (MSB)
reversed
Byte 10: HubControllerPower
This value is reported in the HubDescriptor:bHubContrCur-
rent field and is the current in milliamperes required by the
hub controller. Default: 0x28 = 80 mA for full-speed and
0x57 = 174 mA for high-speed.
Byte 11: PowerOnTimer
DID (MSB)
This value is reported in the HubDescriptor:
bPwrOn2PwrGood field and is the time in 2-ms intervals
from the SetPortPower command until the power on the
corresponding downstream port is good. Default: 0x32 =
100 ms.
EnableOverCurrentTimer[3:0], DisableOvercurrent-
Timer[3:0]
8
9
ActivePorts[3:0], RemovablePorts[3:0]
MaxPower
Byte 12: IllegalHubDescriptor, CompoundDevice, Full-
speedOnly, NoPortIndicators, Reserved, GangPowered,
SingleTTOnly
10 HubControllerPower
11 PowerOnTimer
12 IllegalHubDescriptor, CompoundDevice,
FullspeedOnly, NoPortIndicators, Reserved,
GangPowered, SingleTTOnly, Reserved
Bit 7: IllegalHubDescriptor: For GetHubDescriptor request,
some USB hosts use a DescriptorTypeof 0x00 instead of
HUB_DESCRIPTOR, 0x29. According to the USB 2.0 stan-
dard, a hub must treat this as a Request Error, and STALL
the transaction accordingly (USB 2.0, 11.24.2.5). For sys-
tems that do not accept this, the IllegalHubDescriptor con-
figuration bit may be set to allow CY7C656xx to accept a
DescriptorType of 0x00 for this command. Default is 1.
Byte 0: 0xD2
Needs to be programmed with 0xD2
Byte 1: VID (LSB)
Least Significant Byte of Vendor ID
Byte 2: VID (MSB)
Bit 6: CompoundDevice: Indicates whether the hub is part
of a compound device. This is reported in the HubDescrip-
tor, wHub-Characteristics: b2. Default set to 0.
Most Significant Byte of Vendor ID
Byte 3: PID (LSB)
Bit 5: Fullspeed: Only configures the hub to be a full-speed
only device. Default set to 0.
Least Significant Byte of Product ID
Byte 4: PID (MSB)]
Bit 4: NoPortIndicators: Turns off the port indicators and
does not report them as present in the HubDescriptor,
wHubCharacteristics b7 field. Default set to 0.
Most Significant Byte of Product ID
Byte 5: Reserved
Bit 3: Reserved. Should be set to 0.
Reserved.
Bit 2: GangPowered: Indicates whether the port power
switching is ganged (set to 1) or per-port (set to 0). This is
reported in the HubDescriptor, wHubCharacteristics field,
b4, b3, b1, and b0. Default set to 0.
Byte 6: DID (MSB)]
Most Significant Byte of Device ID
Byte 7: EnableOvercurrentTimer[3:0], DisabledOvercur-
rentTimer[3:0]
Bit 1: SingleTTOnly: Indicates that the hub should only sup-
port single Transaction Translator mode. This changes var-
ious descriptor values. Default set to 0.
Count time in ms for filtering overcurrent detection. Bits 7–4
are for an enabled port, and bits 3–0 are for a disabled port.
8 ms = 0x88.
Bit 0: Reserved. Default set to 0.
9.3
Byte
Configured – 0xD4 Load
Value (MSB->LSB)
Byte 8: ActivePorts[3:0], RemovablePorts[3:0]
Bits 7–4 are the ActivePorts[3:0] bits that indicates if the
corresponding port is usable. For example, a two-port hub
that uses ports 1 and 4 would set this field to 0x09. The total
number of ports reported in the Hub Descriptor: bNbrPorts
field is calculated from this. Bits 3–0 are the Removable-
Ports[3:0] bits that indicates whether the corresponding
port is removable (set to high). This bit values are recorded
appropriately in the HubDescriptor:DeviceRemovable field.
Default: 0xFF.
0
1
2
3
4
5
6
0xD4
VID (LSB)
VID (MSB)
PID (LSB)
PID (MSB)
reserved
DID (MSB)
Document #: 38-08037 Rev. *D
Page 13 of 23
Download from Www.Somanuals.com. All Manuals Search And Download.
CY7C656xx
PRELIMINARY
Byte 4: PID (MSB)]
Byte
Value (MSB->LSB)
Most Significant Byte of Product ID
Byte 5: Reserved
7
EnableOverCurrentTimer[3:0], DisableOvercur-
rentTimer[3:0]
8
MaxPower (Full-speed)
MaxPower (High-speed)
Reserved
Reserved.
9
Byte 6: DID (MSB)]
10
11
12
13
14
15
16
17
Most Significant Byte of Device ID
Reserved
Byte 7: EnableOvercurrentTimer[3:0], DisabledOvercur-
rentTimer[3:0]
HubControllerPower Full-Speed
HubControllerPower High-Speed
Reserved
Count time in ms for filtering overcurrent detection. Bits 7–4
are for an enabled port, and bits 3–0 are for a disabled port.
8 ms = 0x88.
Reserved
Byte 8: MaximumPower (Full-Speed)
PowerOnTimer
This value is reported in the ConfigurationDescriptor:bMax-
Power field and is the current in 2-mA intervals that is re-
quired from the upstream hub when connected at full-
speed. Default: 0x28 = 160 mA for full-speed.
IllegalHubDescriptor, CompoundDevice,
FullspeedOnly, NoPortIndicators, Reserved,
GangPowered, SingleTTOnly, Reserved
18
AmberPolarity, GreenPolarity, ModulateIndicators,
PowerControlPolarity, OverCurrentPolarity,
OverCurrentMode1, OverCurrentMode2
Byte 9: MaximumPower (High-Speed)
This value is reported in the ConfigurationDescriptor:bMax-
Power field and is the current in 2-mA intervals that is re-
quired from the upstream hub when connected at high-
speed. Default: 0x57 = 348 mA for high-speed.
19
20
21
22
23
24
Write Protect
NumLangs
SupportedStrings
ActivePorts[3:0]
RemovablePorts[3:0]
LangID
Byte 10: Reserved
Zeros should be written to this location.
Byte 11: Reserved
Zeros should be written to this location.
Byte 12: HubControllerPower (Full-Speed)
a
iManufacturer
=24+2N
This value is reported in the HubDescriptor:bHubContrCur-
rent field and is the current in milliamperes required by the
hub controller when connected on the upstream hub as a
full-speed. Default: 0x50 = 80 mA for full-speed.
b
iProduct
=a+2N
c
iSerialNumber
iConfiguration(FS)
iConfiguration(HS)
iInterface(0)
=b+2N
Byte 13: HubControllerPower (High-speed)
d
This value is reported in the HubDescriptor:bHubContrCur-
rent field and is the current in milliamperes required by the
hub controller when connected on the upstream hub as a
high-speed. Default: 0xAE = 174 mA for high-speed.
=c+2N
e
=d+2N
f
Byte 14: Reserved
=e+2N
Zeros should be written to this location.
Byte 15: Reserved
g
iInterface(1)
=f+2N
Zeros should be written to this location.
Byte 16: PowerOnTimer
h=g+2N Strings
N:NumLangs
This value is reported in the HubDescriptor:
bPwrOn2PwrGood field and is the time in 2-ms intervals
from the SetPortPower command until the power on the
corresponding downstream port is good. Default: 0x32 =
100 ms.
Byte 0: 0xD3
Needs to be programmed with 0xD3
Byte 1: VID (LSB)
Byte 17: IllegalHubDescriptor, CompoundDevice, Full-
speedOnly, NoPortIndicators, Reserved, GangPowered,
SingleTTOnly
Least Significant Byte of Vendor ID
Byte 2: VID (MSB)
Bit 7: IllegalHubDescriptor: For GetHubDescriptor request,
some USB hosts use a DescriptorTypeof 0x00 instead of
HUB_DESCRIPTOR, 0x29. According to the USB 2.0 stan-
dard, a hub must treat this as a Request Error, and STALL
the transaction accordingly (USB 2.0, 11.24.2.5). For sys-
Most Significant Byte of Vendor ID
Byte 3: PID (LSB)
Least Significant Byte of Product ID
Document #: 38-08037 Rev. *D
Page 14 of 23
Download from Www.Somanuals.com. All Manuals Search And Download.
CY7C656xx
PRELIMINARY
tems that do not accept this, the IllegalHubDescriptor con-
figuration bit may be set to allow CY7C656xx to accept a
DescriptorType of 0x00 for this command. Default is 0, rec-
ommended setting is 1.
Bit 0: OverCurrentMode2—Reported as bit 3 of the wHub-
Characteristics field of the hub descriptor. If Bit 1 of this byte
is set to ‘0’, over-current detection is enabled. If this bit (Bit
0) is set to ‘1’, the hub reports over-current on a per-port
basis. If set to ‘0’, the hub reports over-current as the sum-
mation of all ports’ current draw.
Bit 6: CompoundDevice: Indicates whether the hub is part
of a compound device. This is reported in the HubDescrip-
tor, wHub-Characteristics: b2. Default set to 0.
Byte 19: Write Protect
Bit 5: Fullspeed: Only configures the hub to be a full-speed
only device. Default set to 0.
Byte 20: NumLangs
Bit 4: NoPortIndicators: Turns off the port indicators and
does not report them as present in the HubDescriptor,
wHubCharacteristics b7 field. Default set to 0.
Number of supported string languages. CHC supports a
maximum of 31 languages; if this field is set to 0 or a num-
ber larger than 31, all string support will be disabled.
Bit 3: Reserved. Should be set to 0.
Byte 21: SupportedStrings
Bit 2: GangPowered: Indicates whether the port power
switching is ganged (set to 1) or per-port (set to 0). This is
reported in the HubDescriptor, wHubCharacteristics field,
b4, b3, b1, and b0. Default set to 0.
This field contains a bitmap of strings supported by the hub.
A set bit indicates that the standard string is supported. A
bit not set indicates that the string is not supported. The hub
controller will return a non-zero index for each string which
is supported, and will return 0x00 for each string not sup-
ported, as indicated by this field. The bits in this field corre-
spond to the following standard strings.
Bit 1: SingleTTOnly: Indicates that the hub should only sup-
port single Transaction Translator mode. This changes var-
ious descriptor values. Default set to 0.
Bit 0: Reserved. Default set to 0.
Bit Name
Description
Byte 18: AmberPolarity, GreenPolarity, SelfPowerable,
ModulateIndicators, PowerControlPolarity, OverCurrent-
Polarity, OverCurrentMode1, OverCurrentMode2
7
6
reserved
iInterface (1) The iInterface string index reported in
the second interface descriptor
(alternate setting 1).
Bit 7: AmberPolarity—Indicates the polarity of the amber
indicator control.
5
4
iInterface (0) The iInterface string index reported in
the first interface descriptor (alternate
setting 0).
Bit 6: GreenPolarity—Indicates the polarity of the green in-
dicator control.
Bit 5: SelfPowerable—Indicates whether the hub is capable
of operating in self-powered mode. If ‘0’, the hub is capable
of bus-powered operation only.
iConfiguration (high-speed) The iConfiguration string
index reported in the configuration
descriptor, when operating at high-
speed.
Bit 4: ModulateIndicators—If this bit is set, the indicator out-
puts will be modulated by a square wave of programmable
frequency, for power savings. If ‘0’, the outputs will be static.
3
iConfiguration (full-speed) The iConfiguration string
index reported in the configuration
descriptor, when operating at full-
speed.
Bit 3: PowerControlPolarity—If set, the power control out-
puts will be active HIGH. If not set, the power control out-
puts will be active LOW.
2
1
0
iSerialNumber The iSerialNumber string index
reported in the device descriptor.
Bit 2: OverCurrentPolarity—If set, the over-current inputs
will be active HIGH. If not set, the over-current inputs will
be active LOW.
iProduct
The iProduct string index reported in
the device descriptor.
Bit 1: OverCurrentMode1—Reported as bit 4 of the wHub-
Characteristics field of the hub descriptor. If set to ‘1’, this
bit disables over-current detection.
iManufacturer The iManufacturer string index
reported in the device descriptor.
Document #: 38-08037 Rev. *D
Page 15 of 23
Download from Www.Somanuals.com. All Manuals Search And Download.
CY7C656xx
PRELIMINARY
Byte 22: ActivePorts[3:0]
Byte c: iSerialNumber
Bits 3–0 are the ActivePorts[3:0] bits that indicates if the
corresponding port is usable. For example, a two-port hub
that uses ports 1 and 4 would set this field to 0x09. The total
number of ports reported in the Hub Descriptor: bNbrPorts
field is calculated from this.
Array of addresses for the iSerialNumber strings. Each ad-
dress is two bytes long, stored LSB first. The array has
NumLangs entries (2 * NumLangs bytes).
The address c = b + 2 * NumLangs.
Byte d: iConfiguration(Full-Speed)
Byte 23: RemovablePorts[3:0]
Array of addresses for the iConfiguration (full-speed)
strings. Each address is two bytes long, stored LSB first.
The array has NumLangs entries (2 * NumLangs bytes).
The address d = c + 2*NumLangs.
Bits 3–0 are the RemovablePorts[3:0] bits that indicates
whether the corresponding port is removable (set to high).
This bit values are recorded appropriately in the
HubDescriptor:DeviceRemovable field. Default: 0xFF.
Byte e: iConfiguration(High-Speed)
Byte 24: LangID
Array of addresses for the iConfiguration (high-speed)
strings. Each address is two bytes long, stored LSB first.
The array has NumLangs entries (2 * NumLangs bytes).
The address e = d + 2 * NumLangs.
Array of LangID codes supported by the hub. Each LangID
consists of two bytes, stored LSB first. The array has Num-
Langs entries (2 * NumLangs bytes).
Byte a: iManufacturer
Byte f: iInterface(0)
Array of addresses for the iManufacturer strings. Each ad-
dress is two bytes long, stored LSB first. The array has
NumLangs entries (2 * NumLangs bytes). (The starting EE-
PROM address is based upon the number entered for
NumLangs.
Array of addresses for the iInterface(0) strings. Each ad-
dress is two bytes long, stored LSB first. The array has
NumLangs entries (2 * NumLangs bytes).
The address f = e + 2 * NumLangs.
Byte g: iInterface(1)
The address a = 24 + 2 * NumLangs.
Array of addresses for the iInterface(1) strings. Each ad-
dress is two bytes long, stored LSB first. The array has
NumLangs entries (2 * NumLangs bytes).
Byte b: iProduct
Array of addresses for the iProduct strings. Each address
is two bytes long, stored LSB first. The array has Num-
Langs entries (2 * NumLangs bytes).
The address g = f + 2 * NumLangs.
Byte h: Strings
The address b = a + 2*NunLangs.
Strings addressed by the string pointers. Strings must com-
ply with the USB specification. The first byte must be the
length of the string in bytes, the second must be 0x03, and
the string must be in Unicode.
10.0
10.1
Supported USB Requests
Device Class Commands
Table 10-1. Device Class Requests
Request
GetDeviceStatus
GetInterfaceStatus
bmRequestType bRequest
wValue
0x0000
wIndex
0x0000
wLength
0x0002
Data
10000000B
10000001B
0x00
0x00
2 Byte Device Status
0x0000
0x0000
0x0001
0x0002
0x0006
0x0007
0x0000
0x0000
0x0000
Zero or
0x0002
2 Byte Endpoint
Status
GetEndpointStatus
GetDeviceDescriptor
GetConfigDescriptor
10000010B
10000000B
10000000B
10000000B
10000000B
0x00
0x06
0x06
0x06
0x06
0x0002
2 Byte Endpoint
Status
Descriptor Descriptor
Language ID Length
Zero or
Language ID Length
Descriptor Descriptor
GetDeviceQualifierDe-
scriptor
Zero or
Language ID Length
Descriptor Descriptor
GetOtherSpeedConfigura-
tionDescriptor
GetConfiguration[12]
SetCongfiguration[12]
Zero or
Language ID Length
Descriptor Descriptor
10000000B
00000000B
0x08
0x09
0x0000
0x0000
0x0001
0x0000
Configuration value
None
Configuration
Value
GetInterface
10000001B
0xA
0x0000
0x0000
0x0001
Interface Number
Note:
12. Only one configuration is supported in CY7C656xx.
Document #: 38-08037 Rev. *D
Page 16 of 23
Download from Www.Somanuals.com. All Manuals Search And Download.
CY7C656xx
PRELIMINARY
Table 10-1. Device Class Requests (continued)
Request
bmRequestType bRequest
wValue
Alternate
Setting
wIndex
Interface
Number
wLength
Data
SetInterface
00000001B
0x0B
0x0000
None
SetAddress
00000000B
00000000B
00000000B
00000000B
00000000B
00000000B
00000000B
00000000B
0x05
0x03
0x03
0x03
0x03
0x03
0x03
0x01
Device Address 0x0000
0x0000
0x0000
0x0000
0x0000
0x0000
0x0000
0x0000
0x0000
None
None
None
None
None
None
None
None
SetDeviceRemoteWakeup
SetDeviceTest_J
0x01
0x02
0x02
0x02
0x02
0x00
0x01
0x0000
0x0100
0x0200
0x0300
0x0400
0x0000
0x0000
SetDeviceTest_K
SetDeviceTest_SE0_NAK
SetDeviceTest_Packet
SetEndpointHalt
ClearDeviceRe-
moteWakeup
ClearEndpointHalt
00000000B
0x01
0x00
0x0000
0x0000
None
10.2
Hub Class Commands
Table 10-2. Hub Class Requests
Request
bmRequestType bRequest
wValue
wIndex
wLength
Data
GetHubStatus
10100000B
0x00
0x0000
0x0000
0x0004
Hub Status (See Table 11-19
of Spec) Change Status
(See Table 11-20 of Spec)
GetPortStatus
10100011B
0x00
0x0000
Byte 0: 0x00 0x0004
Byte 1: Port
PortStatus (See Table 11-21
of Spec) Change Status
(See Table 11-20 of Spec)
ClearHubFeature
ClearPortFeature
00100000B
00100011B
0x01
0x01
Feature
Selectors
0x0000
0x0000
None
[13]
[13]
0 or 1
Feature
Selectors
Byte 0: 0x00 0x0000
Byte 1: Port
None
1, 2, 8, 16, 17, 18, 19,
or 20
[13]
ClearPortFeature
00100011B
0x01
Feature Selectors
22
Byte 0:
Selectors
0x0000
None
[14]
(PORT_INDICATOR) 0, 1, 2, or 3
Byte 1: Port
SetHubFeature
SetPortFeature
SetPortFeature
00100000B
00100011B
00100011B
0x03
0x03
0x03
Feature
Selector
0 or 1
0x0000
0x0000
0x0000
0x0000
[13]
Feature
Selectors
2, 4 or 8
Port
None
None
[13]
Feature
Selector
Byte 0:
Selectors
[13]
[15]
21
(PORT_TEST)
1,2, 3, 4 or 5
Byte 1: Port
SetPortFeature
00100011B
10100000B
0x03
0x06
Feature
Selector
Byte 0:
Selectors
0x0000
None
[13]
[14]
22
(PORT_INDICATOR) 0, 1, 2, or 3
Byte 1: Port
GetHubDescriptor
Descriptor Type and
Descriptor Index
Hub
Descriptor
Length
Notes:
Document #: 38-08037 Rev. *D
Page 17 of 23
Download from Www.Somanuals.com. All Manuals Search And Download.
CY7C656xx
PRELIMINARY
Table 10-2. Hub Class Requests (continued)
Request
ClearTTBuffer
ResetTT
bmRequestType bRequest
wValue
wIndex
wLength
Data
00100011B
00100000B
0x08
0x09
Dev_Addr, EP_Num TT_Port
0x0000
None
None
0x0000
TT_Flags
0x0000
Byte 0: 0x00 0x0000
Byte 1: Port
GetTTState
StopTT
10100011B
00100011B
0X0A
0x0B
Byte 0: 0x00 TT State TT State
Byte 1: Port Length
Byte 0: 0x00 0x0000
Byte 1: Port
None
Vendor Commands
Read EEPROM
11000000B
0x02
0x00
0x00
Length
Data
This request results in Length bytes of Data being read from the external memory device, and returned to the host. Data is read
beginning with address 0. This request will fail if there is no external memory device present. This request is only valid if the hub
is in the Configured state; the request will fail otherwise.
Write EEPROM
01000000B
0x01
0x00
0x00
Length
Data
This request results in Length bytes of Data being written to the external memory device. Data is written beginning with address
0. This request will fail if there is no external memory device present. This request is only valid if the hub is in the Configured
state; the request will fail otherwise.
PORT_TEST (0x21)
Table 10-3. Hub Class Feature Selector
[15]
Feature Selector
C_HUB_LOCAL_POWER
C_HUB_OVER_CURRENT
PORT_CONNECTION
PORT_ENABLE
Recipient
Value
0
PORT_TEST Mode Description
Test_J
Selector Value
Hub
Hub
Port
Port
Port
Port
Port
Port
Port
Port
Port
Port
Port
Port
Port
1
2
3
4
5
1
Test_K
0
Test_SE0_NAK
Test_Packet
Test_Force_Enable
1
PORT_SUSPEND
2
PORT_RESET
4
PORT_POWER
8
PORT_LOW_SPEED
C_PORT_CONNECTION
C_PORT_ENABLE
C_PORT_SUSPEND
C_PORT_OVER_CURRENT
C_PORT_RESET
9
16
17
18
19
20
21
22
PORT_TEST
PORT_INDICATOR
Table 10-5. Port Indicator Selector for Feature Selector PORT_INDICATOR (0x22)
Port Indicator Color
Selector Value
Port Indicator Mode
Color Set Automatically as shown in Table 5-1
0
1
2
3
Automatic Mode
Manual Mode
Manual Mode
Manual Mode
Amber
Green
Off
Note:
Document #: 38-08037 Rev. *D
Page 18 of 23
Download from Www.Somanuals.com. All Manuals Search And Download.
CY7C656xx
PRELIMINARY
Upstream USB Connection
11.0
The following is a schematic of the USB upstream connector.
BUSPOWER
VCC
D–
D+
D–
2.2 µF
10V
D+
100 kΩ
GND
SHELL
4.7 nF 250V
1 MΩ
Figure 11-1. USB Upstream Port Connection
Downstream USB Connections
12.0
The following is a schematic of the USB downstream
connector.
PWRx
VCC
D–
150 µF
10V
0.01 µF
DD–[X]
DD+[X]
D+
GND
SHELL
Figure 12-1. USB Downstream Port Connection
LED Connections
13.0
The following is a schematic of the LED circuitry.
3.3V
680Ω
680Ω
GREEN#[x]
AMBER#[x]
Figure 13-1. USB Downstream Port Connection
Document #: 38-08037 Rev. *D
Page 19 of 23
Download from Www.Somanuals.com. All Manuals Search And Download.
CY7C656xx
PRELIMINARY
14.0
System Block Diagram
5V
BUSPOWER
VCC
PWR1
VCC
D–
PWR1
DD–[1]
DD+[1]
PWR4
D–
D+
D–
2.2 µF
10V
150 µF
10V
OVR1
Power
Management
D+
0.01 µF
PWR2
OVR2
PWR3
PWR3
PWR2
PWR1
D+
100 kΩ
GND
GND
SHELL
OVR3
PWR4
OVR4
SHELL
3.3V
4.7 nF 250V
680Ω
GREEN#[1]
AMBER#[1]
1 MΩ
680Ω
SPI_SD
SPI
EEPROM
SPI_SCK
SPI_CS
PWR2
VCC
SPI_SD
DD–[2]
DD+[2]
0.01 µF
D–
D+
150 µF
10V
GND
SHELL
24 MHz
3.3V
680Ω
3V
GREEN#[2]
AMBER#[2]
12 pF
12 pF
680Ω
BUSPOWER BUSPOWER
PWR3
VCC
D–
GREEN[1] GREEN[1]
AMBER[1] AMBER[1]
DD-[3]
DD+[3]
0.01 µF
150 µF
10V
3.3V
100K
D+
GREEN[2] GREEN[2]
AMBER[2] AMBER[2]
GND
SHELL
GREEN[3] GREEN[3]
AMBER[3] AMBER[3]
RESET
D– D-
3.3 V
0.1µF
680Ω
680Ω
GREEN#[3]
AMBER#[3]
GREEN[4] GREEN[4]
AMBER[4] AMBER[4]
D+ D+
HX2LP
PWR1 PWR1
OVR1 OVR1
DD–[1] DD-[1]
DD+[1] DD+[1]
PWR2 PWR2
OVR2 OVR2
DD–[2] DD-[2]
DD+[2] DD+[2]
PWR4
PWR3 PWR3
OVR3 OVR3
VCC
D–
DD-[4]
DD+[4]
150 µF
10V
DD–[3] DD-[3]
DD+[3] DD+[3]
PWR4 PWR4
OVR4 OVR4
D+
0.01 µF
GND
SPI_CS SPI_CS
SHELL
DD–[4] DD-[4]
DD+[4] DD+[4]
SPI_SCK SPI_SCK
3.3 V
SPI_SD SPI_SD
680Ω
680Ω
GREEN#[4]
AMBER#[4]
Figure 14-1. Sample Schematic
Document #: 38-08037 Rev. *D
Page 20 of 23
Download from Www.Somanuals.com. All Manuals Search And Download.
CY7C656xx
PRELIMINARY
15.0
15.1
Electrical Characteristics
Absolute Maximum Ratings
15.2
Operating Conditions
T (Ambient Temperature Under Bias)............. 0°C to +70°C
Storage Temperature ................................ –65°C to +150 °C
Ambient Temperature with Power Applied........ 0°C to +70°C
Supply Voltage to Ground Potential .............. –0.5V to +4.0V
DC Voltage Applied to Outputs in High Z State
A
Supply Voltage ...........................................+3.15V to +3.45V
Ground Voltage ................................................................. 0V
FOSC (Oscillator or Crystal Frequency)...... 24 MHz ± 0.05%
...............................................................–0.5V to V + 0.5V
CC
parallel resonant,
fundamental mode,
12-pF load capacitance,
0.5 mW
Power Dissipation (4 HS ports)...................................TBD W
Static Discharge Voltage...........................................> 2000V
Max. Output Sink Current per I/O ................................10 mA
15.3
DC Electrical Characteristics
Description
Supply Voltage
RampUp Ramp rate on V
Parameter
Conditions
Min.
Typ.
Max. Unit
V
V
V
V
3.15
3.3
3.45
18
V
V/ms
V
CC
CC
IH
CC
Input High Voltage
Input Low Voltage
Input Leakage Current
Output Voltage High
Output Low Voltage
Output Current High
Output Current Low
Input Pin Capacitance
Suspend Current
2
5.25
0.8
–0.5
V
IL
I
0 < V < V
CC
±10
µA
V
l
IN
V
V
I
I
= 4 mA
2.4
OH
OL
OUT
OUT
= –4 mA
0.4
4
V
I
I
mA
mA
pF
µA
OH
OL
4
C
10
IN
I
TBD
SUSP
CC
I
Supply Current
4 Active ports
Full-speed Host, Full-speed Devices
High-speed Host, High-speed Devices
High-speed Host, Full-speed Devices
Full-speed Host, Full-speed Devices
High-speed Host, High-speed Devices
High-speed Host, Full-speed Devices
Full-speed Host
53
174
77
mA
mA
mA
mA
mA
mA
mA
mA
2 Active Ports
50
123
75
No Active Ports
48
High-speed Host
72
15.4
USB Transceiver
15.5
AC Electrical Characteristics
USB 2.0-Compliant in full-, low-, and high-speed modes.
Both the upstream USB transceiver and all four downstream
transceivers have passed the USB-IF USB 2.0 Electrical Certi-
fication Testing.
15.5.1 Serial Peripheral Interface
Parameter
Description
Clock Rise/Fall Time
Clock Frequency
Data Set-up Time
Hold Time
Conditions
Min.
Typ.
Max.
500
Unit
ns
250
KHz
ns
50
100
1.9
ns
Reset Period
ms
Document #: 38-08037 Rev. *D
Page 21 of 23
Download from Www.Somanuals.com. All Manuals Search And Download.
CY7C656xx
PRELIMINARY
16.0
Ordering Information
Ordering Code
Package Type
CY7C65640B-56LFXC
CY7C65630-56LFXC
CY7C65620-56LFXC
CY46XX
56-pin QFN Mult-TT
56-pin QFN Single-TT
56-pin QFN 2-Port Single-TT
CY7C656xx USB 2.0 4 port Hub Reference Design Kit
17.0
Package Diagrams
The CY7C656xx is available in a space-saving 56-pin QFN
(8 × 8 mm).
56-Lead QFN 8 x 8 MM LF56A
TOP VIEW
BOTTOM VIEW
SIDE VIEW
0.08[0.003]
C
1.00[0.039] MAX.
7.90[0.311]
8.10[0.319]
A
0.05[0.002] MAX.
0.20[0.008] REF.
0.80[0.031] MAX.
0.18[0.007]
0.28[0.011]
7.70[0.303]
7.80[0.307]
PIN1 ID
N
N
0.20[0.008] R.
1
2
1
2
0.45[0.018]
0.80[0.031]
DIA.
E-PAD
(PAD SIZE VARY
BY DEVICE TYPE)
0.30[0.012]
0.50[0.020]
0.24[0.009]
0.60[0.024]
(4X)
0°-12°
0.50[0.020]
6.45[0.254]
6.55[0.258]
C
SEATING
PLANE
Dimensions in mm
E-Pad size 6.0 x 6.0 mm typ
51-85144-*D
Windows is a registered trademark of Microsoft Corporation. TetraHub and EZ-USB HX2LP are trademarks of Cypress Semicon-
ductor Corporation. All product and company names mentioned in this document are trademarks of their respective holders.
Document #: 38-08037 Rev. *D
Page 22 of 23
© Cypress Semiconductor Corporation, 2005. 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
Download from Www.Somanuals.com. All Manuals Search And Download.
CY7C656xx
PRELIMINARY
Document History Page
Document Title: CY7C656xx EZ-USB HX2LP™ Low-Power USB 2.0 Hub Controller Family
Document Number: 38-08037
Orig. of
REV.
**
ECN NO. Issue Date Change
Description of Change
131505 02/12/2004
JTC
New Data Sheet
*A
231329
See ECN
KKU
Changed load capacitors to 12 pF, updated part numbers, added functional
overviews, block descriptions, pin configurations, default descriptors, config-
urations options, supported USB requests, electrical characteristics and
package diagram
*B
*C
250869
330195
See ECN
See ECN
ARI
Added typical values for Icc in Table 15.3, changed MPN CY7C65650 to
CY7C65640B, added CY7C65620 package
KKU
Added Reset period in table 15.5.1
Added 0xD4 EEPROM Load
Added vendor command values
Added V ramp rate
CC
Updated block diagram
*D
342997
See ECN
KKU
Updated features list.
Removed from section 5.2 “Once the hub is configured, the full hub function-
ality is available.”
Added reference to 0xD4 load to section 5.4
Added reference to polarity control in sections 5.6 and 5.7
Updated table 5-1 to match USB-IF spec changes.
Added LED modulation to section 5.8
Updated pin description table - SELFPWR# to SELFPWR and removed refer-
ences to limitations of bus powered. Added reference to polarity control
on PWR#, OVR# and LED control lines.
Updated Default descriptors
Updated EEPROM list to include 25LC080
Removed NoEOPatEOF1 bit.
Added LED polarity control
Document #: 38-08037 Rev. *D
Page 23 of 23
Download from Www.Somanuals.com. All Manuals Search And Download.
|