MCP2210
3.1.8
GET USB KEY PARAMETERS
TABLE 3-21: COMMAND STRUCTURE
Byte
Index
Meaning
0
1
0x61 – Get NVRAM Settings – command code
0x30 – Get USB Key Parameters – sub-command code
0x00 – Reserved
2
3-63
0x00 – Reserved
3.1.8.1
Responses
TABLE 3-22: RESPONSE 1 STRUCTURE
Byte
Index
Meaning
0
1
0x61 – Get NVRAM Settings – echos back the given command code
0x00 – Command Completed Successfully
2
0x30 – Sub-command Echoed Back for Get USB Key Parameters code
3-11
12
Don’t care
VID low byte
13
VID high byte
14
PID low byte
15
PID high byte
16-28
29
Don’t care
Chip Power Option (as per USB specs – Chapter 9)
• Bit 7 – Host Powered
• Bit 6 – Self Powered
• Bit 5 – Remote Wake-up Capable
• Bit 4 – Don’t Care
• Bit 3 – Don’t Care
• Bit 2 – Don’t Care
• Bit 1 – Don’t Care
• Bit 0 – Don’t Care
30
Requested Current Amount from USB Host (quanta of 2 mA)
Example: For 100 mA this byte index will have a value of 50 (in decimal) or 0x32.
31-63
Don’t Care
FIGURE 3-8:
GET USB KEY PARAMETERS LOGIC FLOW
Get NVRAM USB
Key Parameters
Response 1
NVRAM USB
Key Parameters
Retrieved
2011 Microchip Technology Inc.
DS22288A-page 29