AC75 AT Command Set

19.8 AT^SSPI

s

19.8AT^SSPI Serial Protocol Interface

The AT^SSPI command enables the module to be connected to external I²C or SPI devices.

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 AT^SSPI 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 19.8.3, Transmitting Data over AT Interface.

Caution:

I²C and SPI cannot be operated in parallel with USB. The USB interface will be disabled as soon as the I²C or SPI channel is opened with AT^SSPI. To activate the USB interface again after closing the I²C or SPI channel it is necessary to restart the AC75 module, either by switching the ignition line or entering the command AT+CFUN=1,1. The Terminal program or host application connected with the USB interface must be closed before activating the USB.

If I²C or SPI data mode is active the DCD line of the connected serial port goes high.

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 <basicConfiguration>s), (list of supported <delayOne>s), (list of supported <delayTwo>s), (list of supported <wordLength>s), (list of supported <extendedSpiConfiguration>s)

OK

Read Command

AT^SSPI?

Response(s)

^SSPI: <connectionState>, <basicConfiguration>, <delayOne>, <delayTwo>, <wordLength>, <extendedSpiConfiguration>

OK ERROR

+CME ERROR: <err>

Write Command

AT^SSPI=[<basicConfiguration>[, <delayOne>[, <delayTwo>[, <wordLength>[, <extendedSpiConfiguration>]]]]]

Response(s)

CONNECT

(indicates that ME has entered data mode)

ERROR

+CME ERROR: <err>

Reference(s)

SIEMENS

PIN ASC0 ASC1 USB MUX1 MUX2 MUX3 Charge 4 Last

-

+

+

-

+

+

+

-

+

+

AC75_ATC_V01.002

Page 496 of 569

10/30/06

Confidential / Released

 

 

Page 496
Image 496
Siemens AC75 manual Atsspi Serial Protocol Interface, Atsspi=?, Atsspi?