Cinterion
®
EHS6 AT Command Set
19.7 AT^SSPI
EHS6_ATC_V03.001 15/12/3
Confidential / Released
Page 470 of 513
19.7.5 Example: Transfer and Response Messages on SPI
The following examples shall illustrate the message structure and write/read procedures explained in Section
19.7.2.2, Structure of Messages on the SPI. 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.