1 Reply Latest reply on May 22, 2017 10:02 AM by hman

    USB SX2 Descriptor

    gabo_adolfo_2485851

      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.

        • 1. Re: USB SX2 Descriptor
          hman

          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