Roving Networks Bluetooth Serial Adapter User's Guide Page 15

  • Download
  • Add to my manuals
  • Print
  • Page
    / 25
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 14
RN Commands Version 4.25, 11/1/2007 Page 15 of 25
809 University Avenue Los Gatos, CA 95032 1-(408) 395-6539 [email protected]
www.rovingnetworks.com
Deep Sleep mode can be used to obtain extremely low power operation. The device totally shuts down and only
draws about 300uA of current in this mode. To enable Deep Sleep, set the high order bit of the Sniff word =
0x8000. This bit is NOT used to determine the sleep interval, it is only used as a flag to enable deep sleep. For
example, If you want ½ second sleep 0x0320, with Deep sleep, you would set the sniff word to 0x8320.
In normal low power sleep (not deep sleep) the firmware is still running in idle mode, and wakes up about 20
times per second to check ports, update Leds etc. During Deep sleep, the firmware actually stops running some
tasks. For example, the LEDs only update about once per second.
There are 3 ways to wake the radio from sleep mode. The first is to send a character to the UART. Transitions on
the RX pin will wake the device from sleep. Wake time is worst case 5ms. Because of this, the first character
sent is generally lost by the radio. A better way to wake the radio is to toggle the CTS line from LOW to HIGH,
Wait 5ms, and then send data. The third way is automatic, the radio will wake every <hex word> slot times (1 slot
time = 625us) as defined above. The radio wakes and listens to see if the other side of the connection has
anything to send. This wake time is typically about 5ms (8 slots) even if no data is to be transferred.
Once the radio is awake it will stay active for exactly 1 second of inactivity, and then sleep again.
NOTE: setting this mode can cause latency issues, and dropped bytes/loss of performance in cases where large
amounts of data are being transferred. The nuances of Bluetooth Sniff can be complex, contact Roving Networks
if necessary for more details on how to utilize Sniff mode.
4.1.3 Disabling Output drivers
Use the command “ S%,1000” to set all PIO0-11 to inputs.
This will also turn off the LED (PIO5) on the FireFly adapter.
4.2 Profile Selection
Page view 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20 ... 24 25

Comments to this Manuals

No comments