USB SX2 Descriptor

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

cross mob
Anonymous
Not applicable

Hi everyone! 

   

I  am starting with the USB development, I would like to know how to program the entire descriptor in a SX2 with an external master (microcontroller). Or this is just possible using a PC and the cypress driver?? What recommend to me? Is better use an EEPROM to load the descriptor? 

   

Regards.

0 Likes
1 Solution
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi,

   

You can use either EEPROM or external  master to supply descriptors to SX2.

   

In case if you use EEPROM then the format should be as mentioend in the 'Boot Methods' section of the SX2 data sheet.

   

If you use external master to load the descriptors then the master should write into the 500 bytes of descriptor RAM. The writing should be according to the "Command Protocol" mentioned in the data sheet.

   

Also refer to "Enumeration" section in the data sheet for clear explanation.

   

Let us know if there are any queries after going through the above mentioned scetions.

   

For your reference below is the link for SX2 datasheet:

   

http://www.cypress.com/file/144251/download

   

Regards,

   

Hemanth

Hemanth

View solution in original post

0 Likes
1 Reply
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi,

   

You can use either EEPROM or external  master to supply descriptors to SX2.

   

In case if you use EEPROM then the format should be as mentioend in the 'Boot Methods' section of the SX2 data sheet.

   

If you use external master to load the descriptors then the master should write into the 500 bytes of descriptor RAM. The writing should be according to the "Command Protocol" mentioned in the data sheet.

   

Also refer to "Enumeration" section in the data sheet for clear explanation.

   

Let us know if there are any queries after going through the above mentioned scetions.

   

For your reference below is the link for SX2 datasheet:

   

http://www.cypress.com/file/144251/download

   

Regards,

   

Hemanth

Hemanth
0 Likes