12. INTERFACE

The specified rate takes effect following the issuance of any result code(s) associated with the current command line.

<rate>

Description

 

 

Discrete

The <rate> value specified shall be the rate in bits per

integer value

second at which the DTE-DCE interface should operate,

 

e.g. “19200” or “115200”. The rates supported by a

 

particular DCE are manufacturer specific.

The following rates, are supported; 1200 2400 4800 9600 19200 38400 57600 115200 230400 460800

12.15 AT*E2SPI Serial Peripheral Interface

Description

Command

Possible Responses

 

 

 

 

Set Serial Peripheral

AT*E2SPI=<op>

ERROR

interface

[,<byteformat>

OK

 

[,<InitSync>]]

*E2SPI:

 

[,<byte1>,<byte2>,...,

 

 

<byte1rx>,<byte2rx>,...,

 

<byte n>]

 

 

 

<bytenrx>

 

 

 

OK

Show the current

AT*E2SPI?

*E2SPI: <active>,

setting

 

 

<byteformat>

 

 

 

OK

Shows if the

AT*E2SPI=?

• *E2SPI: (list of supported

command is

 

 

<op>s,list of supported

supported

 

 

<byteformat>s, list of

 

 

 

supported <InitSync>s)

• ERROR

This command allows the user to send data via an SPI bus. The SPI bus is made up from the IO pins (IO1 = Clock, IO2 = Data In, IO3 = Data Out, and O6/ RI = Sync (optional)).

The bus works with the GM47 being the SPI master. The clock is generated by the GM47, and on each clock cycle, data is both transmitted on the Data Out pin, and received on the Data in pin. The Sync pin (optional) can be used as a chipselect pin for latching the data after a number of bytes have been sent. The initial state of the Sync pin can be set, so it is toggled from that state.

Once the SPI bus is enabled, the IOs that are used can not be used for any other purpose until the SPI is disabled. This means the AT*E2IO command cannot modify these pins, and if the Sync pin is activated, RI will not be output.

Three operations can be made on the SPI bus:

205

LZT 123 7263 R1C

Page 205
Image 205
Sony Ericsson GM47, GM48 manual 12.15 AT*E2SPI Serial Peripheral Interface, AT*E2SPI?, AT*E2SPI=?