GPRS35 900/1800MHz GPRS Modem Module User’s Manual Hardware revision 1.
User’s Manual GPRS35 GSM GPRS 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 MC35 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 GPRS 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 GPRS35 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 MC35 has been placed in shutdown mode. If only GSM data in required the GSM35 is also available using the dual band TC35 GSM Modem. 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. Engineering samples will be available in August 2002.
User’s Manual What comes with your board Your GPRS35 package contains the following items: • • GPRS35 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 GPRS35 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 GPRS35 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 GPRS35. Figure 2-1 shows the board layout of the GPRS35 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 GPRS35 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 GPRS35 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
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 GPRS35 hardware supports interrupt sharing! Jumper G must be closed on one module per used interrupt.
User’s Manual Chapter 3 BOARD INSTALLATION The GPRS35 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 GPRS35 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 GPRS35 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 GPRS35 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 GPRS35 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 GPRS35 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 GPRS35/GPRS35. The units are not interchangeable, the GPRS35 and the GPRS are identical in their SIM interfaces. Once the MC35 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 GPRS35: • • • • • The GPRS GSM wireless modem module GSM antenna considerations SIM card reader UART serial port circuitry Digital I/O Fig.
User’s Manual The GPRS GSM wireless modem module The GPRS35 wireless GSM modem is built around the Siemens MC35 dual band 900/1800MHz GPRS GSM 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 A very useful AT command that shows quality of the signal reception is : AT+SCQ, the signal quality +CSQ: value (Value should be > 11) shows the quality of the network signal. SIM-card reader Standard 3V and dual voltage SIM-cards can be used with the GPRS35. 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.
User’s Manual 1.8432MHz. Note that the UART interrupt can be disabled or enabled from software by writing to bit 01 in address BASE+0x402. 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.
User’s Manual Chapter 5 BOARD OPERATION AND PROGRAMMING This chapter shows you how to program and use your GPRS35. 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 GPRS35 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 GPRS35, 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 MC35 antenna connector and power up your PC/104 system. The GPRS35 will initialise with the system. After this the status LED will blink for a while until the MC35 is logged into the network.
User’s Manual IRQ's are already used by the standard system resources, IRQ0 is dedicated to the internal timer, IRQ1 is dedicated to the keyboard input, 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.
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 Consider then the following situation in your program: If DOS function X is being executed when an interrupt occurs and the interrupt routine makes a 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.
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 - GPRS35 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 EGSM900 and GSM1800 phase 2/2+ 9600 baud, 14400 baud CSD Up to 50 kbit/s with GPRS connection GSM data transmisson, SMS, Fax group 3 GSM 02.
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.