SIM7100 UART Application Note

Similar documents
Quectel Cellular Engine

SIMCom_3G_SSL_Application Note_V1.10

U10. Quectel Cellular Engine. Video Call Application Notes. U10_ Video_Call_AN_V1.0

SIM800 Series_IP_Application Note_V1.02

M72. Quectel Cellular Engine. EVB User Guide M72_EVB_UGD_V1.0

GSM. Quectel Cellular Engine. GSM TCPIP Application Notes GSM_TCPIP_AN_V1.1

Quectel Cellular Engine

Quectel Cellular Engine

Quectel Cellular Engine

SIM800 Series_SSL_Application Note_V1.01

SIM900_Custom Application Building Tutorial_Application Note_V1.00

GSM. Quectel Cellular Engine. HTTP Service AT Commands GSM_HTTP_ATC_V1.2

SIM800 Series_SSL_Application Note_V1.00

SIM800 Series_FM_Application Note_V1.00

M95 Dual SIM Application Notes

L16. Quectel GNSS Engine. EVB User Guide L16_EVB_UGD_V1.0

LOW COST GSM MODEM. Description. Part Number

SMS Application Note. SIM5360_SMS_Application_Note_V0.01

SIM900 Eclipse environment install Application Note_V1.00

Quectel Cellular Engine

L10. Quectel GPS Engine. EVB User Guide L10_EVB_UGD_V1.00

Using Xbee in Serial Communication

How To Use An Adh8012 Gsm Gprs Module With A Gsm (Gsm) Gpros (Gsp) Gpls (Geo) Gsp (Gpl) Gs

WCDMA&GSM Module_Extra_Function_for_Network

RTU-COM with GSM. User Notes and Short Form AT Commond Survey

BLUETOOTH SERIAL PORT PROFILE. iwrap APPLICATION NOTE

F2103 GPRS DTU USER MANUAL

Configuring IP to Serial with Auto Answer and Serial to IP

Rev GSM base station. Installation instructions

GX64 APPLICATION NOTE GSM Multiplexer Feature. Reference: WI_DEV_Gx64_APN_006 Revision: 001 Date: 2007/01/30

GTS-4E Hardware User Manual. Version: V1.1.0 Date:

Modbus Communications for PanelView Terminals

M80 EVB User Guide M80. Quectel Cellular Engine. EVB User Guide M80_EVB_UGD_V1.2 M80_EVB_UGD_V1.2-0-

Application Note 2. Using the TCPDIAL & TCPPERM Commands to Connect Two TransPort router Serial Interfaces Over TCP/IP.

LS-101 LAN to Serial Device server. User s Manual

Date Rev. Details Author

Objectives. Basics of Serial Communication. Simplex vs Duplex. CMPE328 Microprocessors (Spring ) Serial Interfacing. By Dr.

WHQL Certification Approval...2 User Interface...3 SUNIX s COMLab..4

Part Number Description Packages available

UART IP Core Specification. Author: Jacob Gorban

USER GUIDE EDBG. Description

WA Manager Alarming System Management Software Windows 98, NT, XP, 2000 User Guide

Low Speed Modems for Dial and Leased Circuits 2400E-2 (Stand Alone) 2400R-2 (Rack Mount) 2400E-4 (Stand Alone) 2400R-4 (Rack Mount)

MCB3101 (Class I) WiRobot Serial Bluetooth Wireless Module User Manual

1. Make sure that no client accounts are open. 2. Click on Setup, then click Modem. The Modem Setup window will appear.

APPLICATION NOTE GR/GS64 General Purpose and Alternate Function I/O. Reference: WI_DEV_Gx64_APN_008 Revision: 001 Date: 2006/12/15

RS-232 Baud Rate Converter CE Model 232BRC Documentation Number 232BRC-3903 (pn5104-r003)

SMS GSM Alarm Messenger

Testing Data Radio Modem with Serial Port Tool V1.20

IP Link Device Interface Communication Sheet

Different Ways of Connecting to. 3DLevelScanner II. A.P.M Automation Solutions LTD. Version 3.0

USB2.0 <=> I2C V4.4. Konverter Kabel und Box mit Galvanischetrennung

PCMCIA 1 Port RS EDITION OCTOBER 1999

GSM Interfacing Board

Technical description MX-1 VB Edge

Future Technology Devices International Ltd

DECT Module UM-9802 Datasheet

WIFI OBD GPS Tracker T356 User Manual

Cable Specifications and Information

When we look at the connector pinout of the RS232 port, we see two pins which are certainly used

RS-232 COMMUNICATIONS

(SMTP/POP3) Application Note

SyncLink GT2/GT4 Serial Adapter

a8251 Features General Description Programmable Communications Interface

Remote Data Collection Device CE Model DCDSS1

Siemens DECT Engine MD32. Product Description. Information and Communication Products

Data sheet Wireless UART firmware version 4.02

Cabling Guide for Console and AUX Ports

Serial RS232 Bluetooth Adapter

Software User Guide UG-461

RPDO 1 TPDO 1 TPDO 5 TPDO 6 TPDO 7 TPDO 8

Virtual Integrated Design Getting started with RS232 Hex Com Tool v6.0

SIM808 V2.2.5 user manual V1.2. Electrodragon.com

RFID MODULE Mifare Reader / Writer SL025B User Manual Version 1.4 Nov 2012 StrongLink

Installation & Configuration Manuel. Socket Server. OpenAT application

CENTRONICS interface and Parallel Printer Port LPT

CONCEPT1 RS232 COMMUNICATION

ELAN DIGITAL SYSTEMS LTD. SL232 PC- CARD USER S GUIDE

IP Link Device Interface Communication Sheet

8051 Serial Port. Crystal TXD. I/O Device RXD. Embedded Systems Peripherals

RS232 Board datasheet

Serial Communications

BIT COMMANDER. Serial RS232 / RS485 to Ethernet Converter

Installation and Operation Manual TAP Application on the Open Java Server

Stevens Cell-Net CDMA & GSM M2M 3G Data Modem. Product Manual

USB TO SERIAL ADAPTER

ESPA Nov 1984 PROPOSAL FOR SERIAL DATA INTERFACE FOR PAGING EQUIPMENT CONTENTS 1. INTRODUCTION 2. CHARACTER DESCRIPTION

IPRS-7 IP/GPRS PC Receiver Software Quick Start V1.2

RJ45 Shielded (standard) port pinout. CS9000, Jetstream , Lanstream 2000, RTA8/RJX, RRC16, MTA8/RJX & SXDC8/RJX

SenseLink TM. End-Point Controller. Addendum

Allen-Bradley. Bar Code. 2-D Hand-Held. Programming Guide. Bar Code. Scanners. (Cat. No HTG-4)

AN_2901CE_001 JULY 2005

SYMETRIX SOLUTIONS: TECH TIP August 2015

1-Port R422/485 Serial PCIe Card

PFB366 Profibus-DP Gateway User Manual

Command Processor for MPSSE and MCU Host Bus Emulation Modes

A RF18 Remote control receiver MODULE

What is Easy-Radio? Devices Covered. Frequency Hopping Transceiver. Where x00 denotes frequency of operation. E.g. 400 = 433MHz

Serial Communications

Zypcom Application Note

Transcription:

SIM7100 UAT Application Note

Document Title: SIM7100 UAT Application Note Version: 0.01 Date: 2014-11-07 Status: Document Control ID: elease SIM7100_UAT_Application_Note _V0.01 General Notes SIMCom offers this information as a service to its customers, to support application and engineering efforts that use the products designed by SIMCom. The information provided is based upon requirements specifically provided to SIMCom by the customers. SIMCom has not undertaken any independent search for additional relevant information, including any information that may be in the customer s possession. Furthermore, system validation of this product designed by SIMCom 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 SIMCom Limited., copying of this document and giving it to others and the using or communication of the contents thereof, are forbidden without express authority. Offenders are liable to the payment of damages. All rights reserved in the event of grant of a patent or the registration of a utility model or design. All specification supplied herein are subject to change without notice at any time. Copyright Shanghai SIMCom Wireless Solutions Ltd. 2014 SIM7100_UAT_Application_Note_V0.01 2

Contents 1 Introduction... 6 2 Connection... 6 2.1 Hardware Interface... 6 2.2 Connect to Host... 7 3 Synchronize baud rate... 8 4 Flow Control... 9 4.1 Hardware flow control (TS/CTS)... 9 5 Control Signals... 10 5.1 CTS... 10 5.2 TS... 10 5.3 DCD... 10 5.4 DT... 10 5.5 I... 10 6 Multiplex... 11 Appendix... 12 A elated Documents... 12 B Terms and Abbreviations... 12 SIM7100_UAT_Application_Note_V0.01 3

Version History Date Version Description of change Author 2014-11-07 V0.01 New version hzc SIM7100_UAT_Application_Note_V0.01 4

Scope This document describes how to use UAT interface of SIMCom SIM7100 modules. Examples are also given for reference. This document can be used for SIMCom SIM7100 modules. SIM7100_UAT_Application_Note_V0.01 5

1 Introduction This document describes the UAT interface of SIMCom 4G modules. The UAT port has several features: Support High-speed UAT, the baud rate up to 4Mbps. the communication baud rate including: 300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 3200000, 3686400, 4000000bps. Support both S232 modem and Simple modem connections. Support Hardware flow control. Support Auto baud rate synchronize. 2 Connection SIMCom 4G modules designed as a DCE (Data Communication Equipment). It provides a Simple or S232 modem which is used for data transmission and sending AT commands. The default baud rate is 115200bps, data size is 8 bits, stop bits is 1 bit, and parity is none. The default connection is Simple modem, the control signals PIN should be configured as corresponding UAT control signal function if user need support Simple modem. 2.1 Hardware Interface Table 1: Pin description Pin type Pin name I/O Active voltage Default Status UAT_XD I High/Low Pull- Up UAT_TXD O High/Low Pull-Up UAT_TS O High/Low UAT UAT_CTS I High/Low Pull-Up UAT_DT I High/Low Pull-Up UAT_DCD O High/Low UAT_I O High/Low More pin information refers to chapter 6. Table 2: Logic level SIM7100_UAT_Application_Note_V0.01 6

Parameter Min Max Unit Logic low input -0.3 0.3 V Logic high input 0.8 1.83 V Logic low output -0.3 0.3 V Logic high output 0.9 1.83 V 2.2 Connect to Host When the module is used as a Simple modem for data transmission, only XD and TXD signal PIN are used, the following figure shows the connection between SIM7100 module and DTE(customer s CPU). MODULE( DCE) HOST ( DTE) Serial port TXD TXD Serial port XD XD TS TS CTS DT Sleep and wakeup module CTS DT/GPIO DCD I Wake up host DCD ING GPIO Figure 1: Simple modem When the module is used as a S232 modem for data transmission, all the signal PIN should be connected, including TXD, XD, TS, CTS, DT, DCD and I, and the corresponding PIN should be configured as UAT function, the details please refer to the Control Signals section below. The following figure shows the connection between SIM7100 module and DTE (customer s CPU). MODULE( DCE) HOST ( DTE) Serial port TXD TXD Serial port XD TS XD TS CTS DT DCD I CTS DT DCD ING Figure 2: S232 modem SIM7100_UAT_Application_Note_V0.01 7

Note: 1. For difference devices, the name of TS PIN maybe confused as CTS PIN, and the name of CTS PIN maybe confused as TS PIN, the I/O direction of SIM7100 module s CTS PIN is IN, and TS PIN is OUT, user can determine this confusion by the I/O direction. 3 Synchronize baud rate Although the standard SIM7100 module doesn t support this function by default, user can use AT+IP or +IPEX command to set auto baud rate. Autobaud allows SIM7100 module to automatically detect the baud rate based on the host device. Host device must to synchronize the baud rate with SIM7100 module first before use. Host must send at string to synchronize the module, if module matches the baud rate it will response with UC: Autobaud: OK, if no UC reported host must send the synchronize string again until the UC received. If the baud rate is matched between the module and host device, two devices can communicate with each other normally. The function is supported in +IP or +IPEX. When IPEX or IP is set to 0,autobaud is activated. If TA send AT+IPEX=0 command to modem, then module will be save autobaud mode. SIM7100_UAT_Application_Note_V0.01 8

Start Power on module Send at to module eceive the UC: Autobaud:OK NO YES Module set its baud rate according to the host device End Baud rate synchronization chart 4 Flow Control Flow control is very important during the transmission (large data) between the module (DCE) and the terminal device (DTE). When the receiving buffer reaches its capacity, the receiving device should be capable of pause the sending device until it overflows. SIM7100 modules are designed as no flow control by default, but use can enable this function by AT command. 4.1 Hardware flow control (TS/CTS) Hardware flow control achieves the data flow control by controlling the TS/CTS line which follows the S232 standard. The command AT+IFC=2, 2 can be used to enable hardware flow control, these setting are stored automatically. To achieve hardware flow control, ensure that the TS/CTS lines are present on user s application platform. SIM7100_UAT_Application_Note_V0.01 9

5 Control Signals 5.1 CTS When this pin is in hardware flow control mode, this signal is asserted (low level) to prepare the module (DCE) for accepting transmitted data from the DTE device. DCE stop transmitting data if CTS PIN is high level, transmission begins or continues if CTS is low level, if CTS goes high in the middle of character transmission, the module (DCE) waits for a completed transmission before stop transmitting data. This PIN is in GPIO mode by default, user can switch to flow control mode by AT+IFC=2,2 command. 5.2 TS When this pin is in hardware flow control mode, this signal is asserted by the module (DCE) to inform the DTE device that transmission may begin. The TS PIN output high level when the X FIFO (512 Bytes) level of the module (DCE) is the same or greater than 64, when the x FIFO level falls below 64 the TS PIN output low level. This PIN is in GPIO mode by default, user can switch to flow control mode by AT+IFC=2,2 command. 5.3 DCD AT command AT&C can be used to set DCD function mode. When set AT&C0, DCD line is always ON (low). When set AT&C1, DCD line is ON (low) only in the presence of data carrier. 5.4 DT The PIN default in GPIO mode, and support sleep/wakeup mode, AT command AT+CSCLK can be used to switch GPIO and sleep/wakeup mode. If DT in Sleep mode, module will be in sleep mode when it not have any work. AT+CSCLK=0 set to GPIO mode AT+CSCLK=1 set to Sleep/Wakeup mode Note: If module coming call when in sleep mode, it will be wakeup and send UC to host, module will be auto sleep when UC send complete and DT is high then sleep time. Anytime host want send data to module, it must be pull down DT then 20ms. 5.5 I This PIN is used wakeup host when module have message to the port, message can support Call, SMS or UC. Table 3: I espond SIM7100_UAT_Application_Note_V0.01 10

State Standby Voice/Data call SMS UC I respond HIGH Change to LOW, then: (1) Change to HIGH when call is established. (2) Use AT command ATH, the I PIN is changed to HIGH. (3) Sender hangs up, change to HIGH. (4) SMS received. When receiving SMS, the I PIN will be changed to LOW level for about 120ms, and then it is changed to HIGH level. UCs trigger 60ms LOW level on I, this function can be enable/disable by AT+CFGI command. 6 Multiplex Before using the multiplexer of module, one should also implement the same function on one s own side, currently the multiplexer resided in the module is conformed to the specification of GSM07.10 so one can implement his own multiplexer followed by this specification. In a word one must implement his own multiplexer first at his side before rightly using SIMCOM module s multiplexer. Currently the module only supports Basic mode and one byte length indicator, AT+CMUX=0 can make four virtual ports, there are ports only support AT service. SIM7100_UAT_Application_Note_V0.01 11

Appendix A elated Documents SN Document name emark [1] SIM7100_GPIO_Application_Note_V0.01.doc GPIO Application Note B Terms and Abbreviations Abbreviation UAT UC DTE DCE Description Universal Asynchronous eceiver/transmitter Unsolicited esult Code Data Terminal Equipment Data Communication Equipment SIM7100_UAT_Application_Note_V0.01 12

Contact us: Shanghai SIMCom Wireless Solutions Co.,Ltd. Address: Building A, SIM Technology Building, No. 633, Jinzhong oad, Shanghai, P.. China 200335 Tel: +86 21 3252 3300 Fax: +86 21 3252 2030 UL: www.sim.com/wm SIM7100_UAT_Application_Note_V0.01 13