User manual
WiFly GSX
WiFlyGSX-um.pdf 12/14/2009
www.rovingnetworks.com
support@rovingnetworks.com
Phone 408-395-6539
- 24 -
The get sys command will show the setting of the GPIO mask.
<2.09> get sys
SleepTmr=0
WakeTmr=0
Trigger=0x1
Autoconn=0
IoFunc=0x0
IoMask=0x21f0
PrintLvl=0x1
The table below shows the usage of the GPIO pins with their default state and functionality.
Bit
Position
13 12 11 10 9 8 7 6 5 4 3 2 1 0
Signal
Name
GPIO-
13
UART
RTS
GPIO-
12
UART
CTS
GPIO-
11
UART-
RX
GPIO-
10
UART-
TX
GPIO
9
GPIO
8
GPIO
7
GPIO
6
GPIO
5
GPIO
4
N/A N/A
N/
A
N/A
Default
State
Output Input Input Output Input
Outp
ut
Outp
ut
Outp
ut
Outp
ut
Outp
ut
N/A N/A
N/
A
N/A
Default
Function
G
oes HIGH on POWERUP, LOW once system is
READY.
If HW Flow control enabled, toggles HIGH to
indicate RX buffer full
Throttles transmitter if HW flow control is
enabled.
LOW enables transmitter, HIGH disable.
UART RX
UART TX
ADHOC MODE & FACTORY RESET
NOT USED
BLUE LED
RED LED
YELLOW LED
GREEN LED
10.5.2 Setting the alternate GPIO functions
The defaults for GPIO 4 5, 6 is to control the LED functionality. This default functionality can be
overridden to allow user programable IO or alternate IO functionality by using the set sys iofunc
<value> command. Value is entered as a hex number.
The hex value represents a bit mask that controls each bit in the <value> represents a particular
GPIO pin. If a bit is 0, then that GPIO is driven/read by the firmware per the default function.
The IO function <value> is encoded as such: