AC75 AT Command Set

19.8 AT^SSPI

s

Parameter Description

<connectionState>(num)

Parameter returned by the AT^SSPI? read command.

Indicates whether or not the I²C or SPI channel is used. When the channel is open and the ME is in data mode, the read command can only be used if one of the remaining interfaces is available. For example, when the chan- nel was opened on ASC0, you can use ASC1 or the MUX channels to check the status.

[0](&F)

Not connected (channel closed). All following parameters are the factory set-

 

tings AT^SSPI=0,0010,0000,0000,0000,0000.

1

Connected (channel open, ME in data mode). All following parameters are the

 

values currently used, for example AT^SSPI=1,0010,FFFF,FFFF,0000,0000.

<basicConfiguration>(num)

Parameter <basicConfiguration> is a 16 bit word which contains four subparameters to control the follow- ing functions:

Subparameter

Bit

Hexadecimal

Selected function

Interface type

D15 - D12

0

I²C bus (default)

 

 

1

SPI device

Port

D11 - D8

0

Internal port

Data transfer rate

D7 - D4

0

I²C at 100 kbps

 

 

1

I²C at 400 kbps (default)

 

 

0

SPI at 100 kbps

 

 

1

SPI at 250 kbps

 

 

2

SPI at 500 kbps

 

 

3

SPI at 1.083 Mbps

 

 

4

SPI at 3.25 Mbps

 

 

5

SPI at 6.5 Mbps

Protocol

D3 - D0

0

ASCII (hex coding)

 

 

 

 

<delayOne>(num)

I²C: This parameter specifies a delay after each written byte. See Section 19.8.1, Specifying Delay Time for I²C for further details.

SPI: 0000 only.

[0](&F)...FFFF

Unsigned 16 bit value

<delayTwo>(num)

I²C: This parameter specifies the delay after a each read byte. See Section 19.8.1, Specifying Delay Time for I²C for further details.

SPI: 0000 only.

[0](&F)...FFFF

Unsigned 16 bit value

 

 

<wordLength>(num)

 

For SPI only:

 

0

Length of SPI word = 8 bits

<extendedSpiConfiguration>(num)

For SPI only: Parameter <extendedSpiConfiguration> is a 16 bit word which contains four subparameters to control the following functions:

AC75_ATC_V01.002

Page 497 of 569

10/30/06

Confidential / Released

 

 

Page 497
Image 497
Siemens AC75 manual ConnectionStatenum, BasicConfigurationnum, DelayOnenum, DelayTwonum, WordLengthnum