Cinterion
®
EHS6 AT Command Set
19.7 AT^SSPI
EHS6_ATC_V03.001
15/12/3
Confidential / Released
Page 462 of 513
19.7
AT^SSPI Serial Protocol Interface
The
command enables the module to be connected to external I²C or SPI devices.
SPI lines are shared with GPIO lines or with the ASC0 line DSR0 and with ASC1 lines. Therefore, a connected
SPI device is only accessible if
="Gpio/mode/SPI" is set to "std". Keep in mind that in this case the com-
mands
="Gpio/mode/ASC1" automatically switch to "rsv".
The I²C/SPI datastream is mapped through an internal I²C/SPI driver to and from an ASCII hex protocol which
can be exchanged with an internal application (JAVA) or an external application via V24.
The
write command configures and activates the I²C/SPI interface and changes from command mode
into data mode. All values must be given in hexadecimal format (0 - 9, A - F) without "0x". For details on data
mode please refer to Section
Transmitting Data over AT Interface
.
Caution:
If I²C or SPI are opened from a Java application be sure to close the I²C or SPI channels before Java terminates.
Syntax
Test Command
AT^SSPI=?
Response(s)
^SSPI:
(list of supported
s), (list of supported
s), (list of
supported
OK
Read Command
AT^SSPI?
Response(s)
^SSPI:
,
OK
ERROR
+CME ERROR:
<err>
Write Command
AT^SSPI=
[,
[,
]]]
Response(s)
CONNECT
(indicates that ME has entered data mode)
ERROR
+CME ERROR:
<err>
PIN
Last
-
+
+