GSM35 900/1800MHz GSM Modem Module User’s Manual Hardware revision 1.
User’s Manual GSM35 GSM Modem Module User’s Manual REAL TIME DEVICES FINLAND OY LEPOLANTIE 14 FIN-00660 HELSINKI FINLAND Phone: (+358) 9 346 4538 FAX: (+358) 9 346 4539 EMail sales@rtdfinland.fi techsupport@rtdfinland.fi Websites http://www.rtdfinland.fi/ http://www.rtdusa.
User’s Manual WARNING LIFE SUPPORT APPLICATIONS This product is not designed for use in life support appliances, devices or systems where malfunctioning of these products can reasonably be expected to result in personal injury. RTD customers using or selling this product for use in these applications do so at their own risk and fully agree to indemnify RTD for any damages resulting from such improper use or sale.
User’s Manual Revision History 05/04/2002 HW Release 1.0, Preliminary version, released CE Conformity of TC35 cellular engine: • 89/336/EC (EMC Directive) • 73/23/EC • 91/263/EC (telecommunications terminals directive) (Low voltage directive) Standards: • EMC ETS 300 342-1 • Safety EN60950 • GSM Network TBR 19, TBR 20 Notice: We have attempted to verify all information in this manual as of the publication date.
User’s Manual Table of Contents List of illustrations and tables ................................ 6 Chapter 1 Introduction ............................................ 7 Features .................................................................................................. 7 GSM cellular modem............................................................................... 7 16C550 compatible UART....................................................................... 8 I/O interfaces.....................
User’s Manual Chapter 5 Board operation and programming..... 23 Defining the memory map .................................................................... 23 GSM BASE+400h Digital I/O................................................................. 24 GSM BASE+402h status register .......................................................... 24 GSM BASE+403h control register......................................................... 24 Starting up and logging into the GSM network..............................
User’s Manual Chapter 1 - INTRODUCTION This user’s manual describes the operation of the RTD GSM35 integrated global GSM wireless modem designed for mobile, marine, and automotive applications.
User’s Manual A SIM-card socket is located on the solder side of the module. The card can only be removed while the TC35 has been placed in shutdown mode. The GPRS35 is also available using the MC35 GPRS Modem. It supports all the features of the GSM35 and, on top, the advantages of the fast GPRS technology. The MC35 based GPRS modem GPRS35 is available now. During the 3Q 2002 RTD Finland will also release a triple band GPRS module that will operate in the 1900MHz band. The part number will be GPRS45.
User’s Manual What comes with your board Your GSM35 package contains the following items: • • GSM35 board User's manual Note: Device drivers and example software available on our website If any item is missing or damaged, please send an EMAIL to Real Time Devices Finland sales service department at Internet address: . Note that RTD Finland also can offer a GSM35 starter kit that will include an active antenna with ready cables for direct evaluation and testing of this module.
User’s Manual Chapter 2 - BOARD SETTINGS The GSM35 board has jumper settings, which can be changed to suit your application and host computer configuration. The factory settings are listed and shown in the diagram at the beginning of this chapter. Make sure you completely study and understand this chapter before making changes to these settings.
User’s Manual Factory-Configured Jumper Settings Table 2-1 below illustrates the factory jumper setting for the GSM35. Figure 2-1 shows the board layout of the GSM35 and the locations of the jumpers. The following paragraphs explain how to change the factory jumper settings to suit your specific application.
User’s Manual Base address jumpers (Factory setting: 2E8h / 6E8h) The GSM35 is I/O mapped into the memory space of your host XT/AT. The board occupies a consecutive memory window of 8 bytes starting from the base address for UART communication and 4 consecutive bytes starting from BASE+400h for the board control and status registers. As an example if your base address is set to be 2E8h for the serial port, the onboard control registers will start from 6E8h.
User’s Manual GSM35 Base address configuration BASE 200 208 210 218 220 228 230 238 240 248 250 258 260 268 270 278 280 288 290 298 2A0 2A8 2B0 2B8 2C0 2C8 2D0 2D8 2E0 2E8 2F0 2F8 A8 A7 A6 A5 A4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 0 1 1 0 0 1 0 0 0 0 1 0 0 0 0 1 0 1 0 0 1 0 1 0 0 1 1 0 0 0 1 1 0 0 0 1 1 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 1 0 0 1 0 1 0 0 1 0 1 0 1 0 0 1 0 1 0 0 1 0 1 1 0 1 0 1 1 0 1 1 0 0 0 1 1 0 0 0 1 1 0 1 0 1 1 0 1 0 1 1 1 0 0 1 1 1 0 0 1 1 1 1 0 1 1
User’s Manual Fig. 2-2 Base address jumpers illustrating address 2E8 Host interrupts (Factory setting: IRQ5, G closed) The header connector, shown in Figure 2-3 below, lets you connect the onboard control logic interrupt outputs to one of the interrupt channels available on the host computer XT/AT bus. Fig. 2-3 Interrupt jumpers from left to right IRQ2,5,6,7,10,11,12,14,15 and G Note: The GSM35 hardware supports interrupt sharing! Jumper G must be closed on one module per used interrupt.
User’s Manual Chapter 3 BOARD INSTALLATION The GSM35 GSM modem module is designed to directly mount on top or under your RTD PC/104 cpuModule stack. This chapter tells you step-bystep how to install your GSM35 into your system. Board installation Keep your board in its antistatic bag until you are ready to install it to your system! When removing it from the bag, hold the board at the edges and do not touch the components or connectors.
User’s Manual Fig. 3-1 GSM35 integrated in a RTD PC/104 cpuModule stack together with a HPWR104HR power supply module and a CMM series cpuModule General purpose digital I/O connector The Table 3-1 below shows the pin outs of the GSM35 digital I/O interface. The signals in this geader connector can be used as general purpose TTL level I/O lines to interface to LCD displays, LED’s, bush buttons or relays. Note that Figure 3-2 shows two connectors together.
User’s Manual Fig 3-2 Digital I/O connector layout of the GSM35 SIM card holder The figure 3-3 below shows the mechanical construction of the +3V standard SIM-card holder. In the figure the card is in the ejected state. Press the card carrier into the holder. To eject the SIM-card, press the yellow ejector button. The GSM35 also supports an external SIM card interface board the ESIM2035. This external card interface can be attached to the wall of your enclosure with a 150mm long cable.
User’s Manual Figure 3-4 below shows a picture of the external SIM card interface board. Fig 3-4 ESIM2035 board Note that the ESIM2035 is configured differently for the GSM20 and the GSM35/GPRS35. The units are not interchangeable, the GSM35 and the GPRS are identical in their SIM interfaces. Once the TC35 GSM modem is able to initialise itself after power-up and correctly detect the SIM card the green status LED will be lit. If the LED is not illuminated you can not interface to your GSM modem.
User’s Manual Chapter 4 - HARDWARE DESCRIPTION This chapter describes the major hardware building blocks of the GSM35: • • • • • The GSM wireless modem module GSM antenna considerations SIM card reader UART serial port circuitry Digital I/O Fig.
User’s Manual The GSM wireless modem module The GSM35 wireless GSM modem is built around the Siemens TC35 dual band 900/1800MHz cellular engine. It is designed both for handling complex industrial applications such as telemetry, telematics or communication, and for integration in stationary or mobile fields all over the world. General information on these products is available at the following Internet addresses: http://www.siemens.de/gsm_e and http://www.siemens.de/gsm in german language.
User’s Manual SIM-card reader Standard 3V and dual voltage SIM-cards can be used with the GSM35. Older 5V SIM cards will not work, though they may operate in standard GSM cellular phones. These new 3V SIM cards are no older than two years. The SIM-card holder has a card detection circuit that will in theory allow hot insertion and removal of the card. This is NOT recommended, since the SIM card contenets can become corrupted if it is removed while the TC35 GSM modem is writing to it.
User’s Manual Digital I/O For general-purpose digital I/O interfacing a 16-bit digital I/O port is provided. This port includes 8 TTL-level digital outputs that are cleared (to 0) after system reset. Also are included 8 digital inputs with 10K Ohm pulldown resistors. These I/O’s are located on the left side of the board. These I/O’s are ideal to be used to interface to LCD displays, LED’s pushbuttons or other low power controls.
User’s Manual Chapter 5 BOARD OPERATION AND PROGRAMMING This chapter shows you how to program and use your GSM35. It provides a general description of the I/O map. Detailed serial port programming tips are not within the scope of this manual. Defining the Memory Map The memory map of the GSM35 occupies two groups of eight bytes of host PC I/O space. This window is freely selectable by the user as described in Chapter 2, Table 2-2.
User’s Manual BASE+400 Digital I/O (R/W) This address is used to interface to the digital I/O port of the GSM35, writing to this address will transfer the data out of the output port, while reading from this address will return the data from the digital inputs.
User’s Manual Starting up and logging into the GSM network With no power applied insert your +3V or dual voltage SIM into the cardholder on the solder side of the board. Connect the antenna cable to the TC35 antenna connector and power up your PC/104 system. The GSM35 will initioalise with the system. After this the status LED will blink for a while until the TC35 is logged into the network.
User’s Manual IRQ3 for the serial port COM2, and IRQ4 for the serial port COM1. Often interrupts 2,5,7,10,11 and 15 are free for the user. 8259 Programmable Interrupt Controller The chip responsible for handling interrupt requests in a PC is the 8259 Interrupt Controller. To use interrupts you will need to know how to read and set the 8259's internal interrupt mask register (IMR) and how to send the end-of-interrupt (EOI) command to acknowledge the 8259 interrupt controller.
User’s Manual Using Interrupts in your Program Adding interrupt support to your program is not as difficult as it may seem especially when programming under DOS. The following discussion will cover programming under DOS. Note that even the smallest mistake in your interrupt program may cause the computer to hang up and will only restart after a reboot. This can be frustrating and time-consuming.
User’s Manual call to the same DOS function X, then function X is essentially being called while active. Such cases will cause the computer to crash. DOS does not support such operations. The general rule is that do not call any functions that use the screen, read keyboard input or any file I/O routines, these should not be used in ISR's. The same problem of re-entrancy also exists for many floating-point emulators.
User’s Manual Saving the Startup Interrupt Mask Register (IMR) and interrupt vector The next step after writing the ISR is to save the startup-state of the interrupt mask register, (IMR) and the original interrupt vector you are using. The IMR is located in address 21h. The interrupt vector you will be using is located in the interrupt vector table which is an array of pointers (addresses) and it is locate din the first 1024 bytes of the memory (Segment 0 offset 0).
User’s Manual Example on Interrupt vector table setup in C-code: void far _interrupt new_IRQ1_handler(void ); #define IRQ1_VECTOR 3 void (interrupt far *old_IRQ1_dispatcher) (es,ds,di,si,bp,sp,bx,dx,cx,ax,ip,cs,flags); old IRQ_Vector */ void far _interrupt new_IRQ1_handler(void ); /* ISR function */ /* Name for IRQ */ /* Variable to store /*---------------------------------------------------------------------| Function: init_irq_handlers | Inputs: Nothing | Returns: Nothing | Purpose: Set the pointers in
User’s Manual Chapter 6 - GSM35 SPECIFICATIONS Host interface 16-bit PC/104 bus, XT-bus used for data, XT and AT interrupts available GSM modem specifications Operational GSM compatibility Datarate Services supported Network personalisation Status indicator Output power EGSM900 and GSM1800 phase 2/2+ 9600 baud, 14400 baud CSD GSM data transmisson, SMS, Fax group 3 GSM 02.22 1 LED Class 4 (4W) EGSM900 Class 1 (1W) GSM1800 SIM card reader Voltage Compatibility Detection 3V or dual voltage cards GSM11.
User’s Manual Chapter 7 - RETURN POLICY AND WARRANTY Return Policy If the module requires repair, you may return it to us by following the procedure listed below: Caution: Failure to follow this return procedure will almost always delay repair! Please help us expedite your repair by following this procedure. 1) Read the limited warranty, which follows. 2) Contact the factory and request a Returned Merchandise Authorization (RMA) number.
User’s Manual Limited Warranty Real Time Devices, Inc. warrants the hardware and software products it manufactures and produces to be free from defects in materials and workmanship for one year following the date of shipment from REAL TIME DEVICES. This warranty is limited to the original purchaser of product and is not transferable.