Siemens AC75 Manuel D’Utilisation

Page de 569
AC75 AT Command Set  
19.8 AT^SSPI
s
AC75_ATC_V01.002
Page 505 of 569
10/30/06
Confidential / Released
 
19.8.6
Example: Transfer and Response Messages on SPI
The following examples shall illustrate the message structure and write/read procedures explained in Section
. Blanks are inserted only to better visualize frame elements. In prac-
tice no blanks are allowed. 
<0 00 0000 11 22 33>
Transfer Message: The master writes 3 bytes. 
{0 +}
Response Message: Transmission successful.
<1 00 0010>
Transfer Message: The master requests to read 16
bytes from the slave. Read Offset is zero, therefore,
reading starts from the first byte.
{1 + 11 22 33 44 ... FF 00}
Response Message: Reading data successful.
<2 03 0008>
Transfer Message: The master requests to read 8
bytes from the slave. Read Offset is 3, therefore,
reading starts from the fourth byte.
{2 + 44 55 66 77 88 99 AA BB}
Response Message: Reading data successful.
<3 03 0004 11 22 33 44 55 66>
Transfer Message: The master writes 6 bytes and
requests to read 4 bytes from the slave. Read Offset
is 3, therefore, reading starts from the fourth byte.
{3 + AA BB CC DD}
Response Message: Reading and writing data suc-
cessful.