Datasheet
2011 Microchip Technology Inc. DS22288A-page 31
MCP2210
3.1.10 GET USB PRODUCT NAME
3.1.10.1 Responses
FIGURE 3-10: GET USB PRODUCT NAME LOGIC FLOW
TABLE 3-25: COMMAND STRUCTURE
Byte
Index
Meaning
00x61 – Get NVRAM Settings – command code
10x40 – Get USB Product Name – sub-command code
20x00 – Reserved
3-63 0x00 – Reserved
TABLE 3-26: RESPONSE 1 STRUCTURE
Byte
Index
Meaning
0 0x61 – Get NVRAM Settings – echos back the given command code
1 0x00 – Command Completed Successfully
2 0x40 – Sub-command Echoed Back for Get USB Product Name code
3 Don’t Care
4 Total USB String Descriptor Length (this is the length of the Product string multiplied by 2 + 2)
Example
: “MCP2210 USB to SPI Master” has 25 Unicode characters
- The retrieved value is: (25 x 2) + 2 = 52 (decimal) = 0x34
5 USB String Descriptor ID – always 0x03
6 Unicode Character Low byte
Example
: For the “MCP2210 USB to SPI Master” Unicode string, there will be the low byte of the
Unicode for character “M”.
- This byte index will have a value of 0x4D
7 Unicode Character High byte
Example: For the “MCP2210 USB to SPI Master” Unicode string, there will be the high byte of the
Unicode for character “M”.
- This byte index will have a value of 0x00
8-63 Remaining Unicode Characters
Get NVRAM USB
Product Name
Response 1
NVRAM USB
Product Name
Retrieved