Cypress EZ-USB HX2LP Computer Drive User Manual


 
CY7C656x
x
PRELIMINARY
Document #: 38-08037 Rev. *D Page 13 of 23
9.2 Configured – 0xD2 Load
Byte 0: 0xD2
Needs to be programmed with 0xD2
Byte 1: VID (LSB)
Least Significant Byte of Vendor ID
Byte 2: VID (MSB)
Most Significant Byte of Vendor ID
Byte 3: PID (LSB)
Least Significant Byte of Product ID
Byte 4: PID (MSB)]
Most Significant Byte of Product ID
Byte 5: Reserved
Reserved.
Byte 6: DID (MSB)]
Most Significant Byte of Device ID
Byte 7: EnableOvercurrentTimer[3:0], DisabledOvercur-
rentTimer[3: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.
Both range from 0 ms to 15 ms. See section 5.8. Default:
8 ms = 0x88.
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.
Byte 9: MaximumPower
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.
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
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 12: IllegalHubDescriptor, CompoundDevice, Full-
speedOnly, NoPortIndicators, Reserved, GangPowered,
SingleTTOnly
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.
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.
Bit 5: Fullspeed: Only configures the hub to be a full-speed
only device. Default set to 0.
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.
Bit 3: Reserved. Should be set to 0.
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.
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.
9.3 Configured – 0xD4 Load
Byte Value (MSB->LSB)
00xD2
1 VID (LSB)
2 VID (MSB)
3 PID (LSB)
4 PID (MSB)
5reversed
6 DID (MSB)
7 EnableOverCurrentTimer[3:0], DisableOvercurrent-
Timer[3:0]
8 ActivePorts[3:0], RemovablePorts[3:0]
9MaxPower
10 HubControllerPower
11 PowerOnTimer
12 IllegalHubDescriptor, CompoundDevice,
FullspeedOnly, NoPortIndicators, Reserved,
GangPowered, SingleTTOnly, Reserved
Byte Value (MSB->LSB)
00xD4
1 VID (LSB)
2 VID (MSB)
3 PID (LSB)
4 PID (MSB)
5 reserved
6 DID (MSB)