CY7C66113C-XC CYPRESS [Cypress Semiconductor], CY7C66113C-XC Datasheet - Page 38

no-image

CY7C66113C-XC

Manufacturer Part Number
CY7C66113C-XC
Description
Full-Speed USB (12 Mbps) Peripheral Controller with Integrated Hub
Manufacturer
CYPRESS [Cypress Semiconductor]
Datasheet
Document #: 38-08024 Rev. *B
Bit [0..3]: Port x Connect Status (where x = 1..4)
Bit [7..4]: Reserved.
The Hub Ports Connect Status register is cleared to zero by reset or USB bus reset, then set to match the hardware configuration
by the hub repeater hardware. The Reserved bits [7..4] should always read as ‘0’ to indicate no connection.
Bit [0..3]: Port x Speed (where x = 1..4)
Bit [7..4]: Reserved.
The Hub Ports Speed register is cleared to zero by reset or bus reset. This must be set by the firmware on issuing a port reset.
The Reserved bits [7..4] should always read as ‘0.’
18.2
After a USB device connection has been detected, firmware must update status change bits in the hub status change data
structure that is polled periodically by the USB host. The host responds by sending a packet that instructs the hub to reset and
enable the downstream port. Firmware then sets the bit in the Hub Ports Enable register, Figure 18-3, for the downstream port.
The hub repeater hardware responds to an enable bit in the Hub Ports Enable register by enabling the downstream port, so that
USB traffic can flow to and from that port.
If a port is marked enabled and is not suspended, it receives all USB traffic from the upstream port, and USB traffic from the
downstream port is passed to the upstream port (unless babble is detected). Low-speed ports do not receive full-speed traffic
from the upstream port.
When firmware writes to the Hub Ports Enable register to enable a port, the port is not enabled until the end of any packet currently
being transmitted. If there is no USB traffic, the port is enabled immediately.
When a USB device disconnection has been detected, firmware must update status bits in the hub change status data structure
that is polled periodically by the USB host. In suspend, a connect or disconnect event generates an interrupt (if the hub interrupt
is enabled) even if the port is disabled.
Hub Ports Enable Register
Bit [0..3]: Port x Enable (where x = 1..4)
Bit [7..4]: Reserved.
The Hub Ports Enable register is cleared to zero by reset or bus reset to disable all downstream ports as the default condition.
A port is also disabled by internal hub hardware (enable bit cleared) if babble is detected on that downstream port. Babble is
defined as:
Hub Ports Connect Status
Hub Ports Speed
Bit #
Bit Name
Read/Write
Reset
Bit #
Bit Name
Read/Write
Reset
Bit #
Bit Name
Read/Write
Reset
• Any non-idle downstream traffic on an enabled downstream port at EOF2
• Any downstream port with upstream connectivity established at EOF2 (i.e., no EOP received by EOF2).
When set to 1, Port x is connected; When set to 0, Port x is disconnected.
Set to 1 if the device plugged in to Port x is Low-speed; Set to 0 if the device plugged in to Port x is Full-speed.
Set to 1 if Port x is enabled; Set to 0 if Port x is disabled.
Enabling/Disabling a USB Device
7
Reserved
R/W
0
7
Reserved
R/W
0
7
Reserved
R/W
0
6
Reserved
R/W
0
6
Reserved
R/W
0
6
Reserved
R/W
0
Figure 18-3. Hub Ports Enable Register
Figure 18-1. Hub Ports Connect Status
5
Reserved
R/W
0
5
Reserved
R/W
0
5
Reserved
R/W
0
Figure 18-2. Hub Ports Speed
4
Reserved
R/W
0
4
Reserved
R/W
0
4
Reserved
R/W
0
3
Port 4 Connect
Status
R/W
0
3
Port 4 Speed
R/W
0
3
Port 4 Enable
R/W
0
2
Port 3 Connect
Status
R/W
0
2
Port 3 Speed
R/W
0
2
Port 3 Enable
R/W
0
1
Port 2 Connect
Status
R/W
0
1
Port 2 Speed
R/W
0
1
Port 2 Enable
R/W
0
CY7C66013C
CY7C66113C
Page 38 of 61
ADDRESS 0x4A
ADDRESS 0x48
ADDRESS 0x49
0
Port 1 Connect
Status
R/W
0
0
Port 1 Speed
R/W
0
0
Port 1 Enable
R/W
0
[+] Feedback
[+] Feedback

Related parts for CY7C66113C-XC