Datasheet

MCP2210
DS22288A-page 20 2011 Microchip Technology Inc.
3.1.4 SET USB MANUFACTURER NAME
3.1.4.1 Responses
TABLE 3-11: COMMAND STRUCTURE
Byte
Index
Meaning
0 0x60 – Set Chip NVRAM Parameters – command code
1 0x50 – Set USB Manufacturer Name sub-command code
2 0x00 – Reserved
3 0x00 – Reserved
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 value to be filled in is: (25 x 2) + 2 = 52 (decimal) = 0x34
5 USB String Descriptor ID always fill with 0x03
6 Unicode Character Low Byte
Example
: For the “Microchip Technology Inc.” Unicode string, place here the low byte of the Unicode
for character “M”.
- Fill this index with 0x4D
7 Unicode Character High Byte
Example: For the “Microchip Technology Inc.” Unicode string, place here the high byte of the Unicode
for character “M”.
- Fill this index with 0x00
8-63 Fill in the remaining Unicode characters in the string
TABLE 3-12: RESPONSE 1 STRUCTURE
Byte
Index
Meaning
00x60 Set Chip NVRAM Parametersechos back the given command code
10xFB Blocked AccessThe provided password is not matching the one stored in the chip or the
settings are permanently locked.
2-63 Don’t Care
TABLE 3-13: RESPONSE 2 STRUCTURE
Byte
Index
Meaning
00x60 Set Chip NVRAM Parameters – echos back the given command code
10x00 Command Completed Successfully – settings written
20x50 Sub-command Echoed Back for Set USB Manufacturer Name code
3-63 Don’t Care