Connect One
II-EVB-365 SMT
User’s Manual
23
The module’s SPI driver asserts the SPI Control GPIO to indicate to the host to
start reading the entire packet, starting with the header word and followed by the
packet payload, whose length matches the 12 LSBits of the Header word.
All the received bytes from the host are ignored.
Flow Control - Data from Host to iChip Flow Control
Flow control from the module to the host is managed using the SPI control signal.
The module will assert the SPI Control signal to signal flow stop.
As soon as the host identifies that the SPI control signal was asserted it should
stop transmitting. When the module can resume reception, it will de-assert the SPI
Control signal.
iSPIP — SPI GPIO Pin
Syntax: AT+iSPIP=<
n
>
Define a GPIO as the SPI Control signal
Parameters:
n
=0 SPI Control Signal is disabled
n
=1..6 Use PIOC [<n>-1] as the SPI Control signal
Default: 0 – SPI Control signal disabled
Result code:
I/OK
If
n
is a legal value.
I/ERROR
Otherwise
AT+iSPIP? Returns the current SPIP value followed by
I/OK
.
AT+iSPIP=? Returns the message
“0-6”
followed by
I/OK
.
Note
: The setting will take effect only after SW or HW reset.
iHIF — Host Interface
The +iHIF (Host Interface) parameter is used to define if the SPI Host interface is to
be used. A new value of
6
defines usage of SPI.
For example, AT+iHIF=6
-- Selects SPI as the Host
module interface.