User manual

!
www.rovingnetworks.com Version 1.0r 9/21/2012 52
RN-WIFLYCR-UM
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.
The RN-134 evaluation board’s LEDs are connected to GPIO4 - 6. To disable the LEDs, enable the alternative functions of
the LEDs (use the set sys iofunc 0x7 command).
NOTE: You can turn off the yellow, red, or green LEDs. The RN-134 board’s blue LED is the power indicator and
cannot be turned off.
The RN-174 evaluation board’s blue LED is connected to GPIO7, which is output by default. The board does not drive this
because GPIO7’s default power-up state is low.
The get sys command shows the setting of the GPIO mask as shown in the following example:
<2.21> get sys
SleepTmr=……
IoFunc=0x0
IoMask=0x21f0
Figure 10 shows the bits corresponding to the GPIO pins and Table 22 shows the GPIO pin usage, their default state, and
functionality.
Figure 10. GPIO Pin Bitmask
!
!
14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GPIO0
GPIO1
GPIO2
GPIO3
GPIO4
GPIO5
GPIO6
GPIO7
GPIO14
GPIO13 UART RTS
GPIO12 UART CTS
GPIO11 UART RX
GPIO10 UART TX
GPIO9
GPIO8