Datasheet
MCP2210
DS22288A-page 30 2011 Microchip Technology Inc.
3.1.9 GET USB MANUFACTURER NAME
3.1.9.1 Responses
FIGURE 3-9: GET USB MANUFACTURER NAME LOGIC FLOW
TABLE 3-23: COMMAND STRUCTURE
Byte
Index
Meaning
00x61 – Get NVRAM Settings – command code
10x50 – Get USB Manufacturer Name – sub-command code
20x00 – Reserved
3-63 0x00 – Reserved
TABLE 3-24: RESPONSE 1 STRUCTURE
Byte
Index
Meaning
0 0x61 – Get NVRAM Settings – echos back the given command code
1 0x00 – Command Completed Successfully
2 0x50 – Sub-command Echoed Back for Get USB Manufacturer Name code
3 Don’t Care
4 Total USB String Descriptor Length (this is the length of the Manufacturer string multiplied by 2 + 2)
Example
: “Microchip Technology Inc.” 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 “Microchip Technology Inc.” 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 “Microchip Technology Inc.” 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
Manufacturer Name
Response 1
NVRAM USB
Manufacturer
Name Retrieved