MCP2210
3.0
USB COMMANDS/RESPONSES
DESCRIPTION
•
(copied from NVRAM
at power-up or Reset):
- Read/Write (volatile – RAM stored settings)
SPI transfer settings
- Read/Write (volatile – RAM stored settings)
chip settings
- Read/Write (volatile – RAM stored settings)
GPIO direction
- Read/Write (volatile – RAM stored settings)
GPIO output values
•
•
•
- Read/Write SPI transfer data
- Cancels the ongoing SPI transfer
- SPI bus release manipulation
•
and Unsupported commands
MCP2210 implements the HID interface for all the
device-provided functionalities. The chip uses a
command/response mechanism for the USB engine.
This means that for every USB command sent (by the
USB host) to the MCP2210, it will always reply with a
response packet.
The MCP2210 USB commands can be grouped by
their provided features as follows:
•
- Read/Write NVRAM related parameters
- Send access password
3.1
3.1.1
NVRAM Settings
SET CHIP SETTINGS POWER-UP DEFAULT
COMMAND STRUCTURE
Meaning
0x60 –
Set Chip NVRAM Parameters
– command code
0x20 –
Set Chip Settings Power-up Default
– sub-command code
0x00 –
Reserved
0x00 –
Reserved
GP0 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
GP1 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
GP2 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
GP3 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
GP4 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
The commands in this category are related to the NVRAM settings manipulation.
TABLE 3-1:
Byte Index
0
1
2
3
4
5
6
7
8
2011 Microchip Technology Inc.
DS22288A-page 11