CY7C656xx
EZ-USB HX2LP™
Low Power USB 2.0 Hub Controller Family
Features
■
■
■
■
■
■
■
■
■
■
■
■
■
■
■
Integrated upstream and downstream termination resistors
Integrated port status indicator control
24 MHz external crystal (integrated PLL)
In-system EEPROM programming
Configurable with external SPI EEPROM:
❐
Vendor ID, Product ID, Device ID (VID/PID/DID)
❐
Number of active ports
❐
Number of removable ports
❐
Maximum power setting for high speed and full speed
❐
Hub controller power setting
❐
Power on timer
❐
Overcurrent detection mode
❐
Enabled and disabled overcurrent timer
❐
Overcurrent pin polarity
❐
Indicator pin polarity
❐
Compound device
❐
Enable full speed only
❐
Disable port indicators
❐
Ganged power switching
❐
Self and bus powered compatibility
❐
Fully configurable string descriptors for multiple language
support
USB 2.0 hub controller
Automotive AEC grade option (–40°C to 85°C)
Compliant with the USB 2.0 specification
USB-IF Certified: TID# 30000009
Windows Hardware Quality Lab (WHQL) compliant
Up to four downstream ports supported
Supports bus powered and self powered modes
Single Transaction Translator (TT)
Bus power configurations
Fit, form, and function compatible with CY7C65640 and
CY7C65640A (TetraHub™)
Space saving 56-pin QFN
Single power supply requirement
❐
Internal regulator for reduced cost
Integrated upstream pull up resistor
Integrated pull down resistors for all downstream ports
■
■
■
■
Block Diagram
CY7C65630
24 MHz
Crystal
D+
D-
High-Speed
USB Control Logic
SPI Communication
Block
SPI_SCK
SPI_SD
SPI_CS
USB 2.0 PHY
PLL
USB Upstream Port
Serial
Interface
Engine
Transaction Translator
Hub Repeater
TT RAM
Routing Logic
USB Downstream Port 1
USB 2.0
PHY
Port Power
Control
Port
Status
USB Downstream Port 2
USB 2.0
PHY
Port Power
Control
Port
Status
USB Downstream Port 3
USB 2.0
PHY
Port Power
Control
Port
Status
USB Downstream Port 4
USB 2.0
PHY
Port Power
Control
Port
Status
D+
D-
PWR#[1]
LED D+
OVR#[1]
D- PWR#[2]
OVR#[2]
LED
D+
D-
PWR#[3]
LED D+
OVR#[3]
D-
PWR#[4]
LED
OVR#[4]
Cypress Semiconductor Corporation
Document Number: 38-08037 Rev. *L
•
198 Champion Court
•
San Jose
,
CA 95134-1709
•
408-943-2600
Revised May 11, 2009
[+] Feedback
CY7C656xx
Block Diagram CY7C65620
D+
D-
High-Speed
USB Control Logic
SPI Communication
Block
SPI_SCK
SPI_SD
SPI_CS
USB 2.0 PHY
24 MHz
Crystal
PLL
USB Upstream Port
Serial
Interface
Engine
Transaction Translator (X1)
Hub Repeater
TT RAM
Routing Logic
USB Downstream Port 1
USB 2.0
PHY
Port Power
Control
Port
Status
USB Downstream Port 2
USB 2.0
PHY
Port Power
Control
Port
Status
D+
D- PWR#[1]
OVR#[1]
LED
D+
D-
PWR#[2]
LED
OVR#[2]
Document Number: 38-08037 Rev. *L
Page 2 of 25
[+] Feedback
CY7C656xx
Introduction
EZ-USB HX2LP™ is Cypress’ 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 Trans-
action 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 HX2LP portfolio consists of:
1. CY7C65630: 4-port/single transaction translator
This device option is for ultra low power applications that re-
quire four downstream ports. All four ports share a single
transaction translator. The CY7C65630 is available in a 56
QFN and is also pin-for-pin compatible with the CY7C65640.
2. CY7C65620:
This device option is for a 2-port bus powered application.
Both ports share a single transaction translator. The
CY7C65620 is available in a 56 QFN.
All device options are supported by Cypress’ world class
reference design kits, which include board schematics, bill of
materials, Gerber files, Orcad files, and thorough design
documentation.
hub, the route only includes the repeater and no TT, because the
device and the hub are operating at the same speed. When the
hub is operating at full speed (the upstream port is connected to
a full speed host controller), a high speed peripheral does not
operate at its full capability. These devices only work at full
speed. Full and low speed devices connected to this hub operate
at their normal speed.
Applications
Typical applications for the HX2LP device family are:
■
■
■
■
■
■
■
■
Standalone hubs
Motherboard hubs
Monitor hubs
Advanced port replicators
Docking stations
Split-PC designs
External personal storage drives
Keyboard hubs
Functional Overview
The Cypress CY7C656xx USB 2.0 Hubs are high performance,
low system cost solutions for USB. The CY7C656xx USB 2.0
Hubs integrate 1.5 k
Ω
upstream pull up resistors for full speed
operation and all downstream 15 k
Ω
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.
USB Serial Interface Engine
The Serial Interface Engine (SIE) allows the CY7C656xx to
communicate with the USB host. The SIE handles the following
USB activity independently of the Hub Control Block.
■
■
■
■
Bit stuffing/unstuffing
Checksum generation/checking
TOKEN type identification
Address checking.
System Initialization
On power up, the CY7C656xx reads an external SPI EEPROM
for configuration information. At the most basic level, this
EEPROM has the Vendor ID (VID), Product ID (PID), and Device
ID (DID) for the customer's application. For more specialized
applications, other configuration options can be specified. See
Configuration Options
on page 12 for more details.
After reading the EEPROM, if VBUSPOWER (connected to
up-stream V
BUS
) is high, CY7C656xx enables the pull up resistor
on D+ to indicate its presence to the upstream hub, after which
a USB Bus Reset is expected. During this reset, CY7C656xx
initiates a chirp to indicate that it is a high speed peripheral. In a
USB 2.0 system, the upstream hub responds with a chirp
sequence, and CY7C656xx is 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 is seen, and
CY7C656xx operates as a normal 1.x hub (operating at full
speed).
Hub Repeater
The Hub Repeater manages the connectivity between upstream
and downstream facing ports that are operating at the same
speed. It supports full or low speed connectivity and high speed
connectivity. According to the USB 2.0 specification, the HUB
Repeater provides the following functions:
■
■
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.
Transaction Translator
The Transaction Translator translates data from one speed to
another. A TT takes high speed split transactions and translates
them to full or 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 or 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
TT or Hub Repeater. If a full or low speed device is connected to
the hub operating at high speed, the data transfer route includes
the TT. If a high speed device is connected to this high speed
Document Number: 38-08037 Rev. *L
Enumeration
After a USB Bus Reset, CY7C656xx is in an unaddressed,
unconfigured state (configuration value set to ’0’). During the
enumeration process, the host sets the hub's address and
configuration.
After the hub is configured, the full hub functionality is available.
Page 3 of 25
[+] Feedback
CY7C656xx
Downstream Ports
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 or 0xD4 EEPROM
load, see
Configuration Options
on page 12. Downstream D+
and D– pull down resistors are incorporated in CY7C656xx for
each port. Before the hubs are configured, the ports are driven
SE0 (Single Ended Zero, where both D+ and D– are driven low)
and are set to the unpowered state. When the hub is configured,
the ports are not driven and the host may power the ports by
sending a SetPortPower command for 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). On
receipt of SetPortReset request for a port with a device
connected, the hub does as follows:
■
■
■
switch device. PWR [n]# output pins of the CY7C656xx series
are connected to the respective external power switch's port
power enable signals. 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 capacitors supply the inrush currents, which occur during
downstream device hot-attach events. The polarity of this pin is
configured through the EEPROM; see on page 13.
Overcurrent Detection
Overcurrent detection includes 8 ms of timed filtering by default.
This parameter is configured from the external EEPROM in a
range of 0 ms to 15 ms for both enabled ports and disabled ports
individually. Detection of overcurrent on downstream ports is
managed by control pins connected to an external power switch
device.
The OVR[n]# pins of the CY7C656xx series are connected to the
respective external power switch's port overcurrent indication
(output) signals. After detecting an overcurrent condition, hub
reports overcurrent condition to the host and disables the PWR#
output to the external power device. The polarity of the OVR pins
can be configured through the EEPROM; see on page 13.
Performs a USB Reset on the corresponding port
Puts the port in an enabled state
Enables the green port indicator for that port (if not previously
overridden by the host)
Enables babble detection once the port is enabled.
■
Babble consists of a non idle condition on the port after EOF2. If
babble is detected on an enabled port, that port is disabled. A
ClearPortEnable request from the host also disables the
specified port.
Downstream ports can be individually suspended by the host
with the SetPortSuspend request. If the hub is not suspended, a
remote wakeup event on that port is reflected to the host through
a port change indication in the Hub Status Change Endpoint. If
the hub is suspended, a remote wakeup event on this port is
forwarded to the host. The host may resume the port by sending
a ClearPortSuspend command.
Port Indicators
The USB 2.0 port indicators are also supported directly by
CY7C656xx. According to the specification, each downstream
port of the hub optionally supports a 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, disable this bit through
EEPROM settings.
Each port indicator pin is strategically located directly on the
opposite edge of the port with which it is associated. A port
indicator provides two colors: green and amber. This is usually
implemented 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 provide information to the user.
The significance of the color of the LED depends on the opera-
tional mode of CY7C656xx. The CY7C656xx port indicators has
two modes of operation: automatic and manual.
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 turns on the green LED whenever the port is
enabled and the amber LED when an overcurrent condition is
detected. The color of the port indicator is set by the port state
machine. Blinking of the LEDs is not supported in automatic
mode.
Table 1
identifies the mapping of color to port state in
automatic mode.
Page 4 of 25
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 configuration.
The transmitter state machine monitors the upstream facing port
while the Hub Repeater has connectivity in the upstream
direction. 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.
Power Switching
The CY7C656xx includes interface signals for external port
power switches. Both ganged and individual (per-port) configu-
rations 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 request for that port.
The power switching and overcurrent detection of downstream
ports is managed by control pins connected to an external power
Document Number: 38-08037 Rev. *L
[+] Feedback
CY7C656xx
Table 1. Automatic Port State to Port Indicator Color Mapping
Downstream Facing Hub Port State
Powered Off
Off or Amber, if due to an
overcurrent condition
Disconnected, Disabled,
Not Configured, Resetting, Testing
Off
Enabled, Transmit, or
TransmitR
Green
Suspended, Resuming,
SendEOR, Restart_E/S
Off
The LED control lines can also be modulated with a square wave
for power conservation. The polarity of these pins is program-
mable, see on page 13.
In manual mode, the indicators are under the control of the host,
which can turn on the LEDs, or leave them off. This is done by a
USB Hub class request. Blinking of the LEDs is supported in
manual mode. The port indicators allow the user to intervene in
any error detection. For example, when babble is detected while
plugging in a defective device, or when an overcurrent condition
occurs, the port indicators corresponding to the downstream port
blink green or only light the amber LED, respectively.
Table 2
displays the color definition of the indicators when
CY7C656xx is in manual mode.
[1]
Table 2. Port Indicator Color Definitions in Manual Mode
Color Definition
Off
Amber
Green
Blinking Off/Green
Blinking Off/Amber
Blinking Green/Amber
Port State
Not operational
Error condition
Fully operational
Software attention
Hardware attention
Reserved
Note
1. Information presented in
Table 1
and
Table 2
is from USB 2.0 specification Tables 11-6 and 11-7, respectively.
Document Number: 38-08037 Rev. *L
Page 5 of 25
[+] Feedback