background image

GSM UART Port Application Note                                                                                                   

 

GSM_UART_Application_Note_V1.0             

                                                                                               

- 11 -   

 

 

Figure 6: 

The connection for firmware upgrade 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Quectel 

Confidential

Summary of Contents for GSM UART Port

Page 1: ...Quectel Cellular Engine GSM UART Port Application Note GSM_UART_Application_Note_V1 0 ...

Page 2: ...s possession Furthermore system validation of this product designed by Quectel within a larger electronic system remains the responsibility of the customer or the customer s system integrator All specifications supplied herein are subject to change Copyright This document contains proprietary technical information which is the property of Quectel Limited copying of this document and giving it to o...

Page 3: ...6 2 Connection 7 3 Level Shifter 8 3 1 Communicate with DTE 8 3 2 Communicate with the RS 232 port of PC 9 4 Firmware Upgrade 10 5 Flow control 12 5 1 Software flow control XON XOFF flow control 12 5 2 Hardware flow control RTS CTS flow control 12 6 Control Signals 13 6 1 DCD 13 6 2 DTR 13 6 3 RI 14 Quectel Confidential ...

Page 4: ...ation Note GSM_UART_Application_Note_V1 0 3 Table Index TABLE 3 LOGIC LEVELS OF THE UART PORT 8 TABLE 2 THE VOLTAGE OF RS 232 9 TABLE 3 RI RESPONSES 14 TABLE 4 AT QINDRI INDICATES RI WHEN USING URC 15 Quectel Confidential ...

Page 5: ...IGURE 3 THE REFERENCE LEVEL SHIFTER BY USING OPEN DRAIN OUTPUT BUFFER 8 FIGURE 4 THE REFERENCE LEVEL SHIFTER BY USING BIPOLAR TRANSISTOR 9 FIGURE 5 THE REFERENCE LEVEL SHIFTER BY USING SP3238E FOR COMMUNICATING WITH PC 9 FIGURE 6 THE CONNECTION FOR FIRMWARE UPGRADE 11 FIGURE 7 DTR FOR WAKING UP 13 FIGURE 8 BEHAVIOURS OF RI 15 Quectel Confidential ...

Page 6: ...GSM UART Port Application Note GSM_UART_Application_Note_V1 0 5 0 Revision history Revision Date Author Description of change 1 0 2009 06 25 Jay XIN Ken JI Initial Quectel Confidential ...

Page 7: ...he UART port of Quectel GSM module and how to use it in customer s application design This document can help you quickly understand the UART port of the module Note AT command can be input through UART port only after module is powered on and the Unsolicited Result Code RDY is output Quectel Confidential ...

Page 8: ... TX data TXD RX data RXD Request To Send RTS Clear To Send CTS Data Terminal Ready DTR Data Carrier Detect DCD and Ring Indicator RI Not all UART pins are necessary in customer s application If the module is used as a modem all pins are needed The modem control signal RI can be used to indicate to the DTE that a call or Unsolicited Result Code URC is received Hardware handshake using the RTS and C...

Page 9: ...V VOH 2 0 VDD_EXT V NOTE If the voltage level of UART pins in DTE and the module doesn t match with each other level shifter circuit should be inserted 3 1 Communicate with DTE It is recommended to design the level shift circuit by choosing open drain output buffer e g NC7WZ07 or discrete transistor Note VDD_EXT is supplied by the module 2 8V VCC_MCU is the voltage for host MCU UART interface Figu...

Page 10: ... Logic level Transmitter capable Receiver capable Unit Logic 0 5 15 3 25 V Logic 1 5 15 3 25 V Undefined 3 3 V It is suggested to design the level shifter by using RS 232 transceivers e g SP3238E or MAX3221 Figure 5 The reference level shifter by using SP3238E for communicating with PC If only the RXD and TXD pins need to be connected MAX3221 could be chosen for the level shifter Quectel Confident...

Page 11: ...r s host board which is used to prevent the data corruptions when the module is being upgrade while the MCU is also transferring data R2 is also a 2 2KΩ resistor it can be changed to 0Ω A reference firmware upgrade operation procedure is listed below 1 Power off the module 2 Connect the upgrade board to the UART of PC and the 4 pin connector when the module needs firmware upgrade 3 Press the Start...

Page 12: ...GSM UART Port Application Note GSM_UART_Application_Note_V1 0 11 Figure 6 The connection for firmware upgrade Quectel Confidential ...

Page 13: ...low control To enable software flow control in the DTE interface and within GSM engine type the following AT command AT IFC 1 1 This setting is stored volatile In order to keep this configuration AT W should be executed to save the configuration in the user profile Ensure that any communication software package e g ProComm Plus Hyper Terminal or WinFax Pro uses software flow control NOTE Software ...

Page 14: ...e active about 600ms after the DTR is changed to low level DTE can use the DTR pin to control the active or inactive state of the SLEEP mode as shown in Figure 7 Figure 7 DTR for waking up In TCP IP application for more detail please refer to TCP IP application notes the DTR pin can also be used to switch from data mode to command mode To use this method AT D1 should be set firstly Depending on th...

Page 15: ...ng Change to LOW then 1 Change to HIGH after establishing a voice call 2 Change to HIGH when using command ATH to reject the calling 3 Change to HIGH when caller hangs up the call Data calling Change to LOW then 1 Change to HIGH after establishing a data call 2 Change to HIGH when using command ATH to reject the data calling 3 Change to HIGH when caller hangs up the data calling SMS The RI will ch...

Page 16: ...RI when using URC AT command Response Parameter Read command AT QINDRI QINDRI status Ok See set command Set Command AT QINDRI status OK status 0 on 1 off It is recommended to connect the RI pin to an interrupt pin of Host MCU as the RI indication can be used to wake up the MCU from power saving mode Quectel Confidential ...

Page 17: ...Shanghai Quectel Wireless Solutions Co Ltd Room 501 Building 13 No 99 Tianzhou Road Shanghai China 200233 Tel 86 21 5108 6236 Mail info quectel com ...

Reviews: