Datasheet
MCP2210
DS22288A-page 22 2011 Microchip Technology Inc.
3.1.5 SET USB PRODUCT NAME
3.1.5.1 Responses
TABLE 3-14: COMMAND STRUCTURE
Byte
Index
Meaning
00x60 – Set Chip NVRAM Parameters – command code
10x40 – Set USB Product Name – sub-command code
20x00 – Reserved
30x00 – Reserved
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 value to be filled in is: (25 * 2) + 2 = 52 (decimal) = 0x34
5 USB String Descriptor ID – always fill with 0x03
6 Unicode Character Low Byte
Example
: For the “MCP2210 USB to SPI Master” 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 “MCP2210 USB to SPI Master” 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-15: RESPONSE 1 STRUCTURE
Byte
Index
Meaning
00x60 – Set Chip NVRAM Parameters – echos back the given command code
10xFB – Blocked Access – The provided password is not matching the one stored in the chip or the
settings are permanently locked.
2-63 Don’t Care
TABLE 3-16: RESPONSE 2 STRUCTURE
Byte
Index
Meaning
00x60 – Set Chip NVRAM Parameters – echos back the given command code
10x00 – Command Completed Successfully – settings written
20x40 – Sub-command Echoed Back for Set USB Product Name code
3-63 Don’t Care