Cinterion
®
ENS22-E AT Command Set
12.4 AT^SSPI
ENS22-E_ATC_V01.000
19/02/11
Page 166 of 189
Parameter
is a 16 bit word which contains four subparameters to control the follow-
ing functions:
For SPI only:
0000
Length of SPI word = 8 bits
For SPI only: Parameter
is a 16 bit word which contains four subparameters
to control the following functions:
<basicConfiguration>
(num)
Subparameter
Bit
Hexadecimal
Selected function
Interface type
D15 - D12
0
1
I²C bus (default)
SPI device
Port
D11 - D8
0
Internal port
Data transfer rate
D7 - D4
0
1
0
1
2
3
I²C at 100 kbps (default)
I²C at 400 kbps (not supported)
SPI at 100 kbps
SPI at 200 kbps
SPI at 400 kbps
SPI at 800 kbps
Protocol
D3 - D0
0
ASCII (hex coding)
<wordLength>
(num)
<extendedSpiConfiguration>
(num)
Subparameter
Bit
Hexadecimal
Selected function
SPI mode
D15 - D12
0
Only support SPI mode 0. Phase and
polarity of all SPI modes are illustrated in
Section
.
Chip Select (CS) mode
D11 - D8
0
One Chip Select per Transfer Frame.
Arrangement of bytes
D7 - D4
0
Big endian
Bit sequence
(arrangement of bits on the SPI)
D3 - D0
0
MSB first