SPI Programming Manual (G06.24+, H06.03+, J06.03+)

SPI Concepts and Protocol
SPI Programming Manual427506-006
2-36
Continued Responses
Figure 2-11. Response Continuation
VST015.vsd
The requester sends a command directed to multiple
objects and specifying a MAXRESP value of -1.
H [ Ra T3a T4a ]
H [ Ra T3a T4a ] [ Rb T3b T4b ]
H [ Ra T3a T4a ] [ Rb T3b T4b ] C
The server processes two objects ( a and b)
and adds response records to the buffer.
Before processing a third object, the server
finds that there is no room in the buffer for
a response record. So it adds a context
token and returns the response.
H T1 T2
H T1 T2 C
The requester tells the server to continue by copying
the context token from the response into a copy of
the original command and sending it to the server.
H [ Rc T3c T4c ] [ Rd T3d T4d ] C
The server continues until it again runs
out of room...
H T1 T2 C
... and agian the requester prompts the server to
continue by returning the latest context token in a
copy of the original command.
H [ Re T3e T4e ]
The absence of the context token indicates
that all objects have been processed.
Legend
H Message Header T
nx
Token
n
describing object
x
[ ZSPI-TKN-DATALIST
R
x
RETCODE for object
x
C ZSPI-TKN-CONTEXT ] ZSPI-TKN-ENDLIST
1
2
3
4
5
6
7
8