Datasheet
MCP2210
DS22288A-page 54 2011 Microchip Technology Inc.
3.5 SPI Data Transfer
The set of commands/responses described in this section relates to the SPI data transfer functionality.
3.5.1 TRANSFER SPI DATA
3.5.1.1 Responses
TABLE 3-58: COMMAND STRUCTURE
Byte
Index
Meaning
00x42 – Transfer SPI Data – command code
1 The number of bytes to be transferred in this packet (from 0 to 60 inclusively)
20x00 – Reserved
30x00 – Reserved
4-63 The SPI Data to be sent on the data transfer
TABLE 3-59: RESPONSE 1 STRUCTURE
Byte
Index
Meaning
0 0x42 – Transfer SPI Data – echos back the given command code
10xF7 – SPI Data Not Accepted – SPI bus not available (the external owner has control over it)
2 Don’t Care
3-63 Don’t Care
TABLE 3-60: RESPONSES 2 STRUCTURE
Byte
Index
Meaning
0 0x42 – Transfer SPI Data – echos back the given command code
1 0x00 – SPI Data accepted – Command Completed Successfully – SPI data accepted
2 How many SPI received data bytes the chip is sending back to the host
3 SPI Transfer Engine Status
• 0x20 – SPI transfer started – no data to receive
4-63 SPI Received Data Bytes. The number of data bytes is specified at byte index 2
TABLE 3-61: RESPONSE 3 STRUCTURE
Byte
Index
Meaning
0 0x42 – Transfer SPI Data – echos back the given command code
10xF8 – SPI Data Not Accepted – SPI transfer in progress – cannot accept any data for the moment
2 Don’t Care
3-63 Don’t Care