MCP2210
TABLE 3-4:
COMMAND STRUCTURE (CONTINUED)
Meaning
Byte
Index
17
Delay Between Subsequent Data Bytes (quanta of 100 µs) – 16-bit value (high byte)
Example: If 500 µs delay between two consecutive data bytes is required, the value will be 0x0005.
- Fill this byte position with: 0x00
18
Bytes to Transfer per SPI Transaction – 16-bit value (low byte)
Example: If an SPI transaction of 1250 bytes long is required, the corresponding hex value will be
0x04E2.
- Fill this byte position with: 0xE2
19
20
Bytes to Transfer per SPI Transaction – 16-bit value (high byte)
Example: If an SPI transaction of 1250 bytes long is required, the corresponding hex value will be
0x04E2.
- Fill this byte position with: 0x04
SPI Mode
• 0x00 – SPI mode 0
• 0x01 – SPI mode 1
• 0x02 – SPI mode 2
• 0x03 – SPI mode 3
21 - 63 Reserved – fill with 0x00
3.1.2.1
Responses
RESPONSE 1 STRUCTURE
TABLE 3-5:
Byte
Index
Meaning
0
1
0x60 – Set Chip NVRAM Parameters – echos back the given command code
0xFB – Blocked Access – Access password has not been provided or the settings are permanently
locked.
2-63
Don’t Care
TABLE 3-6:
RESPONSE 2 STRUCTURE
Meaning
Byte
Index
0
1
0x60 – Set Chip NVRAM Parameters – echos back the given command code
0xF8 – USB Transfer in Progress – settings not written
0x10 – Sub-command Echoed Back – set SPI power-up transfer settings
Don’t Care
2
3-63
TABLE 3-7:
RESPONSE 3 STRUCTURE
Meaning
Byte
Index
0
1
0x60 – Set Chip NVRAM Parameters – echos back the given command code
0x00 – Command Completed Successfully – settings written
0x10 – Sub-command Echoed Back for Set SPI Power-up Transfer Settings code
Don’t Care
2
3-63
DS22288A-page 16
2011 Microchip Technology Inc.