USB 3.0 descriptor definition

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

 Hello

   

I use FX3s eveluation board to study USB 3.0 spec, But I have some wonder about  descriptors.

   

I think kind of ordering problem, but I can't understanding cleary.

   

USB 3.0 Specification Release Number for example, in Device descriptor. the Number is 0x0300 but in the example code(USBBulkLoopAutoEnum Descriptor) is written 0x0003. 

   

another sample is Vendor ID, I know Cypress Semiconductor Vendor ID is 0x04B4, but example code served 0xB404.

   

By ther way,  Product ID is different, CY30700 Licorice evaluation board product number is 0xF000, example coude served 0xF000.

   

What is different thing about Product ID and Vendor ID or Specification Release Number ??

   

Redards.

0 Likes
1 Solution
RoKl_290166
Level 4
Level 4
Welcome!

Hi,

   

the descriptors have to defined in little-endian byte-order. Therefore the least significant byte comes first and the most significant byte comes last.

   

Regards,

   

Robert

View solution in original post

0 Likes
3 Replies
Anonymous
Not applicable

 Hello. I also find the issue but I don't think we need to change the values of the descriptor so I just ignore it. The descriptor is then passed to the function CyU3PUsbSetDesc, maybe the ordering is changed in the function.

0 Likes
Anonymous
Not applicable

 Thank you for your reply

   

Have a nice day

0 Likes
RoKl_290166
Level 4
Level 4
Welcome!

Hi,

   

the descriptors have to defined in little-endian byte-order. Therefore the least significant byte comes first and the most significant byte comes last.

   

Regards,

   

Robert

0 Likes