WiFly GSX
www.rovingnetworks.com
WiFlyGSX-um 9/16/2010
809 University Avenue
•
Los Gatos, CA 95032
•
Tel (408) 395-6539
•
~ 34 ~
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
GPIO9
GPIO8
GPIO7
GPIO6
GPIO5
GPIO4
N/A
N/A
N/A
N/A
Default
State
Output
Input
Input
Output
Input
Output
Output
Output
Output
Output
N/A
N/A
N/A
N/A
Default
Function
G
o
es
H
IG
H
o
n
P
O
W
E
R
U
P
, L
O
W
o
n
ce
s
y
ste
m
is
R
E
A
D
Y
.
If
H
W
F
lo
w
c
o
n
tro
l e
n
ab
le
d
, t
o
g
g
le
s H
IG
H
to
in
d
ic
at
e R
X
b
u
ff
er
fu
ll
T
h
ro
ttl
es
tr
an
sm
itt
er
if
H
W
fl
o
w
c
o
n
tro
l i
s e
n
ab
le
d
.
L
O
W
e
n
ab
le
s t
ra
n
sm
itt
er
, H
IG
H
d
is
ab
le
.
U
A
R
T
R
X
U
A
R
T
T
X
A
D
H
O
C
M
O
D
E
&
F
A
C
T
O
R
Y
R
E
S
E
T
N
O
T
U
S
E
D
B
L
U
E
L
E
D
R
E
D
L
E
D
Y
E
L
L
O
W
L
E
D
G
R
E
E
N
L
E
D
NOTE: The Blue LED is connected to GPIO7 on the Wi-Fi Serial Adapter (RN-370). The Blue LED is
not connected to GPIO7 on the Surf Board (RN-134). It is not possible to power off the Blue LED on
the Surf Board.
10.5.1.
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 programmable 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.