Cypress CY7C656xx, EZ-USB HX2LP manual Configured 0xD2 Load, Configured 0xD4 Load

Page 13

PRELIMINARYCY7C656xx

9.2Configured – 0xD2 Load

Byte

Value (MSB->LSB)

 

 

0

0xD2

 

 

1

VID (LSB)

 

 

2

VID (MSB)

 

 

3

PID (LSB)

 

 

4

PID (MSB)

 

 

5

reversed

 

 

6

DID (MSB)

 

 

7

EnableOverCurrentTimer[3:0], DisableOvercurrent-

 

Timer[3:0]

 

 

8

ActivePorts[3:0], RemovablePorts[3:0]

 

 

9

MaxPower

 

 

10

HubControllerPower

 

 

11

PowerOnTimer

 

 

12

IllegalHubDescriptor, CompoundDevice,

 

FullspeedOnly, NoPortIndicators, Reserved,

 

GangPowered, SingleTTOnly, Reserved

 

 

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.3Configured – 0xD4 Load

Byte

Value (MSB->LSB)

 

 

0

0xD4

 

 

1

VID (LSB)

 

 

2

VID (MSB)

 

 

3

PID (LSB)

 

 

4

PID (MSB)

 

 

5

reserved

 

 

6

DID (MSB)

 

 

Document #: 38-08037 Rev. *D

Page 13 of 23

Image 13
Contents Introduction FeaturesCypress Semiconductor Corporation CY7C65640B Block Diagram Block DiagramsCY7C65630/CY7C65620 Block Diagram Functional Overview ApplicationsPort Indicators Power SwitchingUpstream Port Over-current DetectionPort Indicator Color Definitions in Manual Mode Port State Pin Quad Flat Pack No Leads 8 mm x 8 mm2 Pin ConfigurationPin Description Table Downstream D+ Signal Downstream D- SignalOvercurrent Condition Detection Input. Default is Active Configuration Descriptor Default DescriptorsDevice Descriptor Interface DescriptorInterface Descriptor9,10 Endpoint DescriptorEndpoint Descriptor9,10 Device Qualifier DescriptorDefault 0xD0 Load Configuration OptionsHub Descriptor Byte All Speed Field Name DescriptionConfigured 0xD4 Load Configured 0xD2 LoadByte 9 MaximumPower High-Speed Byte 8 MaximumPower Full-SpeedByte 12 HubControllerPower Full-Speed Byte 13 HubControllerPower High-speedByte 21 SupportedStrings Byte 19 Write Protect Byte 20 NumLangsBit Name Supported USB Requests Device Class CommandsPortindicator Hub Class CommandsPorttest Hub Class Feature Selector Recipient Value Vendor CommandsDownstream USB Connections Upstream USB ConnectionLED Connections Sample Schematic System Block DiagramElectrical Characteristics 16.0 Ordering Information 17.0 Package DiagramsOrdering Code Package Type CY46XXDocument History Issue Date Change Description of ChangeJTC KKU