Datasheet
MCP2210
DS22288A-page 18 2011 Microchip Technology Inc.
3.1.3 SET USB POWER-UP KEY PARAMETERS
3.1.3.1 Responses
TABLE 3-8: COMMAND STRUCTURE
Byte
Index
Meaning
0 0x60 – Set Chip NVRAM Parameters – command code
1 0x30 – Set USB Power-up Key Parameters – sub-command code
2 0x00 – Reserved
3 0x00 – Reserved
4 VID – 16-bit value (low byte)
5 VID – 16-bit value (high byte)
6 PID – 16-bit value (low byte)
7 VID – 16-bit value (high byte)
8 Chip Power Option (as per USB specs – Chapter 9)
• Bit 7 – Host Powered (1 = yes; 0 = no)
• Bit 6 – Self Powered (1 = yes; 0 = no)
• Bit 5 – Remote Wake-up Capable
• Bit 4 – Reserved – fill with 0
• Bit 3 – Reserved – fill with 0
• Bit 2 – Reserved – fill with 0
• Bit 1 – Reserved – fill with 0
• Bit 0 – Reserved – fill with 0
Note: Only bit 6 or bit 7 should be set, not both.
9 Requested Current Amount from USB Host (quanta of 2 mA)
Example
: For 100 mA fill this byte index with 50 (in decimal) or 0x32.
10-63 Reserved – fill with 0x00
TABLE 3-9: RESPONSE 1 STRUCTURE
Byte
Index
Meaning
00x60 – Set Chip NVRAM Parameters – echo 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-10: RESPONSE 2 STRUCTURE
Byte
Index
Meaning
00x60 – Set Chip NVRAM Parameters – echo back the given command code
10x00 – Command Completed Successfully – Settings written
20x30 – Sub-command Echoed Back for Set USB Power-up Key Parameters code
3-63 Don’t Care