Quectel UC15 MUX User Manual

Umts/hspa module series

Advertisement

Quick Links

UC15
MUX User Guide
UMTS/HSPA Module Series
Rev. UC15_MUX_User_Guide_V1.0
Date: 2014-07-11
www.quectel.com

Advertisement

Table of Contents
loading

Summary of Contents for Quectel UC15 MUX

  • Page 1 UC15 MUX User Guide UMTS/HSPA Module Series Rev. UC15_MUX_User_Guide_V1.0 Date: 2014-07-11 www.quectel.com...
  • Page 2 QUECTEL OFFERS THIS INFORMATION AS A SERVICE TO ITS CUSTOMERS. THE INFORMATION PROVIDED IS BASED UPON CUSTOMERS’ REQUIREMENTS. QUECTEL MAKES EVERY EFFORT TO ENSURE THE QUALITY OF THE INFORMATION IT MAKES AVAILABLE. QUECTEL DOES NOT MAKE ANY WARRANTY AS TO THE INFORMATION CONTAINED HEREIN, AND DOES NOT ACCEPT ANY LIABILITY FOR ANY INJURY, LOSS OR DAMAGE OF ANY KIND INCURRED BY USE OF OR RELIANCE UPON THE INFORMATION.
  • Page 3: About The Document

    UMTS/HSPA Module Series UC15 MUX User Guide About the Document History Revision Date Author Description 2014-07-11 Max TANG Initial UC15_MUX_User_Guide Confidential / Released 2 / 35...
  • Page 4: Table Of Contents

    UMTS/HSPA Module Series UC15 MUX User Guide Contents About the Document ........................... 2 Contents ............................... 3 Table Index ..............................5 Figure Index ..............................6 Introduction ............................7 The Design Purpose of MUX ....................... 8 MUX AT Command ..........................9 3.1.
  • Page 5 UMTS/HSPA Module Series UC15 MUX User Guide Power Saving Mode Under MUX ...................... 23 5.1. Power Saving Mode Based on DTR Pin Only ............... 23 5.1.1. Host Enables Module to Enter into Power Saving Mode ..........24 5.1.2. Host Enables Module to Exit from Power Saving Mode ..........25 5.1.3.
  • Page 6 UMTS/HSPA Module Series UC15 MUX User Guide Table Index TABLE 1: MUX FRAME STRUCTURE ....................... 11 TABLE 2: ADDRESS FIELD ..........................11 TABLE 3: C/R ..............................12 TABLE 4: THE CODING OF CONTROL FIELD ....................12 TABLE 5: THE STRUCTURE OF LENGTH FIELD ................... 13 TABLE 6: MAPPING FROM THE CONTROL SIGNAL OCTET BY A RECEIVING ENTITY ......
  • Page 7: Figure Index

    UMTS/HSPA Module Series UC15 MUX User Guide Figure Index FIGURE 1: MUX ARCHITECTURE ........................8 FIGURE 2: UA FRAME (RESPONSE) ......................14 FIGURE 3: POWER SAVING FLOW CHART (1) ....................24 FIGURE 4: POWER SAVING FLOW CHART (2) ....................27...
  • Page 8: Introduction

    UMTS/HSPA Module Series UC15 MUX User Guide Introduction This document mainly introduces the technical details of Quectel MUX (Multiplexer Protocol) and provides examples on how to develop MUX on devices. UC15_MUX_User_Guide Confidential / Released 7 / 35...
  • Page 9: The Design Purpose Of Mux

    As to a non-multiplexer device, it is so inefficient to deal with only one kind or one channel of data steam during a period of time. Therefore, Quectel multiplexer is designed to create 4 virtual channels on a physical port in order to transmit data simultaneously. It looks like four real physical channels for the application.
  • Page 10: Mux At Command

    UMTS/HSPA Module Series UC15 MUX User Guide MUX AT Command 3.1. AT+CMUX Enable/disable MUX Control Channel This command is used to enable/disable the MUX control channel. The AT command sets parameters for the control channel. If the parameters are left out, the default value will be used.
  • Page 11 UMTS/HSPA Module Series UC15 MUX User Guide I frames used only. <portspeed> 9600bit/s 19200bit/s 38400bit/s 57600bit/s 115200bit/s 230400bit/s 460800bit/s <N1> Maximum frame size, the range is 1-32768, 127 is the default value for basic option (see <mode>). <T1> The time UE waits for an acknowledgement before resorting to other action (e.g.
  • Page 12: The Multiplexer Protocol

    UMTS/HSPA Module Series UC15 MUX User Guide The Multiplexer Protocol This chapter explains the technical details of the multiplexer protocol. 4.1. Frame Structure Table 1: MUX Frame Structure FLAG Address Control Length Information FLAG 1 octet 1 octet 1 octet...
  • Page 13: Control Field

    UMTS/HSPA Module Series UC15 MUX User Guide Table 3: C/R Command/Response Direction C/R Value TE→UE Command UE→TE UE→TE Response TE→UE The DLCI identifies the virtual channel between TE and UE. Multiple DLCIs shall be supported but the number is implementation-specific. The DLCIs are dynamically assigned.
  • Page 14: Length Field

    UMTS/HSPA Module Series UC15 MUX User Guide  When DCE sends UIH frame NOT by DLC0, P/F is set to 0.  DCE only process SABM, DISC frame, whose P/F is set to 1. 4.1.4. Length Field Table 5: The Structure of Length Field...
  • Page 15: Frame Type

    UMTS/HSPA Module Series UC15 MUX User Guide 4.2. Frame Type 4.2.1. SAMB SABM is command frame and shall be used to establish DLC between TE and MS. 4.2.2. UA UA frame is the response to SABM or DISC frame. Please refer to following diagram.
  • Page 16: Uih

    The EA bit is an extension bit. It is set to 1 in the last octet of the sequence. In other octets, EA is set to 0. Quectel multiplexer only supports to transmit one octet. So EA is always set to 1.
  • Page 17: Message Type And Actions

    The EA bit is an extension bit. It is set to 1 in the last octet of the sequence. In other octets EA is set to 0. Quectel multiplexer only supports to transmit one octet. So EA is always set to 1.
  • Page 18: Flow Control On Command (Fcon)

    UMTS/HSPA Module Series UC15 MUX User Guide The length byte contains the value 0 and there are no value octets. 4.3.2.3. Flow Control on Command (FCon) The flow control command is used to handle the aggregate flow. When either entity is able to receive new information, it will transmit this command.
  • Page 19 UMTS/HSPA Module Series UC15 MUX User Guide This command shall be sent prior to any user data after a creation of a DLC. Command Length DLCI V.24 Signals Break Signals(optional) The length byte contains the value 2 or 3 and there are 2 or 3 value octets.
  • Page 20: Table 6: Mapping From The Control Signal Octet By A Receiving Entity

    UMTS/HSPA Module Series UC15 MUX User Guide Description of the control signal byte: Bit 1: The EA bit is set to 1 in the last octet of the sequence; in other octets EA is set to 0. If only one octet is transmitted, EA is set to 1.
  • Page 21: Procedure

    UMTS/HSPA Module Series UC15 MUX User Guide 4, RTR RFR (note), 133 CTS, 106 7, IC Always 0, - RI, 125 8, DV Always 1, - DCD, 109 NOTE Circuit 133, RFR (Ready for Receiving) is commonly assigned to the connector pin which is alternatively used for circuit 105, RS.
  • Page 22: Data Transfer

    UMTS/HSPA Module Series UC15 MUX User Guide If the station receiving the DISC command is already in a disconnected mode, it will send a DM response. If no UA or DM response has been received after T1, the initiating station may retransmit the DISC. This action may be repeated until a response is obtained or action is taken by a higher layer.
  • Page 23: Flow Control

    UC15 MUX User Guide 4.4.3.3. Flow Control Quectel multiplexer supports software flow control mechanism. Software flow control is implemented by GSM 0710 MSC, FCoff and FCon message frame. TE will send MSC message to MS with FC bit set to 1 in V.24 control signals when TE refuses to accept frames.
  • Page 24: Power Saving Mode Under Mux

    Power Saving Mode Under MUX Quectel module supports sleep mode under MUX. In actual application, there are two solutions for the module to enter into or exit from power saving mode. One is to use physical DTR pin only to control the power saving mode under MUX.
  • Page 25: Host Enables Module To Enter Into Power Saving Mode

    UMTS/HSPA Module Series UC15 MUX User Guide When USB is not in use, and the above AT commands are configured, you can pull down DTR to let the module exit from power saving mode, and pull up DTR to enter into power saving mode. If module is in sleep mode, and it receives incoming call, short messages or URC data, physical RI pin will be pulled to wake up the Host, and then the module sends the data to MUX virtual port.
  • Page 26: Host Enables Module To Exit From Power Saving Mode

    UMTS/HSPA Module Series UC15 MUX User Guide 3. Set hardware flow control. Set the Host RTS to disable data receiving. If hardware flow control is disabled, then ignore this step. 4. Set AP_READY pin as invalid. If it is disabled, then ignore this step.
  • Page 27: Power Saving Mode Based On Psc Frame And Dtr Pin

    UMTS/HSPA Module Series UC15 MUX User Guide 5.2. Power Saving Mode Based on PSC Frame and DTR Pin In this solution, you need to use both PSC frame and DTR pin to control the module to enter into or exit from power saving mode.
  • Page 28: Host Enables Module To Enter Into Power Saving Mode

    UMTS/HSPA Module Series UC15 MUX User Guide Call, Short Call, Short Message… Message… Change RI Module is in MUX status DTR change Change RI Module is in MUX status DTR change DTR from HIGH to DTR from HIGH to Is PSC frame?
  • Page 29: Host Enables Module To Exit From Power Saving Mode

    UMTS/HSPA Module Series UC15 MUX User Guide 5.2.2. Host Enables Module to Exit from Power Saving Mode If module is in power saving mode, then Host can trigger module to exit from power saving mode through the following procedure: 1. Host pulls DTR pin from HIGH to LOW, and triggers module to exit from power saving mode 2.
  • Page 30: Example

    UMTS/HSPA Module Series UC15 MUX User Guide Example 6.1. Samples for Frame Structure Sample 1: Opening Flag Address Field Control Field Length Field Closing Flag Header DLCI 0 SABM Frame 0, No Information Filed Tail This sample is a SABM frame to open DLCI 0.
  • Page 31: Establish Channels

    UMTS/HSPA Module Series UC15 MUX User Guide 6.2. Establish Channels Step 1: Launch Multiplexer Step Data Direction Comment launches 61 74 2B 63 6D 75 78 multiplexer function TE→MS 3D 30 0D 0D 0A 4F 4B AT+CMUX=0<CR><LF> by AT command...
  • Page 32: Frame Transmission

    UMTS/HSPA Module Series UC15 MUX User Guide TE sends MSC message F9 01 EF 0B E3 07 TE→MS frames 07 0D 01 79 F9 F9 01 EF 0B E1 07 MS feeds back MSC response TE←MS 07 0D 01 79 F9 TE requests to establish DLCI2 TE→MS...
  • Page 33: Power Saving Mode And Wake Up

    UMTS/HSPA Module Series UC15 MUX User Guide F9 05 EF 09 4F 4B 0D 0A 58 F9 TE sends AT command "AT<CR>" TE→MS UIH Frame F9 09 EF 07 41 54 0D 35 F9 through DLC 2” F9 09 EF 07 41 54 0D 35 F9 MS feeds back TE←MS...
  • Page 34: Synchronization

    UMTS/HSPA Module Series UC15 MUX User Guide DLC 0, to indicate refusing to accept anything on DLC 1 MS sends MSC message with FC F9 01 EF 0B E3 bit set to 0 through control channel TE←MS 07 07 8D 01 79...
  • Page 35: Closing Down Multiplexers

    UMTS/HSPA Module Series UC15 MUX User Guide synchronization has been reset 0D 67 F9 F9 25 EF to normal 0D 0D 0A 4F 4B 0D 0A 8A F9 NOTES UC15 does not initiative to send sync flags (F9), even though MS receives error frames.
  • Page 36: Appendix A Reference

    UMTS/HSPA Module Series UC15 MUX User Guide Appendix A Reference Table 10: Related Documents Document Name Remark 3rd Generation Partnership Project; Technical 3GPP TS 27.010 V9.0.0 Specification Group Terminals; Terminal Equipment to User Equipment (TE-UE) multiplexer protocol Quectel_UC15_AT_Commands_Manual UC15 AT commands manual...

Table of Contents