Cypress EZ-USB HX2LP, CY7C656xx Default Descriptors, Device Descriptor, Configuration Descriptor

Page 10

PRELIMINARYCY7C656xx

8.0Default Descriptors

8.1Device 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

High Speed

Field Name

Description

 

 

 

 

 

0

0x12

0x12

bLength

18 Bytes

 

 

 

 

 

1

0x01

0x01

bDescriptorType

DEVICE_DESCRIPTOR

 

 

 

 

 

2,3

0x0110

0x0200

bcdUSB

USB specification 2.0 in HS (1.1 if forced FS)

 

 

 

 

 

4

0x09

0x09

bDeviceClass

HUB

 

 

 

 

 

5

0x00

0x00

bDeviceSubClass

None

 

 

 

 

 

6

0x00

0x01[4]/ 0x02[5]

bDeviceProtocol

None

7

0x40

0x40

bMaxPacketSize0

64 bytes

 

 

 

 

 

8,9

0x04B4

0xx04B4

wIdVendor

VID (overwritten by what is defined in EEPROM)

 

 

 

 

 

10,11

0x6560

0x6560

wIdProduct

PID (overwritten by what is defined in EEPROM)

 

 

 

 

 

12, 13

0x0910

0x0910

wbcdDevice

DID (overwritten by what is defined in EEPROM)

 

0x0810

0x0810

 

 

 

 

 

 

 

14

0x00

0x00

iManufacturer

No manufacturer string supported

 

 

 

 

 

15

0x00

0x00

iProduct

No product string supported

 

 

 

 

 

16

0x00

0x00

iSerialNumber

No serial string supported

 

 

 

 

 

17

0x01

0x01

bNumConfigurations

One configuration supported

 

 

 

 

 

8.2Configuration Descriptor

Byte

Full Speed

High Speed

Field Name

Description

 

 

 

 

 

0

0x09

0x09

bLength

9 Bytes

 

 

 

 

 

1

0x02[7]/ 0x07[8]

0x02[7]/ 0x07[8]

bDescriptorType

CONFIG_DESCRIPTOR

2

0x0019

0x0019[4]

wTotalLength

Length of all other descriptors

 

0x0029

0x0029[5]

 

 

4

0x01

0x01

bNumInterfaces

1

 

 

 

 

 

5

0x01

0x01

bConfigurationValue

The configuration to be used

 

 

 

 

 

6

0x00

0x00

iConfiguration

 

 

 

 

 

 

7

0xA0

0xA0

bmAttributes

Value depends on pin 45 - SELFPWR signal

 

0xE0

0xE0

 

SELFPWR = 0 yields 0xA0 and =1 yields 0xE0

 

 

 

 

 

8

0x28

0x57[6]

bMaxPower

 

8.3

Interface Descriptor

 

 

Byte

 

Full Speed

High Speed

Field Name

Description

 

 

 

 

 

 

0

 

0x09

0x09

bLength

9 Bytes

 

 

 

 

 

 

1

 

0x04

0x04

bDescriptorType

INTERFACE_DESCRIPTOR

 

 

 

 

 

 

2

 

0x00

0x00

bInterfaceNumber

 

 

 

 

 

 

 

3

 

0x00

0x00

bAlternateSetting

 

 

 

 

 

 

 

4

 

0x01

0x01

bNumEndpoints

 

 

 

 

 

 

 

5

 

0x09

0x09

bInterfaceClass

 

 

 

 

 

 

 

6

 

0x00

0x00

bInterfaceSubClass

 

 

 

 

 

 

 

7

 

0x00[4]/ 0x01[5]

0x00[4]/ 0x01[5]

bInterfaceProtocol

 

8

 

0x00

0x00

iInterface

 

 

 

 

 

 

 

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

Image 10
Contents Introduction FeaturesCypress Semiconductor Corporation Block Diagrams CY7C65640B Block DiagramCY7C65630/CY7C65620 Block Diagram Applications Functional OverviewUpstream Port Power SwitchingPort Indicators Over-current DetectionPort Indicator Color Definitions in Manual Mode Port State Pin Configuration Pin Quad Flat Pack No Leads 8 mm x 8 mm2Pin Description Table Downstream D+ Signal Downstream D- SignalOvercurrent Condition Detection Input. Default is Active Device Descriptor Default DescriptorsConfiguration Descriptor Interface DescriptorEndpoint Descriptor9,10 Endpoint DescriptorInterface Descriptor9,10 Device Qualifier DescriptorHub Descriptor Configuration OptionsDefault 0xD0 Load Byte All Speed Field Name DescriptionConfigured 0xD2 Load Configured 0xD4 LoadByte 12 HubControllerPower Full-Speed Byte 8 MaximumPower Full-SpeedByte 9 MaximumPower High-Speed Byte 13 HubControllerPower High-speedByte 21 SupportedStrings Byte 19 Write Protect Byte 20 NumLangsBit Name Device Class Commands Supported USB RequestsPortindicator Hub Class CommandsPorttest Vendor Commands Hub Class Feature Selector Recipient ValueDownstream USB Connections Upstream USB ConnectionLED Connections System Block Diagram Sample SchematicElectrical Characteristics Ordering Code Package Type 17.0 Package Diagrams16.0 Ordering Information CY46XXJTC Issue Date Change Description of ChangeDocument History KKU