27.09.2015 Views

WIFLY GSX WIFLY EZX

WiFly GSX/EZX

WiFly GSX/EZX

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

WiFly <strong>GSX</strong>/<strong>EZX</strong><br />

www.rovingnetworks.com WiFly-RN-UM 4/8/2011<br />

10. Advanced features and Settings<br />

This chapter describes the advanced features of the WiFly module. It describes the techniques to put the<br />

module in sleep, wake up from sleep and methods to open a TCP connection when awake. We also discuss<br />

the uart flow control, alternative GPIO functions and Real Time Clock.<br />

The table below describes the possible methods of putting the module to sleep.<br />

Method Interface Description<br />

sleep<br />

command<br />

UART Get into command mode using $$$ and issue the sleep command<br />

Sleep Timer Internal RTC Puts the module to sleep based on the set sys sleep command<br />

Drive GPIO 8<br />

Puts the module to sleep as soon as GPIO 8 is held HIGH (4 µsec latency).<br />

GPIO 8<br />

HIGH<br />

To enable this feature, use the set sys trigger 0x20.<br />

To wake up the module from sleep, following options are available:<br />

Method Type Description<br />

Sensor Input<br />

(1.2VDC<br />

ONLY)<br />

Sensor Pins<br />

Rx Pin<br />

(3.3VDC<br />

ONLY)<br />

RX pin via<br />

Sensor 0<br />

You can wake up the module on sensor pins 0-3 (1.2V ONLY). Use the set<br />

sys trigger command to enable.<br />

The RX pin on the RN-134 and the RN-174 development boards is tied to<br />

sensor pin 0 via a resistor divider network.<br />

Use set sys trigger 1 command to wake up on RX data.<br />

NOTE: You may drop the first byte of uart data. A better way is to wake up<br />

the module on CTS pin.<br />

CTS Pin<br />

The CTS pin on the RN-134 and the RN-174 development boards is tied to<br />

CTS pin via<br />

(3.3VDC<br />

sensor pin 1 via a resistor divider network.<br />

Sensor 1<br />

ONLY)<br />

Use set sys trigger 2 command to wake up on CTS.<br />

Wake Timer Internal RTC Wakes up the module from sleep based on the set sys wake command<br />

FORCE<br />

AWAKE<br />

FORCE<br />

AWAKE pin<br />

Input pulse of at least 31 secs duration (3.3V) will wake up the module.<br />

809 University Avenue • Los Gatos, CA 95032 • Tel (408) 395-6539 • info@RovingNetworks.com<br />

~ 32 ~

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!