Notes:
The
?
option allows reading back the current setting. The
mode
parameter allows specifying
how the GPIO1 pin will operate. The available modes are:
Mode
Description
0
Analog, pin is internally disconnected and not used (default)
1
Input, low-to-high transition exits sleep mode
2
Input, high-to-low transition exits sleep mode
3
Output, set low (1)
4
Output, set high (1)
5
Output, low indicates messages pending for client (2). Otherwise output is high
6
Output, high indicates messages pending for client (2). Otherwise output is low
7
Output, low while transmitting. Otherwise output is high
8
Output, high while transmitting. Otherwise output is low
9
Output, low indicates in sleep mode (3). Otherwise output is high
10
Output, high indicates in sleep mode (3). Otherwise output is low
It is the responsibility of the client to provide pull-up resistors to the 3.3V supply rail. See the
reference design for resistor sizing. All output modes are open drain.
(1) - These two variations allow the user application to use GPIO1 as a general purpose output.
(2) - If either of these modes are selected, the pin will indicate if the Tile has received one or
more unread messages and is holding them for the client. If multiple messages are pending for
the client, the pin will maintain the state until all messages have been read.
(3) - If either of these modes are selected, the pin will be set to the selected state after the client
has issued the
$SL
command. The pin will return to the awake state only if the sleep mode is
terminated by the
S
or
T
parameter being reached, or activity is detected on the serial RX line.
June 2020
Swarm Tile Manual - Rev 1.00
45/63