CalAmp 09002 CRM4200 Cellular Module User Manual CRM4250 4200 Interface

CalAmp CRM4200 Cellular Module CRM4250 4200 Interface

Users Manual

Interface Specification DocumentRev.  -Cellular Radio Module CRM4250/4200Company ConfidentialStandard Communications Corp. -1-   November 20, 2000Interface SpecificationCRM4250/4200Cellular Radio ModuleStandard Communications Corp.1111 Knox St.Torrance, CA 90502800-767-2831
Interface Specification DocumentRev.  -Cellular Radio Module CRM4250/4200Company ConfidentialStandard Communications Corp. -2-   November 20, 2000Preliminary Draft - subject to change without noticeDocument Changes:Initial Release: Rev. -  11/20/00
Interface Specification DocumentRev.  -Cellular Radio Module CRM4250/4200Company ConfidentialStandard Communications Corp. -3-   November 20, 20001.0.  SYSTEM OVERVIEW  42.0. GENERAL DESCRIPTION  43.0. INTERFACE SPECIFICATION  43.1 GENERAL  43.2 PHYSICAL  53.3 ELECTRICAL  63.4. SERIAL DATA FORMAT  64.0 SERIAL CONTROL PROTOCOL  74.1. PACKET STRUCTURE  74.2. DATA TRANSPARENCY  74.3. MESSAGE FLOW  76.0. DETAILED COMMAND DESCRIPTIONS  96.1. LABELING CONVENTIONS FOR SYNTAX:  96.2. GENERAL COMMANDS  97.0 CONTROL MESSAGE FLOW DIAGRAMS  267.1 INITIAL POWER-UP SEQUENCE  267.2 POWER-DOWN SEQUENCE  267.3 CHANGE OPERATING MODE  268.0 POWER MANAGEMENT  27
Interface Specification DocumentRev.  -Cellular Radio Module CRM4250/4200Company ConfidentialStandard Communications Corp. -4-   November 20, 20001.0. SYSTEM OVERVIEWThe Standard Communications CRM4250/4200 Cellular Radio Module is part of atwo-piece solution for wireless data communications. The CRM4250/4200 unit isused in conjunction with a separate modem unit to provide a complete solution. Thisarchitecture allows use of multiple radio and other media interface modules with acommon multi-standard modem unit.2.0 GENERAL DESCRIPTIONThe CRM4250/4200 contains all of the functional elements of a complete cellulartelephone with the exception of the user interface and the battery. The unit includes acomplete receiver and transmitter; plus, a micro controller and other circuitry toallow the unit to efficiently interface to an external modem unit.3.0. INTERFACE SPECIFICATION3.1 GeneralThe CRM4250/4200 interface is designed to allow simple interfacing betweenvarious modems and radio modules. It is designed to be hardware and standardindependent on both the radio and the modem sides of the interface. This interfacehas been submitted to the PCMCIA committee for adoption as an extension to thePCMCIA modem card auxiliary connector standard.The interface command set includes operating modes to support many different radiosystem standards. At present, the standards defined for the interface include AMPScellular telephone. Products utilizing this interface may support one or more of theseoperating modes and will have the ability to query the personality of a given moduleand to set the operating mode of a multiple mode module.
Interface Specification DocumentRev.  -Cellular Radio Module CRM4250/4200Company ConfidentialStandard Communications Corp. -5-   November 20, 20003.2 PhysicalThe host interface to the CRM4250/4200 is implemented using a 20 pin (2x10) headerconnector. It provides all connections between the CRM4250/4200 and the base bandcontroller and/or data modem.PIN  SMBOL           I/O                   DESCRIPTION1,2  GND GND Ground.3  SPKR OUT O High Power Audio (Ear/Speaker)4  LINE AO  RX demodulated signal (+)+/-8.0kHz deviation input will produce1 volt p-p output signal (variable levelwith 99h command) for modem use.5  SPKR OUT  O  High Power Audio (Ringer).6  LINE IN ITX modulation (+)1 volt p-p signal,will produce +/-8.0kHz deviation.Single-ended input (600 ohm)7  LINE B  O  Fixed -18dBm modem audio output.8  MIC  I  Microphone audio input. Can bedirectly connected to 600 ohmimpedance microphone or Electrictype microphone.9,10 VCC                PWR (CRM4200 ONLY) +5 VDC supply input.Requires a minimum available current of750mA. (DO NOT CONNECT IF CRM4250)11  reserved  -  Do not connect.12  RSSI  O  Receive signal strength indication.Varying DC voltage output based onreceived signal strength.13,14 VCC  PWR  (CRM4250 ONLY) +12VDC supply inputRequires a minimum available current of1.2 amps. (DO NOT CONNECT IF CRM4200)
Interface Specification DocumentRev.  -Cellular Radio Module CRM4250/4200Company ConfidentialStandard Communications Corp. -6-   November 20, 2000PIN      SMBOL           I/O                   DESCRIPTION continued.15  RXD  I  Control serial data RX. TTL/CMOScompatible levels.16  TXD  O  Control serial data TX. TTL/CMOScompatible levels.17  PROGRAM  I  Do not connect. Reserved for production.18  AUXA  I/O  Reserved for customer applications.19  AUXB  I/O  Reserved for customer applications.20  GND  GND  Ground.Note: Portions of this physical interface specification are in the process of beingredefined. Contact the factory for latest status or for special requirements.3.3 Electrical3.3.1 Serial Control LinkTx Data: TTL / CMOS logic level signal output for data from radio to hostRx Data: TTL / CMOS logic level signal input for data from host to radioHandshake: none, handshakes implemented in s/w only3.4. Serial Data Formattype:  asynchronous, full duplexword format:  1 start, 8 data, 1 parity and 1 stop bitparity:  evenbit rate:  9600 baud
Interface Specification DocumentRev.  -Cellular Radio Module CRM4250/4200Company ConfidentialStandard Communications Corp. -7-   November 20, 20004.0 SERIAL CONTROL PROTOCOL4.1. Packet Structure/ control field  / data field  /| SOF | byte count | command | data 1 | ... | data n | FCS |Where:  SOF  Start Of Frame, hex value 02 (STX)byte count  One byte value indicating the total number of bytes inthe packet, except the SOF.command  One byte value representing the command/messagetype being transmitteddata  argument or data for the command or messageFCS  checksum; the two's complement of the lower 8-bits ofthe sum of the binary values of all of the bytes in thepacket except the SOF and FCS.4.2. Data TransparencyByte stuffing is used to reduce the probability of errors in frame synchronization. AnSTX (02 hex) byte in the control or data fields of the packet, without byte stuffing,could cause loss of frame synchronization. Byte stuffing applies only to the data andcontrol fields.Prior to transmission of a packet, a DLE (10 hex) byte will be inserted prior to everySTX (02 hex) or DLE byte. The stuffed DLE byte is counted as a valid byte indetermining both in the LEN byte count and the FCS.Once all the byte stuffing has been completed, the LEN byte needs to be comparedagainst the DLE. For the special case when the LEN byte is equal to a DLE 10h, theLEN byte is incremented by one and a DLE inserted between the SOF and LEN.Example of a LEN of 10h:SOF  DLE  LEN  CMD   ….  FCS 02h   10h   11h   76hNote: Do Not DLE the FCS byte.4.3. Message Flowstep 1 - Command / message transmitted (either direction)step 2 - Destination processor immediately sends ACK/NAK to acknowledge receipt ofpacket. (If required for command received.)note: If necessary, destination processor initiates response message when requestedcommand is complete and/or requested data is available.
Interface Specification DocumentRev.  -Cellular Radio Module CRM4250/4200Company ConfidentialStandard Communications Corp. -8-   November 20, 2000COMMAND NAME  CMD  Data Len Radio Mode ACK REQ PageHTR / RTHACK  00  0  ALL  NO   9Initialize Radio Mode  01*(56) 1 ALL  YES   9Set MIN  07  5  TEST  YES  10Set SID  09  2  TEST  YES  10Set Baud / Parity  0B  2  TEST  YES  10Dial  21  16  AMPS  YES  11Answer  22  0  AMPS  YES  12Disconnect  23  0  AMPS  YES  12Key Flash  24  16  AMPS  YES  12System Info Query/Response  25  0/5 ALL  YES  13Reset Radio  41  0ALL  YES  13Radio power on/Response  45  /0  ALL  NO  14RSSI Query/Response  52  0/1  ALL  YES  14Self Test (CAL) / Response  55  0/1  TEST  YES  15Initialize Radio Mode  56 (01)  1  ALL  YES  15Request Firmware Revision  57  0/2  ALL  YES  16Test mode  58  1  ALL  YES  16Battery Level Query  59  0/1  ALL  YES  17Battery level update  5A  /1  ALL  YES  17ID Info Query/Response  73  0/11  TEST  YES  18System A/B Select  74  1  ALL  YES  19Service Status Query  89  0/7  ALL  YES  19Service Unavailable  90  /0  AMPS  YES  20Service Available  91  /0  AMPS  YES  21Ring  92  /0  AMPS  YES  21Call connected  93  /0  AMPS  YES  21Call Failure  94  /0  AMPS  YES  22Call Terminated (remote)  95  /0  AMPS  YES  22Handoff started  96  /0  AMPS  YES  22Handoff completed  97  /0  AMPS  YES  22Call Terminated (signal loss)  98  /0  ALL  YES  23Volume Control  99  1  ALL  YES  23Load Authentication A-key  B0  26/1  TEST  YES  23Enable / Disable Authentication  B2  1  ALL  YES  24Set Negative SID  C8  3  TEST  YES  23Req Negative SID  C9  1/3  ALL  YES  24Not supported  FE  0  ALL  NO  25NAK  FF  0  ALL  NO  25* This command is subject to future removalCommands Are Not Supported, but will be in future revisionsData Length (HTR) Direction Host to Radio(RTH) Direction Radio to HostRadio Mode (AMPS) AMPS Data / AMPS Voice
Interface Specification DocumentRev.  -Cellular Radio Module CRM4250/4200Company ConfidentialStandard Communications Corp. -9-   November 20, 20006.0. DETAILED COMMAND DESCRIPTIONS6.1. Labeling conventions for syntax:SOF = "start of frame" flag. Sent as 02 hex.LEN = length of packet, in bytes.FCS = "checksum" calculated as described in section 4.16.2. General CommandsCommands/messages listed in this section can be used under any operating mode. Theyinclude commands/messages for general flow control, selection and control ofoperating mode and general radio control.00H Command ACKThis message is sent to acknowledge receipt of a command or message. Transmission ofan ACK only indicates successful reception of a supported command, if data or otherresponse is required, it will be sent in a separate message. An ACK must be receivedwithin 100ms of reception of a packet, otherwise the packet will be assumed lost and aretry will be attempted. While waiting for reception of an ACK message, any newmessages must be held until the current message has been successfully acknowledged.After three unsuccessful retry attempts, an error condition should be declared andappropriate error recovery procedures initiated.Direction:  eitherSyntax:  | SOF | LEN | 00H | FCS |ACK required:  NO01H Command Initialize Radio Mode.This command is used to select the operating mode of the radio. The appropriatevalue/bit is set in the data word to identify the selected mode.Direction:  Host to radioRadio Mode:  ALLSyntax:  | SOF | LEN | 01H | aa | FCS |Where: aa = 01H AMPS voice (MIC Input PIN 8)aa = 02H Amps Data mode (LINE IN Input PIN 6)See Command 58H for Entering Test ModeACK required:  YES
Interface Specification DocumentRev.  -Cellular Radio Module CRM4250/4200Company ConfidentialStandard Communications Corp. -10-   November 20, 200007H Command Set MIN.This command is used to set the cellular phone number (MIN) of the radio. Thisparameter is normally set at the time of cellular service activation by the equipmentor service provider.Direction:  Host to radioRadio Mode:  TESTSyntax:  | SOF | LEN | 07H | aa aa aa aa aa | FCS |Where:  aa aa aa aa aa = 5 bytes containing MIN nibble packed BCDexample: (800) 555-1212 = '80 05 55 12 12'ACK required:  YES09H Command Set SID.This command is used to set the home system ID (SID) corresponding to the cellularphone number. This parameter is normally set at the same time of the cellular phonenumber (MIN) is programmed into the radio.Direction:  Host to radioRadio Mode:  TESTSyntax:  | SOF | LEN | 09H | aa aa | FCS |Where:  aa aa = SID hex value (sent MS byte first)ACK required:  YESNote: The SID as provided from the cellular carrier is usually in decimal format.Converting this to hex is required.
Interface Specification DocumentRev.  -Cellular Radio Module CRM4250/4200Company ConfidentialStandard Communications Corp. -11-   November 20, 20000BH Command Set Serial Communication Baud RateThis command is used to set the baud rate and serial format on the serial controlinterface of the radio.Direction:  Host to radioMode:  TESTSyntax:  | SOF | LEN | 0BH | aa bb | FCS |Where:  aa:  0 = 96001 = 48002 = 24003 = 12004 = 300bb:  0 = 8 bits, no parity1 = 8 bits, even parityWarning:  After this command is issued, the ACK message will be sent, andthen the new data rate and serial format will take effectimmediately.Usage:  By sending this command to the radio, the signaling between thehost and the radio data rate can be changed.Storage:  Non-volatile.Factory default: 9600, 8 bits, even parity21H Command Dial - send.This command is used to place a cellular call. It is the equivalent of dialing thenumber and pressing SEND on a cellular telephone.Direction:  Host to radioRadio Mode:  AMPSSyntax:  | SOF | LEN | 21H | <number> | FCS |Where:  <number> =16 byte string containing phone number to bedialed (in 4 bit binary format), padded to end withNUL charactersNUL = 0 hex * = B hexNumber 0 = A hex # = C hexACK required:  YES
Interface Specification DocumentRev.  -Cellular Radio Module CRM4250/4200Company ConfidentialStandard Communications Corp. -12-   November 20, 200022H Command Answer.This command is used to answer an incoming call.Direction:  Host to radioRadio Mode:  AMPSSyntax:  | SOF | LEN | 22H | FCS |ACK required:  YES23H Command DisconnectThis command will terminate a call in process. It is equivalent to pressing the ENDkey on a cellular telephone.Direction:  Host to radioRadio Mode:  AMPSSyntax:  | SOF | LEN | 23H | FCS |ACK required:  YES24H Command Key flashThis command is used to send the equivalent of a hook or key flash to the telephonenetwork. This is used in some systems to access call waiting or other customfeatures.A simple flash message is sent with either a null string or the last number dialed inthe number field. A second call (for 3-way dialing) is initialed by sending a flashmessage with the new number to be dialed in the number field.Direction:  Host to radioRadio Mode:  AMPSSyntax:  | SOF | LEN | 24H | <number> | FCS |Where:  <number> =16 byte string containing phone number to bedialed (in 4 bit binary format), padded to end withNUL charactersNUL = 0 hex * = B hexNumber 0 = A hex # = C hexACK required:  YES
Interface Specification DocumentRev.  -Cellular Radio Module CRM4250/4200Company ConfidentialStandard Communications Corp. -13-   November 20, 200025H Command Current Information QueryDirection:  Host to radioRadio Mode:  ALLSyntax:  | SOF | LEN | 25H | FCS |ACK required:  YES25H Command Current Information ResponseDirection:  Radio to hostRadio Mode:  ALLSyntax:  | SOF | LEN | 25H | aa bb bb cc cc | FCS |Where:  aa = radio mode (04=Data Mode, 10=Voice Mode)bb bb = current channel (MS byte first)cc cc = current RSSI reading (MS byte first)ACK required:  YES41H Command Reset RadioInitiates a 'reboot' of processor on radio. Result of a proper reset will be transmissionof a 'ready' (45h) message.Direction:  Host to radioRadio Mode:  ALLSyntax:  | SOF | LEN | 41H | FCS |ACK required:  NO45H Command Radio Power ON ResponseThis command is sent instructing the radio's controller to turn power on to the radioportion of the board.Direction:  Radio to hostSyntax:  | SOF | LEN | 45H | FCS |ACK required:  NOSome Applications have been not waiting long enough to receive this command andmistakenly detecting a boot up sequence error. Ensure future revision compatibilitythe application should wait up to 5 Seconds before giving up on the Power OnResponse command.
Interface Specification DocumentRev.  -Cellular Radio Module CRM4250/4200Company ConfidentialStandard Communications Corp. -14-   November 20, 200052H Command RX signal level (RSSI) QueryThis command is used to get the current strength of the base station signal seen bythe receiver.Direction:  Host to radioRadio Mode: AllSyntax:  | SOF | LEN | 52H | FCS |ACK required:  YES52H Command RX Signal Level (RSSI) ResponseThis message is sent in response to a RSSI Query command. It provides the signalstrength measurement as an unsigned integer value.Direction:  Radio to hostSyntax:  | SOF | LEN | 52H | aa | FCS |Where:  aa = RSSI valueRSSI value equals 0 when signal is -114 dBm. Valueincreases by one for each dB increase in signal strength.ACK required:  YES55H Command Run Self Test. (CAL)This command is used to initiate a self test of the radio. The resulting Self TestResult message will provide a pass-fail indication of the test result.Direction:  Host to radioRadio Mode: TESTSyntax:  | SOF | LEN | 55H | FCS |ACK required:  YESSelf-Test 55h will no longer verify the non-volatile memory by writing and readingto all address locations. This was done to reduce the risk of corrupting the Non-Volatile (EEPROM) memory when power is removed during the Self-Test. Self-Testtypically took 1.5 seconds now is completed in under 10 ms. The Non-volatilememory can still be verified using the Hardware Test Command DEh and HardwareFailure DFh.
Interface Specification DocumentRev.  -Cellular Radio Module CRM4250/4200Company ConfidentialStandard Communications Corp. -15-   November 20, 200055H Command Self test result.This message is sent in response to the Run Self Test command. The data providedis a simple pass-fail indication of the test result.Direction:  Radio to hostSyntax:  | SOF | LEN | 55H | aa | FCS |Where:  aa = 1 byte of result data.. 0 = pass, 1 = failACK required:  YES56H Command Initialize Radio Mode.This command is used to select the operating mode of the radio. The appropriatevalue/bit is set in the data word to identify the selected mode.Direction:  Host to radioRadio Mode:  AllSyntax:  | SOF | LEN | 56H | aa | FCS |Where:  aa = 02H CDPD mode  = 04H AMPS data mode  = 10H AMPS voice modeACK required:  YES57H Command Software Revision Query (ENQ)Direction:  Host to radioMode:  AllSyntax:  | SOF | LEN | 57H | FCS |Usage:  The polling message is used to determine the firmwarerevision of the radio.ACK required:  YES
Interface Specification DocumentRev.  -Cellular Radio Module CRM4250/4200Company ConfidentialStandard Communications Corp. -16-   November 20, 200057H Command Software Revision Query (ENQ) ResponseDirection:  Radio to hostSyntax:   SOF | LEN | 57H | aa aa | FCS |Where:  aa = XX.XX version in hex formatUsage:  The SW revision response message is sent in response to aquery message from the host.58H Command Test ModeThis command is used to place the radio into test mode.Direction:  Host to radioMode:  AllSyntax:  | SOF | LEN | 58H | aa | FCS |Where:  aa = test mode bytebit 0 Disable Tx timeoutbit 1 reservedbit 2 reservedbit 3 reservedbit 4 reservedbit 5 reservedbit 6 reservedbit 7 reservedACK required: YES
Interface Specification DocumentRev.  -Cellular Radio Module CRM4250/4200Company ConfidentialStandard Communications Corp. -17-   November 20, 200059H Command Battery Level QueryThis command is used to get the current reading of the battery level.Direction:  Host to radioMode:  AllSyntax: |  SOF | LEN | 59H | FCS |ACK required:  YES59H Command Battery Level ResponseThis message is sent in response to a Battery Level Query command. It provides thebattery level measurement as a percentage value.Direction:  Radio to hostSyntax:  | SOF | LEN | 59H | aa | FCS |Where:  aa = Battery level (00-64H corresponding to 0-100%)ACK required:  YESNote: Command Removed in Revision V00.375AH Command Battery level updateThis message is sent automatically when the battery level drops below 5%.Direction:  Radio to hostSyntax:  | SOF | LEN | 5A | aa | FCS |Where:  aa = Battery level value (00-64H corresponding to 0-100%)ACK required: NO
Interface Specification DocumentRev.  -Cellular Radio Module CRM4250/4200Company ConfidentialStandard Communications Corp. -18-   November 20, 200073H Command ID Information Request.This command is used to read the current configuration and identity informationfrom the radio. The result will be an ID Information Response message.Direction:  Host to radioMode:  AllACK  required: YESSyntax:  | SOF | LEN | 73H | FCS |ACK required:  YES73H Command ID Information Response.This message is sent in response to an ID Information Request command.Direction:  Radio to hostSyntax:  | SOF | LEN | 73H | aa aa aa aa bb bb bb bb bb cc cc dd ee ff | FCS |Where:  aa .. aa = ESN (Set by Manufacture)bb .. bb = MIN (See Command 07h)cc cc = SID in hex format (See Command 09h)dd = System preference(See Command 74h System A/B Select)ee = Reservedff = ReservedACK required: YES74H Command System A/B select.This command is used to set the criteria for accessing the two sides of the cellularnetwork.Direction:  Host to radioMode:  AllSyntax:  | SOF | LEN | 74H | aa | FCS |Where:  aa = 00H - for system B only  = 01H - for system A only  = 02H - for normal mode(preferred system determined by SID)  = 03H - for Home onlyACK  required: YES
Interface Specification DocumentRev.  -Cellular Radio Module CRM4250/4200Company ConfidentialStandard Communications Corp. -19-   November 20, 200089H Command Service Status QueryThis message is originated by the host in order to confirm the availability of cellularservice.Direction:  Host to radioMode:  AllSyntax:  | SOF | LEN | 89H | FCS |Usage:  This command is used by the host to determine if service isavailable before initiating a 'send' command. It can also beused for monitoring the integrity of the cellular service.89H Command Service Status ResponseThis message is sent to the host in response to a Service Status Query.Direction:  Radio to hostMode:  AllSyntax:  | SOF | LEN | 89H | aa aa bb bb cc dd ee FCS |Where:  aa aa = current received system SID in hex format(or 0 = no  service available)bb bb = current channel (MS byte first)cc = current RSSI readingdd = Reservedee = Radio Service Status- bit 0 Reserved Value could be 0 or 1- bit 1 Authentication Enabled- bit 2 Carrier is capable of handling Authentication- bit 3 Reserved- bit 4 Reserved- bit 5 Reserved- bit 6 Reserved- bit 7 Reserved- Usage:  This message is an automatic response to the Service Status Querycommand.
Interface Specification DocumentRev.  -Cellular Radio Module CRM4250/4200Company ConfidentialStandard Communications Corp. -20-   November 20, 200090H Command Service unavailable.This message is originated by the radio whenever there is a loss of available service.When service becomes available, or if alternate service is determined to be available,a new service available message will be sent.Direction:  Radio to hostSyntax:   SOF | LEN | 90H | FCS |ACK required:  YES91H Command Service available / service status.This message is originated by the radio whenever there is a change in the serviceavailable status (except no service). The status bit(s) are set to indicate the newservice status.Direction:  Radio to hostSyntax:  | SOF | LEN | 91H | aa bb bb cc | FCS |Where:  aa = service statusbit 0 - Roambit 1 - System A/*B (0 = B, 1 = A)bit 2-7 - reservedbb bb = current received SID (MS byte first)cc= Authentication Statusbit 0 - Network Supports Extended Protocolbit 1 - Radio is using Authenticationbit 2 - Network Supports Authenticationbit 3-7 - reservedACK required:  YES92H Command Ring.This message is originated by the radio upon notification from the base station of anincoming call. It is automatically re-sent every five (5) seconds until the call iseither: 1) answered; 2) terminated by the caller; or 3) 65 seconds has passed sincenotification of the incoming call.Direction:  Radio to hostSyntax:  | SOF | LEN | 92H | FCS |ACK required:  YES
Interface Specification DocumentRev.  -Cellular Radio Module CRM4250/4200Company ConfidentialStandard Communications Corp. -21-   November 20, 200093H Command Call established.This message is originated by the radio when an attempt to place a call has beensuccessful. This message only indicates successful connection to the cellular system,not to the final calling destination.Direction:  Radio to hostSyntax: |  SOF | LEN | 93H | FCS |ACK  required: YES94H Command Call failure indication (CFI).This message is originated by the radio when an attempt to place a call isunsuccessful.Direction:  Radio to hostSyntax:  | SOF | LEN | 94H | FCS |ACK required:  YES95H Command Call terminated (remote)This message is originated by the radio whenever an established call is terminated bythe base station without a hang up command. This message is also sent when aringing incoming call is terminated at the origin before the 65 second timeout.Direction:  Radio to hostSyntax:  | SOF | LEN | 95H | FCS |ACK required:  YES96H Command Handoff pending.This message is originated by the radio whenever it receives a handoff or frequencychange order from the base station. This is to notify the modem that the data carrierand data flow will be temporarily interrupted during the change.Direction:  Radio to hostSyntax:  | SOF | LEN | 96H | FCS |ACK required:  YES
Interface Specification DocumentRev.  -Cellular Radio Module CRM4250/4200Company ConfidentialStandard Communications Corp. -22-   November 20, 200097H Command Handoff completeThis message is originated by the radio after a frequency change whencommunication with the base station has been successfully established.Direction:  Radio to hostSyntax:  | SOF | LEN | 97H | FCS |ACK required:  YES98H Command Call terminated (loss of signal).This message is originated by the radio whenever an established call is terminated bythe radio due to loss of signal from the base station for more than 5 seconds.Direction:  Radio to hostSyntax:  | SOF | LEN | 98H | FCS |ACK required:  YES99H Command Volume ControlThis command is used to adjust the Radio Volume (amplitude) on output pins of theJL01 Host Interface Connector. If CRM4250/4200 is in AMPS DATA mode, thenthis command will change the Amplitude of PIN 4 (LINE A). If the Radio mode isany other setting it will change the Amplitude of PIN 3 (SPKR OUT).Direction:  Radio to hostMode:  AllSyntax: |  SOF | LEN | 99H | aa | FCS |Where:  aa = Range 00h - 0Fh ( 0Fh is Max. Value)ACK required: YES
Interface Specification DocumentRev.  -Cellular Radio Module CRM4250/4200Company ConfidentialStandard Communications Corp. -23-   November 20, 2000B0H Command: Load Authentication A-keyDirection:  Host to radioMode:  TestSyntax:  | SOF | LEN | B0H | aa aa aa aa aa aa aa aa aa aa bb bb bb | FCS |Where:  aa = 20 Digit A-keybb = 6 Digit A-key ChecksumValues are Nibble Packed DecimalUsage:  Sets Amps Mode Authentication A-key Value. A-Key isprovided by the Amps Service provider.B0H Command: Load Authentication A-key ResponseDirection:  Radio to hostSyntax:  | SOF | LEN | 99H | aa | FCS |Where:  aa = Results,00h Valid A-key EnteredFFh Invalid A-key EnteredB2H Command: Set AuthenticationDirection:  Host to radioMode:  AllSyntax:  | SOF | LEN | B2H | aa | FCS |Where:  aa = Zero Value Disables Authentication    Non-Zero Value Enables AuthenticationUsage:  Works with Amps Authentication Only
Interface Specification DocumentRev.  -Cellular Radio Module CRM4250/4200Company ConfidentialStandard Communications Corp. -24-   November 20, 2000C8H Command Set Negative SIDDirection:  Host to radioMode:  TestSyntax:  | SOF | LEN | 73H | aa | bb cc | FCS |Where:  aa = Negative SID slot number 00 or 01bb = SID data <byte 1>cc = SID data <byte 2>SID data is sent as 2 consecutive bytes with Byte 1 being the most significant byte ofSID, and Byte 2 being the least significant.Usage:  This message is used to identify cellular system IDs that theunit should ignore and not consider service available from.This feature is intended to prevent units installed in locations near cellular marketborders from locking to the wrong system.There are currently two negative SID slots available (00 and 01).Storage:  Non-volatile.C9H Command Request NSIDThis command will query the radio for its programmed negative SIDs.Direction:  Host to radioMode:  AMPSSyntax:  | SOF | LEN | C9H | aa | FCS |Where:  aa = 00 Negative SID slot 001 Negative SID slot 1Usage: By using this command the negative SID programmed can be read out to thehost controller. The negative SID is a system ID that the unit will ignore sothat it cannot lock to it erroneously. Typical usage is where there is a signalpresence from two different carriers (A or B side) with different SIDs. Thedesired SID can be isolated by banning operation on the undesired SID. Thisexample deals with different carriers on the same side (A and A or B and B).
Interface Specification DocumentRev.  -Cellular Radio Module CRM4250/4200Company ConfidentialStandard Communications Corp. -25-   November 20, 2000C9H Command Request NSID ResponseThis command will query the radio for it's programmed negative SIDs.Direction:  Radio to hostMode:  AMPSSyntax:  | SOF | LEN | C9H | aa bb bb | FCS |Where:  aa = 00 Negative SID slot 0    01 Negative SID slot 1bb bb = SID number (i.e. 001Fh = 31d)Usage: This command response is associated with the NSID query (C9h) FEHCommand Unsupported Command Response This message is sent inresponse to a command or message which is not supported in the currentoperating mode or by the operating software version.Direction:  eitherMode:  AllSyntax:  | SOF | LEN | FEH | FCS |ACK required:  NOFFH Command NAK.A NAK message is sent when a packet is received with a good checksum (FCS), butthat has one or more of the following errors:- length not acceptable for the given command- unrecognized byte in the data fieldDirection:  eitherMode:  AllSyntax:  | SOF | LEN | FFH | FCS |ACK required:  NO
Interface Specification DocumentRev.  -Cellular Radio Module CRM4250/4200Company ConfidentialStandard Communications Corp. -26-   November 20, 20007.0 CONTROL MESSAGE FLOW DIAGRAMS7.1 Initial Power-up SequenceUpon initial power-up, the unit will execute a basic self-test / initialization routine and,upon successful completion, send out a 'Radio Power On' message. The normalsequence is then to initialize the radio mode (Data, Voice, Diagnostic).If you select the Voice or Data mode the unit will then attempt to locate cellular serviceand, if available, will indicate such with a 'Service Available' message.At this point the unit is ready for normal operation.Note: Your must select one of the three modes upon power up, radio reset or uponreceiving the 45h command.7.2 Power-down SequenceNormal power-down sequence requires shutting down any call or other connection inprocess before removing power from the unit.7.3 Change Operating ModeThe operating mode of the radio can be changed at any time using the set Initializeradio mode command (56h). Care should be taken to insure that any connectionestablished in one mode is terminated (or properly monitored) when changing to analternate mode.
Interface Specification DocumentRev.  -Cellular Radio Module CRM4250/4200Company ConfidentialStandard Communications Corp. -27-   November 20, 20008.0 POWER MANAGEMENTThe CRM radio in AMPS mode draws approximately 30-50mA. This is in a statewhere the CRM is listening to the control channel for pages (incoming calls). If yourapplication does not utilize incoming calls, then the CRM may be switched OFF (VCCremove from pins 9 & 10 (CRM4200) or pins 13 & 14 (CRM4250) to conserve powercompletely.During a phone call / conversation, the CRM4250 can draw a nominal 1.0 Amps (3watts), the CRM4200 can draw a nominal 700mA (600mW). Depending upon howlong the call lasts will determine the length of time that the power supply mustmaintain at least 1.3 Amps for Class I operation (3 watts) or up to 740mA for Class IIIoperation (600Mw). The CRM may be asked by the cellular system to reduce theoutput power due to the strong RSSI (received signal strength indication) by the cellsite during the call. This depends upon the physical location of the CRM to the cellsite. In mobile applications the CRM may change power levels several times during aconversation.Fixed applications usually have consistent power consumption based on the lockedlocation. You should consider worst case scenarios in the event that the CRM is placedin a spot that is located far from the nearest cell or located near the cell site.When planning a power consumption model the efficiency of the DC regulator needs tobe accounted for. For example if the power conversion of the regulator is 75% then thetotal power draw from the CRM including regulation is used for you calculations.

Navigation menu