MCP2210
3.1.9
GET USB MANUFACTURER NAME
TABLE 3-23: COMMAND STRUCTURE
Byte
Index
Meaning
0
1
0x61 – Get NVRAM Settings – command code
0x50 – Get USB Manufacturer Name – sub-command code
0x00 – Reserved
2
3-63
0x00 – Reserved
3.1.9.1
Responses
TABLE 3-24: RESPONSE 1 STRUCTURE
Byte
Index
Meaning
0
1
2
3
4
0x61 – Get NVRAM Settings – echos back the given command code
0x00 – Command Completed Successfully
0x50 – Sub-command Echoed Back for Get USB Manufacturer Name code
Don’t Care
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
6
USB String Descriptor ID – always 0x03
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
Remaining Unicode Characters
8-63
FIGURE 3-9:
GET USB MANUFACTURER NAME LOGIC FLOW
Get NVRAM USB
Manufacturer Name
Response 1
NVRAM USB
Manufacturer
Name Retrieved
DS22288A-page 30
2011 Microchip Technology Inc.