Академический Документы
Профессиональный Документы
Культура Документы
General Notes
CMT offers this information as a service to its customers, to support application and engineering
efforts that use CMT products. The information provided is based upon requirements specifically
provided to CMT by the customers. CMT has not undertaken any independent search for
additional relevant information, including any information that may be in the customers
possession. Furthermore, system validation of this CMT product within a larger electronic
system remains the responsibility of the customer or the customers system integrator. All
specifications supplied herein are subject to change.
Copyright
This document contains proprietary technical information which is the property of CMT 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.
Contents
Contents.............................................................................................................................................................. - 3 0 Version History.............................................................................................................................................. - 5 1 Introduction......................................................................................................................................................- 6 1.1 Related documents................................................................................................................................- 6 2 Product concept............................................................................................................................................... - 7 2.1 MD231S features at a glance................................................................................................................- 7 2.2 Min system............................................................................................................................................- 8 3 Hardware interface....................................................................................................................................... - 8 3.1 Module Interface...................................................................................................................................- 8 3.2 PIN description..................................................................................................................................... - 9 3.3 Operating modes.................................................................................................................................- 12 3.4 Power supply...................................................................................................................................... - 14 3.5 Power up and power down scenarios................................................................................................. - 15 3.5.1 Turn on MD231S.....................................................................................................................- 15 3.5.2 Turn off MD231S................................................................................................................... - 15 3.5.3 ResetB................................................................................................................................... - 16 3.5.4 Sleep mode...........................................................................................................................- 16 3.6 GSM UART port................................................................................................................................ - 16 3.7 Audio interface................................................................................................................................... - 17 3.8 I2C...................................................................................................................................................... - 20 3.9 GSM Antenna..................................................................................................................................... - 20 3.11 Bluetooth Antenna............................................................................................................................ - 21 3.12 SIM Interface....................................................................................................................................- 21 3.13 Keyboard interface........................................................................................................................... - 22 3.15 SD/MMC Card................................................................................................................................. - 23 3.16 RTC...................................................................................................................................................- 24 3.18 GPIOs and External Interrupt...........................................................................................................- 25 3.19 ADC.................................................................................................................................................. - 25 3.20 USB...................................................................................................................................................- 26 3.21 Charger detector............................................................................................................................... - 26 3.22 Digital Pin Electrical Characteristics............................................................................................... - 26 3.23 Ring Indication................................................................................................................................. - 26 3.24 Network Status Indication LED....................................................................................................... - 27 3.25 GPS Engine.......................................................................................................................................- 27 3.25.1 GPS performance.................................................................................................................. - 28 3.25.2 GLONASS performance....................................................................................................... - 29 3.26 GPS Antenna.....................................................................................................................................- 29 3.26.1 Antenna design with passive antenna....................................................................................- 29 3.26.2 Active antenna design............................................................................................................- 30 3.27 GPS UART....................................................................................................................................... - 31 -
3.27.1 GPS Operation Mode............................................................................................................ - 31 3.27.2 AT Commands for GPS Engine.............................................................................................- 32 4 MD231S application................................................................................................................................... - 32 4.1 AT command mode (standard GSM/GPRS module application)...................................................... - 32 4.2 TCP/IP HTTP FTP SMTP.................................................................................................................. - 33 5 Mechanics...................................................................................................................................................... - 33 5.1 Size..................................................................................................................................................... - 33 5.2 Footprint............................................................................................................................................. - 34 6 SCH of Reference Design............................................................................................................................. - 35 7 Reference design of hardware watch dog......................................................................................................- 36 8 Layout............................................................................................................................................................ - 36 8.1 GPS Part Layout................................................................................................................................. - 36 8.1.1 Placement.................................................................................................................................- 36 8.1.2 Antenna connection and ground plane design.........................................................................- 37 8.1.3 General design recommendations........................................................................................... - 38 8.2 GSM Part Layout................................................................................................................................- 39 8.2.1 The GSM Part PCB Trace Design Flow Sequence:................................................................- 39 8.2.2 The GSM Part PCB Layout check point................................................................................. - 39 -
0 Version History
Data
2013-11-25
Version
01.00
Description of change
Origin
Author
George Zhao
1 Introduction
This document describes the hardware interface of the MD231S GSM/GPRS+GPS module
which can be integrated with a wide range of applications. This document can help you quickly
understand MD231S interface specifications, electrical and mechanical details. With the help of
this document and other MD231S application notes, user guide, you can use MD231S module to
design and set-up mobile applications quickly.
2 Product concept
Designed for global market, MD231S is a Dual-band GSM/GPRS engine that works on
frequencies EGSM 900 MHz/DCS 1800 MHz or GSM850/PCS1900MHz. MD231S provides
GPRS (UL)/EDGE(DL) multi-slot class 12 capability. With Build-in GPS chipset, MD231S have
ultra-low power consumption and ultra-high sensitivity for GPS applications.
The MD231S module is designed with power saving technique, the current consumption to as
low as 1-2mA in Sleep mode (depends on network condition).
Implementation
Size: 27.4 * 30.8 * 3.0 mm
Weight: 8g
Single supply Voltage 3.4V - 4.2V, typical: 3.8V
Typical power consumption in Sleep mode to 3-4mA depends
on network condition
Frequency
Dual band: EGSM900/DCS 1800
Q band: EGSM900/DCS 1800 and GSM850/PCS1900
Transmit Power
Class 4 (2W)EGSM900
Class 1 (1W)DCS1800 and PCS 1900
GPRS connectivity GPRS (UL)/EDGE (DL), multi-timeslot class 12
Temperature Range Normal operation: -40C to +85C
SMS
MT, MO, CB, Text and PDU mode
SMS storage: SIM card
Support transmission of SMS alternatively over CSD or GPRS.
User can choose preferred mode.
FAX
Group 3 Class 1
SIM interface
1.8V/3V
External Antenna
Connected via antenna pad
SIM
Application SAT Class 3, GSM 11.14 Release 97
Toolkit
Real time clock
Implemented
Firmware upgrade
Firmware upgradeable over serial interface or USB interface
3 Hardware interface
3.1 Module Interface
The 88 pins described in detail in following chapters:
Power supply
GSM Serial interface
Analog audio interfaces
USB interface
SIM interface
Keyboard interface
I2C
SPI
Charger Detect
SD/MMC Card
RTC backup battery
IOs
External Interrupt
ADC
GSM antenna
GPS antenna
GPS serial interface
Bluetooth antenna
Name
Function
Aux
Power Domain
Function
I/O
GPIO42
LCD 0 CS
PU/PD
LPCE1B
DVDD18_EMI
GND
ANT_GPS
GND
GPS_UART_TX
GPS Uart TX
GPS_VDDIO
GPS_UART_RX
GPS Uart RX
GPS_VDDIO
SPKP0
Speaker Out +
SPKN0
Speaker Out -
MIC_P0
Microphone 0 +
10
MIC_N0
Microphone 0 -
11
XMIC
Microphone 1 input
12
AU_OUT_P
Headset output +
13
AU_OUT_N
Headset output -
14
MP3_OUTL
Earphone Left
15
MP3_OUTR
Earphone Right
16
VCHG_DET
Charger detector
17
USB_DM
USB Data -
18
USB_DP
USB Data +
19
SIM_RST
SIM Reset
20
SIM_DATA
SIM Data
21
SIM_CLK
SIM Clock
22
VSIM
SIM power
23
KCOL1
Keypad COL 1
GPIO8
PD
DVDD28
24
KCOL3
Keypad COL 3
GPIO6
PD
DVDD28
GPS antenna
EDICK
25
KCOL2
Keypad COL 2
GPIO7
PD
DVDD28
26
KCOL4
Keypad COL 4
GPIO5
PD
DVDD28
EINT1
27
KCOL0
Keypad COL 0
GPIO9
PU
DVDD28
28
KROW3
Keypad ROW 3
GPIO12
PD
DVDD28
PD
DVDD28
PD
DVDD28
EDI2DAT
29
KROW4
Keypad ROW 4
GPIO11
EDI2WS
EINT3
30
KROW0
Keypad ROW 0
GPIO15
CLKO6
LSDI0
31
KROW2
Keypad ROW 2
GPIO13
PD
DVDD28
32
KROW1
Keypad ROW 1
GPIO14
PD
DVDD28
PD
DVDD28
PD
DVDD28
DI_IDA
33
SDA28
I2C Data
GPIO2
SPICS0
34
SCL28
I2C Clock
GPIO1
SPISCK0
35
RESETB_OUT
Reset Output
36
VIO28
37
LPCE_0B
GPIO40
LSCE0B
DVDD18_EMI
38
LPRSTB
GPIO46
LCD Reset
PD
DVDD18_EMI
39
LWR_B
GPIO37
LSCK0
PD
DVDD18_EMI
LSCK0
40
LRD_B
GPIO38
LSDA0
PD
DVDD18_EMI
41
LPA0
GPIO39
LSDI0
PD
DVDD18_EMI
42
NLD7
GPIO29
PD
DVDD18_EMI
43
NLD6
GPIO30
PD
DVDD18_EMI
44
NLD5
GPIO31
PD
DVDD18_EMI
45
NLD4
GPIO32
PD
DVDD18_EMI
46
NLD3
GPIO33
PD
DVDD18_EMI
47
NLD2
GPIO34
PD
DVDD18_EMI
48
NLD1
GPIO35
PD
DVDD18_EMI
49
NLD0
GPIO36
PD
DVDD18_EMI
50
UTXD1
UART1 TX
GPIO23
DVDD28
51
URXD1
UART1 RX
GPIO22
PU
DVDD28
52
ANT_BT
Bluetooth Antenna
CMCSK
PD
DVDD28
53
GPIO59
CMPCLK
54
CMMCLK
GPIO58
PD
DVDD28
55
CMPDN
GPIO57
DVDD28
PD
DVDD28
PD
DVDD28
PD
DVDD28
PD
DVDD28
PD
DVDD28
56
External input 7
GPIO56
SDA
CMVSYNC
57
CMRST
58
GPIO60
GPIO54
LSDI1
DAIPCM
CMDAT7
59
OUT
GPIO53
LSDA1
DAIPCM
CMDAT6
60
IN
GPIO52
LSCK5
DAIPCM
CMDAT5
61
OUT
GPIO51
LSA0DA1
PD
DVDD28
GPIO50
LRSTB
PD
DVDD28
CMDAT4
62
CMDAT3
63
DAICLK
GPIO49
SCL
PD
DVDD28
GPIO48
CMCSD1
PD
DVDD28
GPIO47
CMCSD0
PD
DVDD28
GPIO55
DAIRST
PD
DVDD28
UART2 TX
GPIO21
PD
DVDD28
PD
DVDD28
CMDAT2
64
CMDAT1
65
CMDAT0
66
CMHSYNC
67
U1CTS
UTXD2
68
SPIMISO0
UART2 RX
GPIO23
U1RTS
URXD2
SPIMISI0
69
GND
70
ANT_GSM
71
GND
72
PWR_KEY
PowerOn key
73
ADC4
ADC Input
74
GSM Antenna
GPS
TIMEPULSE1
75
TimePulse
output
GPS
supervisor
76
ANT_OFF
Off/On
ANT_OK
GPS
Antenna
power
status
supervisor
77
External input 8
EINT8
AVDD28_ABB
PWM
78
VBACKUP
79
VBAT
Power Supply
80
VBAT
Power Supply
81
GPIO61
SD Card Clock
GPIO25
PD
MCCLK
82
DC
SD Card IO 0
GPIO26
PD
MCDA0
83
84
85
GPIO27
PD
Output
SD
MCINS
DVDD33_MS
DC
SD Card Command
MCCM0
DVDD33_MS
Card
DVDD33_MS
DC
Check
GPIO24
Input
EINT5
External interrupt 0
GPIO0
PD
DVDD18_EMI
PD
DVDD28
EDICK
EINT0
86
PWM
SD Card IO2
GPIO4
MCDA2
87
DC
SD Card IO3
GPIO10
MCDA3
88
DVDD33_MS
DVDD33_MS
DC
SD Card IO1
MCDA1
GPIO3
DVDD33_MS
DC
Attention:
DVVDD 2.7V-2.9V
DVDD33_MSDC 3.0V-3.6V
AVDD28_ABB 2.7V-2.9V
DVDD18_EMI 1.7V-1.95V
GPS_VDDIO (3.3V)
I/O and PD/PU status after reset: It is the Pin I/O and PD/PU status after module power on
(Reset) and before the module software start.
Mode
Normal
operation
Function
GSM/GPRS
Sleep
GSM IDLE
POWER
DOWN
Alarm
mode
Pin
Name
Function
I/O
Min
Type
V V
Max Note
V
7980
VBAT
Power
Input
3.3
4.6
3.8
Supply
2469 GND
71
3.5.3 ResetB
RESETB (Pin35) is a output pin of MD231S module reset indication.
Notes:
MD231 was disabled to GSM/GPRS Sleep mode by default.
There was no response for AT command when MD231 was in GSM/GPRS Sleep mode.
MD231 could be waked up from Sleep mode by incoming call, SMS or interruption
indication on the Pin.
Pin Name
Function
Pin Num
Pin Name
Function
50
UTXD1
UART1 TX
51
URXD1
UART1 RX
67
UTXD2
UART2 TX
68
URXD2
UART2 RX
Notes:
UART1_CTS/UART_RTS were multiplexed with UART2_TX/UART2_RX
TTL level
Here is the reference design for UART to RS232.
Pin
Num
Pin Name
Function
Pin
Num
Pin Name
Function
MIC_P0
Mic 0 +
10
MIC_N0
Mic 0 -
12
AU_OUT0_P
Audio output +
13
AU_OUT0_N
Audio output -
15
MP3_OUTR
Earphone Right
14
MP3_OUTL
Earphone Left
11
XMIC
Mic 1 input
SPKN0
Speaker -
SPKP0
Speaker +
Note:
XMIC is single end to Mic, the other end of Mic should be link to GND.
SPKN0/SPKP0 was amplified by MP3_OUTR/MP3_OUTL. Combined Mic channel could
be configuration by software.
The audio should be far away from the radio part to reduce TD noise from radio.
It is suggested that you adopt following matching circuit in order to satisfy speaker effect. The
difference audio signals have to be layout according to difference signal layout rules. If you want
to adopt an amplifier circuit for audio, we commend National companys LM4890.
Reference design:
Earphone
3.8 I2C
MD231S can be I2C Master.
Table 6I2C interface
Pin Num
Pin Name
Function
33
SDA28
I2C Data
34
SCL28
I2C Clock
Max
GSM850
E-GSM900
DCS1800
PCS1900
33dBm2dB
33dBm2dB
30dBm2dB
30dBm2dB
Min
5dBm5dB
5dBm5dB
0dBm5dB
0dBm5dB
Receive sensitivity
<-106dBm
<-106dBm
<-104dBm
<-104dBm
Receive
869~894MHz
925~960MHz
DCS1800
1710~1785 MHz
PCS1900
1850~1910 MHz
Transmit
824-849MHz
800-915MHz
1805~1800
MHz
1930~1990
MHz
Pin Name
Function
52
ANT_BT
Bluetooth Antenna
The SIM interface supports the functionality of the GSM Phase 1 specification and also supports
the functionality of the new GSM Phase 2+ specification for FAST 64 kbps SIM (intended for
use with a SIM application Tool-kit).
The SIM card interface circuitry of PMU meets all ETSI and IMT-2000 SIM interface
requirements. It provides level shifting needs for low voltage GSM controller to communicate
with either 1.8V or 3V SIM cards. All SIM cards contain a clock input, a reset input, and a
bi-directional data input/output. The clock and reset inputs to SIM cards are level shifted from
the supply of digital IO (Vio) of baseband chipset to the SIM supply (Vsim). The bi-directional
data bus is internal pull high with 10kohm resistor.
All pins that connect to the SIM card (Vsim, SRST, SCLK, SIO) withstand over 5kV of
human body mode ESD. In order to ensure proper ESD protection.
Table 10SIM interface Pins
Pin Num
Pin Name
Function
20
SIM_DATA
21
SIM_CLK
SIM Clock
19
SIM_RST
SIM Reset
22
VSIM
block which provides key pressed, key released and de-bounce mechanisms. Each time the key is
pressed or released, i.e. something different in the 5 x 5 matrix or power-key, the key detection
block senses the change and recognizes if a key has been pressed or released. This keypad can
detect one or two key-pressed simultaneously with any combination. Since the key press
detection depends on the HIGH or LOW level of the external keypad interface, if keys are
pressed at the same time and there exists a key that is on the same column and the same row with
the other keys, the pressed key cannot be correctly decoded. For example, if there are three key
presses: key1 = (x1, y1), key2= (x2, y2), and key3 = (x1, y2), then both key3 and key4 = (x2, y1)
are detected, and therefore they cannot be distinguished correctly. Hence, the keypad can detect
only one or two keys pressed simultaneously at any combination. More than two keys pressed
simultaneously in a specific pattern retrieve the wrong information.
There should not be an external pull down resistor on KCOL0 and please use the KCOL1-4 prior
if could meet demand.
If you want 50 keypad, please use 20 ohm resistor to expanded the keypad.
(MMC) bus protocol as defined in MMC system specification version 4.1. Since SD Memory
Card bus protocol is backward compatible to MMC bus protocol, the MD231S is capable of
working well as the host on MMC bus under control of proper firmware. Hereafter, the MD231S
is also abbreviated as SD/MMC controller.
Table11: SD Card Interface
Pin Num
Pin Name
Function
81
MCCLK
SD Clock
82
MCDA0
SD Data 0
83
MCCM0
SD Control output
84
MCINS
SD Card Detection
86
MCDA2
SD Data 2
87
MCDA3
SD Data 3
88
MCDA1
SD Data 1
3.16 RTC
The Real Time Clock (RTC) module provides time and data information. The clock is based on a
32.768KHz oscillator with an independent power supply. When the module is powered off, a
dedicated regulator supplies the RTC block. If the main battery is not present, a backup supply
such as a small mercury cell battery or a large capacitor is used through the pin78 of VBACKUP.
3.19 ADC
MD231S provides one auxiliary ADC (General purpose analog to digital converter.) as voltage
input pin, which can be used to detect the values of some external items such as voltage
temperature etc. For module application, user can use AT command AT+CADC# to read the
voltage value added on ADC pin.
The functional specifications of the auxiliary ADC are listed in the following table.
Table 12 The Functional specification of Auxiliary ADC
Symbol Parameter
Min
Resolution
FC
Clock Rate
FS
Typical
Max
10
0.1
1.0833
Unit
Bit
MHz
5/(N+1)
MSPS
Input Swing
1.0
AVDD
Operating Temperature
-40
85
300
1
A A
3.20 USB
USB 1.1 version and supported 12Mbps. It can be used as USB modem interface or firmware
upgrade interface. We recommend that customers to use this USB interface for firmware
upgrade.
Operation Voltage
PD/PU
Min (V)
PD
4.3
Max (V)
7
TA = 25 C.
Digital IO Voltage
Parameter
Conditions
Min.
Typical
Max.
2.7
2.8
2.9
60
Unit
V
mA
Line regulation
mV
Load regulation
30
mV
RI respond
Standby
High
Voice calling
SMS
Module function
Off
GPRS communication
50% @ 30 m/s
10
50% @ 30 m/s
11
Specification
Antenna Type
Active
Recommendations
Minimum gain
Maximum gain
50dB
1.5dB
Typically, a passive antenna is located near electronic components; therefore, care should be
taken to reduce electrical noise that may interfere with the antenna performance. Passive
antennas do not require a DC bias voltage and can be directly connected to the RF input pin
RF_IN. Sometimes, they may also need a passive matching network to match the impedance to
50.
GPS/GLONASS info will be sent out from GPS_UART continually as long as the GPS part start.
4 MD231S application
4.1 AT command mode (standard GSM/GPRS module
application)
MD231S module communicated with external MCU via GSM_UART interface using AT
commands.
External MCU can get GPS/GLONASS info from GSM_UART or GPS_UART.
Please check MD251PQ_AT_DOCUMENT.PDF for AT Commands on MD231S.
GSM_UART configuration:
Baud rate: 115200 (default)
Data bits: 8
Stop bit:1
Flow control: No
5 Mechanics
5.1 Size
5.2 Footprint
An isolated ground area exists around and below the RF connection. This part of the circuit
MUST be kept as far from potential noise sources as possible. Make certain that no signal lines
cross, and that no signal trace vias appear at the PCB surface within the area of the red rectangle.
The ground plane should also be free of digital supply return currents in this area. On a multi
layer board, the whole layer stack below the RF connection should be kept free of digital lines.
This is because even solid ground planes provide only limited isolation.
The impedance of the antenna connection must match the 50 impedance of the receiver. To
achieve an impedance of 50 , the width W of the micro strip has to be chosen depending on the
dielectric thickness H, the dielectric constant r of the dielectric material of the PCB and on
the build-up of the PCB. Following figure shows two different builds: A 2 Layer PCB and a 4
Layer PCB. The reference ground plane is in both designs on layer 2 (red). Therefore, the
effective thickness of the dielectric is different.
The length of the micro strip line should be kept as short as possible. Lengths over 2.5 cm (1
inch) should be avoided on standard PCB material and without additional shielding.
For multi layer boards the distance between micro strip line and ground area on the top layer
should at least be as large as the dielectric thickness.
Routing the RF connection close to digital sections of the design should be avoided.
To reduce signal reflections, sharp angles in the routing of the micro strip line should be avoided.
Chamfers or fillets are preferred for rectangular routing; 45-degree routing is preferred over
Manhattan style 90-degree routing.
Do not route the RF-connection underneath the receiver. The distance of the micro strip line
to the ground plane on the bottom side of the receiver is very small (some 100 m) and has
huge tolerances (up to 100%). Therefore, the impedance of this part of the trace cannot be
controlled.
All power supply filters should be put near the relevant components. And the order is the
smallest capacitance is the nearest.
The power supply traces, such as VBAT, Vcharge, should be wide and short. The
Capacitors for Vbat_RF should be placed near Power Pin.
The voltage of V_BAT is often changing from time to time. So it is better to keep other
power supply lines far away from V_BAT, such as V_IO, V_SIM
The width of VBAT should not be less then 80mil.
Antenna(GSM&GPS)
1. The line of Antenna should be short to make the insert loss lower and routed as RF line
strictly to keep 50ohm matching.
2. Its better to put the antenna pad on the edge of the PCB.
Audio
1.
EAR+ and EAR-, MIC+ and MIC-, LINE_I+ and LINE_I-, LINE_O+ and LINE_O-
2.
SIM
1. SIM test is very sensitive. While PCB layout, the SIM trace, such as V_SIM,
SIM_DATA, SIM_RST, SIM_CLK should be kept clean. And reserve a R-C filter
location at the side of SIM socket for above lines respectively.
2. Its better to put the SIM socket near the Module.
USB
1.
2.
USB D+ and USBD- should be parallel and symmetry, respectively and should been
strictly to keep 90ohm matching.
USB line should be protected below and both side by GND.
Camera
1.
2.
Memory Card
1. MCCLK signal line should protect by GND
2. Memory card signals are better to route toghter.
LCM
1. LWR_B should be protected by GND
2. Its better to route LCM signals together and protected by GND.
ESD Protect
1.
2.
Ground
1. The more GND Via, the better! Make sure enough GND Via to the Ground.
2. If possible, the ground layer should not be divided. Keep at least one ground layer
completed.
3. Distinguish the digital GND pin and analog GND pin for IA chip and make different
GND plane for them respectively.
Others
The Keypad lines should not been routed up the antenna, especially the key_return lines.
Components of Microphone input circuit should be put as symmetry as possible.
The RF traces should be carefully calculated.
CLK_OUT signal line should protect by GND.