background image

 

2.4.1

 

Host Initiated Sleep 

 

This example shows a sequence of events from initial power-up of the Wireless CPU® 
to the first sleep activation, in this case initiated by the Host UART. 

Figure 2.

 

Sequence of events from initial power-up to first sleep activation 

Time Description 

The Wireless CPU® is un-powered at this point, all UART1 signals are inactive. 

The Wireless CPU® has completed its power-up cycle and all UART signals are 
active.  The UART interfaces are ready to communicate, as indicated by the 
respective states of the hardware flow control lines. 

The first serial data is sent from the Wireless CPU® to the Host. 

The Host sends data to the Wireless CPU®, followed by a period of inactivity. 

The Host requests sleep mode initiation by setting DTR1 & RTS1 signals high. 

The Wireless CPU® acknowledges the request by setting DSR1 and CTS1 signals 
high, thereby beginning the sleep period.  The flow control lines will remain 
inactive from this point onwards, until such time as a wake-up event is triggered. 

 
APPLICATION NOTE 

GR/GS64 UART Sleep Protocols 
Page: 13/26 

This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement. 
Ce document est la propriété exclusive de WAVECOM. Il ne peut être communiqué ou divulgué à des tiers sans son autorisation préalable

 

Summary of Contents for GR64

Page 1: ...APPLICATION NOTE GR GS64 UART Sleep Protocols Reference WI_DEV_Gx64_APN_001 Version 001 Date 2006 11 09...

Page 2: ...rd Edition August 2006 Wavecom Inc publishes this manual without making any warranty as to the content contained herein Further Wavecom Inc reserves the right to make modifications additions and delet...

Page 3: ...e wire sleep mode and wake up APPLICATION NOTE GR GS64 UART Sleep Protocols Page 3 26 This document is the sole and exclusive property of WAVECOM Not to be distributed or divulged without prior writte...

Page 4: ...S CPU INITIATED SLEEP 15 2 4 4 WIRELESS CPU INITIATED WAKE UP 16 2 4 5 WIRELESS CPU REPEATS ATTEMPTS TO INITIATE SLEEP 17 2 4 6 DSR1 TIMING 18 2 4 7 SLEEP MODE ENABLING AND DISABLING 18 2 4 8 INCOMING...

Page 5: ...sleep Host initiates time out period a 15 Figure 5 UARTs in sleep mode Wireless CPU initiates wake up 16 Figure 6 Wireless CPU attempts sleep initiation Host fails to acknowledge 17 Figure 7 DSR funct...

Page 6: ...CPU This method provides power savings in a fashion similar to the behaviour of the GR47 Wireless CPU Without full modem control lines however the Host must wake the Wireless CPU using repetitive AT...

Page 7: ...d the Wireless CPU The UART is compliant with NS 16C750 and may be used in conjunction with the additional flow control signals The UART1 interface supports baud rates up to 115 2kbaud for standard PC...

Page 8: ...nd data from Wireless CPU transmit In a practical implementation of a UART these are the only mandatory signals required since these carry the information commands responses data packets status etc th...

Page 9: ...1 Data From Module Wireless CPU Wireless CPU Host Output signal used to send data from the Wireless CPU UART to the Host UART The default setting of this line is high AT IPR can be used to select the...

Page 10: ...TR1 remains high during the period that the sleep state is active 2 1 2 6 DSR1 Data Set Ready Wireless CPU Host DSR1 is an output signal from the Wireless CPU to indicate a desire to communicate DSR1...

Page 11: ...t which requires attention 2 2 UART Logic The UART1 signals described in this document are referenced to the GR GS64 system connector The signal amplitudes are CMOS levels A logic high inactive state...

Page 12: ...de the other UART must acknowledge the request in a timely manner in order for sleep to be enacted Sleep mode must not be enacted until both UARTs have acknowledged the sleep mode request by the appro...

Page 13: ...first serial data is sent from the Wireless CPU to the Host 4 The Host sends data to the Wireless CPU followed by a period of inactivity 5 The Host requests sleep mode initiation by setting DTR1 RTS1...

Page 14: ...4 Data is sent by the Host 5 Data is sent by the Wireless CPU Normal data flow can continue until such time as the flow control lines change their states either to interrupt data flow temporarily or t...

Page 15: ...Wireless CPU followed by a period of inactivity 5 The Wireless CPU requests sleep mode initiation by de asserting DSR1 CTS1 6 Within the request timeout period a the Wireless CPU acknowledges the requ...

Page 16: ...ting DTR1 RTS1 At this point both UART interface are ready to accept data transfers as indicated by the active states of their respective hardware flow control lines 4 Data is sent by the Wireless CPU...

Page 17: ...ost does not acknowledge the request before the time out period a has expired and subsequently re asserts DSR1 and CTS1 for the period b 4 The Wireless CPU makes a third attempt to request sleep by de...

Page 18: ...and AT E2RS232 selecting the appropriate val and sel parameters refer to the GR64 GS64 AT Command Manual for details In the event that the Host fails to respond to three consecutive attempts by the Wi...

Page 19: ...ions to its active low state DSR1 CTS1 are both asserted 2 4 Events 2 through 4 follow the same process as the Wireless CPU initiate wake up procedure illustrated in section 2 4 4 Note that the ring i...

Page 20: ...can also be enabled or disabled from embedded applications by using the spm function Spm also sets the inactivity delay Whether enabled by AT command or embedded application the Wireless CPU will atte...

Page 21: ...the GR47 the GR GS64 Wireless CPU s do not retain AT command sequences entered while awakening Therefore your application must determine when the Wireless CPU is fully awake and ready to receive AT co...

Page 22: ...longer than the inactivity delay If you are performing a long sequence of AT commands and responses that have indeterminate wait periods we recommend that you disable Autonomous Standby during the seq...

Page 23: ...rtf delayed for 5 seconds n 13 Output starting a delay for 5 seconds delayed for 5 seconds Note that any UART activity caused directly or indirectly by your embedded application will restart the inact...

Page 24: ...to calculate battery life or determine battery capacity examples of battery life for various operating scenarios are given in the Integrators Manual However it is important for you to anticipate the...

Page 25: ...has completed network registration and preliminary configuration the inactivity delay is programmable by the user sleep handshaking is automatically disabled after 3 failed attempts at Wireless CPU i...

Page 26: ...S A 3 esplanade du Foncet 92442 Issy les Moulineaux Cedex France Tel 33 0 1 46 29 08 00 Fax 33 0 1 46 29 08 08 Wavecom Inc 4810 Eastgate Mall Second Floor San Diego CA 92121 USA Tel 1 858 362 0101 Fax...

Reviews: