User`s guide

RN-WIFLYCR-UG
www.rovingnetworks.com Version 1.2r 4/30/13 page 24
For more details see “Setting GPIO Direction, Alternate Functions & Disabling LEDs”
on page 60.
Default: 0x20F0 (for RN131)
0x21F0 (for RN171)
Example: set sys mask 0x0 // Sets all pins as inputs
TABLE 2-8: GPIO PIN USAGE, DEFAULT STATE & FUNCTIONALITY
Bit
Signal
Name
RN-131
Default State
RN-171
Default State
Default Function
0 GPIO0 N/A N/A -
1 GPIO1 N/A Input Unused.
2 GPIO2 N/A Input Unused.
3 GPIO3 N/A Input Unused.
4 GPIO4 Output Output Green LED.
5 GPIO5 Output Output Yellow LED.
6 GPIO6 Output Output Red LED.
7 GPIO7 Output Output Blue LED.
8 GPIO8 Input Output Unused.
9 GPIO9 Input Input Ad hoc mode and factory reset.
10 GPIO10 Output Output UART TX.
11 GPIO11 Input Input UART RX.
12 GPIO12 Input Input Throttles the transmitter if hardware flow control is enabled.
Driving this pin low enables transmitter; driving this pin high dis-
ables it.
13 GPIO13 Output Output This pin goes high on power up and goes low when the system is
ready. If hardware flow control is enabled, this pin toggles to high
to indicate the RX buffer is full.
14 GPIO14 N/A Input -
Note: On the Wi-Fi serial adapter (RN-370) and the RN-174 evaluation board, the
blue LED is connected to GPIO7. The blue LED is NOT connected to
GPIO7 on the RN-134 board. It is not possible to power off the blue LED on
the RN-134 board because it is connected directly to power.
Note: To set the GPIO pins as inputs or outputs instantly, use the set sys mask
0xABCD 1 command, which does not require a reboot.