Microchip Technology ADM00421 Data Sheet

Page of 82
 2011 Microchip Technology Inc.
DS22288A-page 55
MCP2210
FIGURE 3-23:
TRANSFER SPI DATA LOGIC FLOW
TABLE 3-62:
RESPONSE 4 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
0x30 – SPI Transfer Engine Status:  SPI transfer not finished; received data available
4-63
SPI received data bytes. The number of data bytes is specified at byte index 2
TABLE 3-63:
RESPONSE 5 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
0x10 – SPI Transfer Engine Status:  SPI transfer finished – no more data to send
4-63
SPI received data bytes. The number of data bytes is specified at byte index 2
Transfer SPI Data
FALSE
TRUE
TRUE
TRUE
TRUE
FALSE
FALSE
FALSE
Ongoing
SPI Transfer
Response 1
Response 2
Response 3
Response 5
Response 4
SPI Bus
used by External Master
SPI Bus owned
by an External Master
SPI Data Accepted
The SPI Transfer
will start afterwards
SPI Transfer Ended
SPI Transfer
Waiting for More Data
SPI Engine waiting
for more data packets
to complete the SPI Transfer
SPI Transfer Ended
The response will contain 
the last received SPI data 
packet of the SPI Transfer
Ongoing SPI Transfer
cannot accept any data now