CalAmp 09002 CRM4200 Cellular Module User Manual CRM4250 4200 Interface
CalAmp CRM4200 Cellular Module CRM4250 4200 Interface
CalAmp >
Users Manual
Interface Specification Document Rev. - Cellular Radio Module CRM4250/4200 Interface Specification CRM4250/4200 Cellular Radio Module Standard Communications Corp. 1111 Knox St. Torrance, CA 90502 800-767-2831 Company Confidential Standard Communications Corp. -1- November 20, 2000 Interface Specification Document Rev. - Cellular Radio Module CRM4250/4200 Preliminary Draft - subject to change without notice Document Changes: Initial Release: Rev. - 11/20/00 Company Confidential Standard Communications Corp. -2- November 20, 2000 Interface Specification Document Rev. - Cellular Radio Module CRM4250/4200 1.0. SYSTEM OVERVIEW 2.0. GENERAL DESCRIPTION 3.0. INTERFACE SPECIFICATION 3.1 GENERAL 3.2 PHYSICAL 3.3 ELECTRICAL 3.4. SERIAL DATA FORMAT 4.0 SERIAL CONTROL PROTOCOL 4.1. PACKET STRUCTURE 4.2. DATA TRANSPARENCY 4.3. MESSAGE FLOW 6.0. DETAILED COMMAND DESCRIPTIONS 6.1. LABELING CONVENTIONS FOR SYNTAX: 6.2. GENERAL COMMANDS 7.0 CONTROL MESSAGE FLOW DIAGRAMS 26 7.1 INITIAL POWER-UP SEQUENCE 7.2 POWER-DOWN SEQUENCE 7.3 CHANGE OPERATING MODE 26 26 26 8.0 POWER MANAGEMENT 27 Company Confidential Standard Communications Corp. -3- November 20, 2000 Interface Specification Document Rev. - Cellular Radio Module CRM4250/4200 1.0. SYSTEM OVERVIEW The Standard Communications CRM4250/4200 Cellular Radio Module is part of a two-piece solution for wireless data communications. The CRM4250/4200 unit is used in conjunction with a separate modem unit to provide a complete solution. This architecture allows use of multiple radio and other media interface modules with a common multi-standard modem unit. 2.0 GENERAL DESCRIPTION The CRM4250/4200 contains all of the functional elements of a complete cellular telephone with the exception of the user interface and the battery. The unit includes a complete receiver and transmitter; plus, a micro controller and other circuitry to allow the unit to efficiently interface to an external modem unit. 3.0. INTERFACE SPECIFICATION 3.1 General The CRM4250/4200 interface is designed to allow simple interfacing between various modems and radio modules. It is designed to be hardware and standard independent on both the radio and the modem sides of the interface. This interface has been submitted to the PCMCIA committee for adoption as an extension to the PCMCIA modem card auxiliary connector standard. The interface command set includes operating modes to support many different radio system standards. At present, the standards defined for the interface include AMPS cellular telephone. Products utilizing this interface may support one or more of these operating modes and will have the ability to query the personality of a given module and to set the operating mode of a multiple mode module. Company Confidential Standard Communications Corp. -4- November 20, 2000 Interface Specification Document Rev. - Cellular Radio Module CRM4250/4200 3.2 Physical The host interface to the CRM4250/4200 is implemented using a 20 pin (2x10) header connector. It provides all connections between the CRM4250/4200 and the base band controller and/or data modem. PIN SMBOL I/O DESCRIPTION 1,2 GND GND Ground. SPKR OUT High Power Audio (Ear/Speaker) LINE A RX demodulated signal (+) +/-8.0kHz deviation input will produce 1 volt p-p output signal (variable level with 99h command) for modem use. SPKR OUT High Power Audio (Ringer). LINE IN TX modulation (+) 1 volt p-p signal, will produce +/-8.0kHz deviation. Single-ended input (600 ohm) LINE B Fixed -18dBm modem audio output. MIC Microphone audio input. Can be directly connected to 600 ohm impedance microphone or Electric type microphone. 9,10 VCC PWR (CRM4200 ONLY) +5 VDC supply input. Requires a minimum available current of 750mA. (DO NOT CONNECT IF CRM4250) 11 reserved Do not connect. 12 RSSI Receive signal strength indication. Varying DC voltage output based on received signal strength. 13,14 VCC PWR (CRM4250 ONLY) +12VDC supply input Requires a minimum available current of 1.2 amps. (DO NOT CONNECT IF CRM4200) Company Confidential Standard Communications Corp. -5- November 20, 2000 Interface Specification Document Rev. - Cellular Radio Module PIN SMBOL CRM4250/4200 I/O DESCRIPTION continued. 15 RXD Control serial data RX. TTL/CMOS compatible levels. 16 TXD Control serial data TX. TTL/CMOS compatible levels. 17 PROGRAM 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 being redefined. Contact the factory for latest status or for special requirements. 3.3 Electrical 3.3.1 Serial Control Link Tx Data: Rx Data: Handshake: TTL / CMOS logic level signal output for data from radio to host TTL / CMOS logic level signal input for data from host to radio none, handshakes implemented in s/w only 3.4. Serial Data Format type: word format: parity: bit rate: asynchronous, full duplex 1 start, 8 data, 1 parity and 1 stop bit even 9600 baud Company Confidential Standard Communications Corp. -6- November 20, 2000 Interface Specification Document Rev. - Cellular Radio Module CRM4250/4200 4.0 SERIAL CONTROL PROTOCOL 4.1. Packet Structure control field data field | SOF | byte count | command | data 1 | ... | data n | FCS | Where: SOF byte count command data FCS Start Of Frame, hex value 02 (STX) One byte value indicating the total number of bytes in the packet, except the SOF. One byte value representing the command/message type being transmitted argument or data for the command or message checksum; the two's complement of the lower 8-bits of the sum of the binary values of all of the bytes in the packet except the SOF and FCS. 4.2. Data Transparency Byte stuffing is used to reduce the probability of errors in frame synchronization. An STX (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 and control fields. Prior to transmission of a packet, a DLE (10 hex) byte will be inserted prior to every STX (02 hex) or DLE byte. The stuffed DLE byte is counted as a valid byte in determining both in the LEN byte count and the FCS. Once all the byte stuffing has been completed, the LEN byte needs to be compared against the DLE. For the special case when the LEN byte is equal to a DLE 10h, the LEN byte is incremented by one and a DLE inserted between the SOF and LEN. Example of a LEN of 10h: SOF 02h DLE 10h LEN 11h CMD …. 76h FCS Note: Do Not DLE the FCS byte. 4.3. Message Flow step 1 - Command / message transmitted (either direction) step 2 - Destination processor immediately sends ACK/NAK to acknowledge receipt of packet. (If required for command received.) note: If necessary, destination processor initiates response message when requested command is complete and/or requested data is available. Company Confidential Standard Communications Corp. -7- November 20, 2000 Interface Specification Document Rev. - Cellular Radio Module CRM4250/4200 COMMAND NAME CMD Data Len HTR / RTH Radio Mode ACK REQ Page ACK Initialize Radio Mode Set MIN Set SID Set Baud / Parity Dial Answer Disconnect Key Flash System Info Query/Response Reset Radio Radio power on/Response RSSI Query/Response Self Test (CAL) / Response Initialize Radio Mode Request Firmware Revision Test mode Battery Level Query Battery level update ID Info Query/Response System A/B Select Service Status Query Service Unavailable Service Available Ring Call connected Call Failure Call Terminated (remote) Handoff started Handoff completed Call Terminated (signal loss) Volume Control Load Authentication A-key Enable / Disable Authentication Set Negative SID Req Negative SID Not supported NAK 00 01*(56) 07 09 0B 21 22 23 24 25 41 45 52 55 56 (01) 57 58 59 5A 73 74 89 90 91 92 93 94 95 96 97 98 99 B0 B2 C8 C9 FE FF 16 16 0/5 /0 0/1 0/1 0/2 0/1 /1 0/11 0/7 /0 /0 /0 /0 /0 /0 /0 /0 /0 26/1 1/3 ALL ALL TEST TEST TEST AMPS AMPS AMPS AMPS ALL ALL ALL ALL TEST ALL ALL ALL ALL ALL TEST ALL ALL AMPS AMPS AMPS AMPS AMPS AMPS AMPS AMPS ALL ALL TEST ALL TEST ALL ALL ALL NO YES YES YES YES YES YES YES YES YES YES NO YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES NO NO 10 10 10 11 12 12 12 13 13 14 14 15 15 16 16 17 17 18 19 19 20 21 21 21 22 22 22 22 23 23 23 24 23 24 25 25 * This command is subject to future removal Commands Are Not Supported, but will be in future revisions Data Length (HTR) Direction Host to Radio (RTH) Direction Radio to Host Radio Mode (AMPS) AMPS Data / AMPS Voice Company Confidential Standard Communications Corp. -8- November 20, 2000 Interface Specification Document Rev. - Cellular Radio Module CRM4250/4200 6.0. DETAILED COMMAND DESCRIPTIONS 6.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.1 6.2. General Commands Commands/messages listed in this section can be used under any operating mode. They include commands/messages for general flow control, selection and control of operating mode and general radio control. 00H Command ACK This message is sent to acknowledge receipt of a command or message. Transmission of an ACK only indicates successful reception of a supported command, if data or other response is required, it will be sent in a separate message. An ACK must be received within 100ms of reception of a packet, otherwise the packet will be assumed lost and a retry will be attempted. While waiting for reception of an ACK message, any new messages must be held until the current message has been successfully acknowledged. After three unsuccessful retry attempts, an error condition should be declared and appropriate error recovery procedures initiated. Direction: Syntax: ACK required: either | SOF | LEN | 00H | FCS | NO 01H Command Initialize Radio Mode. This command is used to select the operating mode of the radio. The appropriate value/bit is set in the data word to identify the selected mode. Direction: Radio Mode: Syntax: Host to radio ALL | 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 Mode ACK required: YES Company Confidential Standard Communications Corp. -9- November 20, 2000 Interface Specification Document Rev. - Cellular Radio Module CRM4250/4200 07H Command Set MIN. This command is used to set the cellular phone number (MIN) of the radio. This parameter is normally set at the time of cellular service activation by the equipment or service provider. Direction: Radio Mode: Syntax: Host to radio TEST | SOF | LEN | 07H | aa aa aa aa aa | FCS | Where: aa aa aa aa aa = 5 bytes containing MIN nibble packed BCD example: (800) 555-1212 = '80 05 55 12 12' ACK required: YES 09H Command Set SID. This command is used to set the home system ID (SID) corresponding to the cellular phone number. This parameter is normally set at the same time of the cellular phone number (MIN) is programmed into the radio. Direction: Radio Mode: Syntax: Host to radio TEST | SOF | LEN | 09H | aa aa | FCS | Where: aa aa = SID hex value (sent MS byte first) ACK required: YES Note: The SID as provided from the cellular carrier is usually in decimal format. Converting this to hex is required. Company Confidential Standard Communications Corp. -10- November 20, 2000 Interface Specification Document Rev. - Cellular Radio Module CRM4250/4200 0BH Command Set Serial Communication Baud Rate This command is used to set the baud rate and serial format on the serial control interface of the radio. Direction: Mode: Syntax: Host to radio TEST | SOF | LEN | 0BH | aa bb | FCS | Where: aa: bb: Warning: 0 = 9600 1 = 4800 2 = 2400 3 = 1200 4 = 300 0 = 8 bits, no parity 1 = 8 bits, even parity After this command is issued, the ACK message will be sent, and then the new data rate and serial format will take effect immediately. Usage: By sending this command to the radio, the signaling between the host and the radio data rate can be changed. Storage: Non-volatile. Factory default: 9600, 8 bits, even parity 21H Command Dial - send. This command is used to place a cellular call. It is the equivalent of dialing the number and pressing SEND on a cellular telephone. Direction: Radio Mode: Syntax: Host to radio AMPS | SOF | LEN | 21H || FCS | Where: =16 byte string containing phone number to be dialed (in 4 bit binary format), padded to end with NUL characters NUL = 0 hex * = B hex Number 0 = A hex # = C hex ACK required: YES Company Confidential Standard Communications Corp. -11- November 20, 2000 Interface Specification Document Rev. - Cellular Radio Module CRM4250/4200 22H Command Answer. This command is used to answer an incoming call. Direction: Radio Mode: Syntax: ACK required: Host to radio AMPS | SOF | LEN | 22H | FCS | YES 23H Command Disconnect This command will terminate a call in process. It is equivalent to pressing the END key on a cellular telephone. Direction: Radio Mode: Syntax: ACK required: Host to radio AMPS | SOF | LEN | 23H | FCS | YES 24H Command Key flash This command is used to send the equivalent of a hook or key flash to the telephone network. This is used in some systems to access call waiting or other custom features. A simple flash message is sent with either a null string or the last number dialed in the number field. A second call (for 3-way dialing) is initialed by sending a flash message with the new number to be dialed in the number field. Direction: Radio Mode: Syntax: Host to radio AMPS | SOF | LEN | 24H | | FCS | Where: =16 byte string containing phone number to be dialed (in 4 bit binary format), padded to end with NUL characters NUL = 0 hex * = B hex Number 0 = A hex # = C hex ACK required: YES Company Confidential Standard Communications Corp. -12- November 20, 2000 Interface Specification Document Rev. - Cellular Radio Module CRM4250/4200 25H Command Current Information Query Direction: Radio Mode: Syntax: ACK required: Host to radio ALL | SOF | LEN | 25H | FCS | YES 25H Command Current Information Response Direction: Radio Mode: Syntax: Radio to host ALL | 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: YES 41H Command Reset Radio Initiates a 'reboot' of processor on radio. Result of a proper reset will be transmission of a 'ready' (45h) message. Direction: Radio Mode: Syntax: ACK required: Host to radio ALL | SOF | LEN | 41H | FCS | NO 45H Command Radio Power ON Response This command is sent instructing the radio's controller to turn power on to the radio portion of the board. Direction: Syntax: ACK required: Radio to host | SOF | LEN | 45H | FCS | NO Some Applications have been not waiting long enough to receive this command and mistakenly detecting a boot up sequence error. Ensure future revision compatibility the application should wait up to 5 Seconds before giving up on the Power On Response command. Company Confidential Standard Communications Corp. -13- November 20, 2000 Interface Specification Document Rev. - Cellular Radio Module CRM4250/4200 52H Command RX signal level (RSSI) Query This command is used to get the current strength of the base station signal seen by the receiver. Direction: Radio Mode: Syntax: ACK required: Host to radio All | SOF | LEN | 52H | FCS | YES 52H Command RX Signal Level (RSSI) Response This message is sent in response to a RSSI Query command. It provides the signal strength measurement as an unsigned integer value. Direction: Syntax: Radio to host | SOF | LEN | 52H | aa | FCS | Where: aa = RSSI value RSSI value equals 0 when signal is -114 dBm. Value increases by one for each dB increase in signal strength. ACK required: YES 55H Command Run Self Test. (CAL) This command is used to initiate a self test of the radio. The resulting Self Test Result message will provide a pass-fail indication of the test result. Direction: Radio Mode: Syntax: ACK required: Host to radio TEST | SOF | LEN | 55H | FCS | YES Self-Test 55h will no longer verify the non-volatile memory by writing and reading to all address locations. This was done to reduce the risk of corrupting the NonVolatile (EEPROM) memory when power is removed during the Self-Test. Self-Test typically took 1.5 seconds now is completed in under 10 ms. The Non-volatile memory can still be verified using the Hardware Test Command DEh and Hardware Failure DFh. Company Confidential Standard Communications Corp. -14- November 20, 2000 Interface Specification Document Rev. - Cellular Radio Module CRM4250/4200 55H Command Self test result. This message is sent in response to the Run Self Test command. The data provided is a simple pass-fail indication of the test result. Direction: Syntax: Radio to host | SOF | LEN | 55H | aa | FCS | Where: aa = 1 byte of result data.. 0 = pass, 1 = fail ACK required: YES 56H Command Initialize Radio Mode. This command is used to select the operating mode of the radio. The appropriate value/bit is set in the data word to identify the selected mode. Direction: Radio Mode: Syntax: Where: ACK required: Host to radio All | SOF | LEN | 56H | aa | FCS | aa = 02H CDPD mode = 04H AMPS data mode = 10H AMPS voice mode YES 57H Command Software Revision Query (ENQ) Direction: Mode: Syntax: Host to radio All | SOF | LEN | 57H | FCS | Usage: The polling message is used to determine the firmware revision of the radio. ACK required: YES Company Confidential Standard Communications Corp. -15- November 20, 2000 Interface Specification Document Rev. - Cellular Radio Module CRM4250/4200 57H Command Software Revision Query (ENQ) Response Direction: Syntax: Radio to host SOF | LEN | 57H | aa aa | FCS | Where: aa = XX.XX version in hex format Usage: The SW revision response message is sent in response to a query message from the host. 58H Command Test Mode This command is used to place the radio into test mode. Direction: Mode: Syntax: Host to radio All | SOF | LEN | 58H | aa | FCS | Where: aa = test mode byte bit 0 Disable Tx timeout bit 1 reserved bit 2 reserved bit 3 reserved bit 4 reserved bit 5 reserved bit 6 reserved bit 7 reserved ACK required: YES Company Confidential Standard Communications Corp. -16- November 20, 2000 Interface Specification Document Rev. - Cellular Radio Module CRM4250/4200 59H Command Battery Level Query This command is used to get the current reading of the battery level. Direction: Mode: Syntax: | ACK required: Host to radio All SOF | LEN | 59H | FCS | YES 59H Command Battery Level Response This message is sent in response to a Battery Level Query command. It provides the battery level measurement as a percentage value. Direction: Syntax: Radio to host | SOF | LEN | 59H | aa | FCS | Where: aa = Battery level (00-64H corresponding to 0-100%) ACK required: YES Note: Command Removed in Revision V00.37 5AH Command Battery level update This message is sent automatically when the battery level drops below 5%. Direction: Syntax: Radio to host | SOF | LEN | 5A | aa | FCS | Where: aa = Battery level value (00-64H corresponding to 0-100%) ACK required: NO Company Confidential Standard Communications Corp. -17- November 20, 2000 Interface Specification Document Rev. - Cellular Radio Module CRM4250/4200 73H Command ID Information Request. This command is used to read the current configuration and identity information from the radio. The result will be an ID Information Response message. Direction: Mode: ACK Syntax: ACK required: Host to radio All required: YES | SOF | LEN | 73H | FCS | YES 73H Command ID Information Response. This message is sent in response to an ID Information Request command. Direction: Syntax: Radio to host | 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 = Reserved ff = Reserved ACK required: YES 74H Command System A/B select. This command is used to set the criteria for accessing the two sides of the cellular network. Direction: Mode: Syntax: Where: ACK Host to radio All | SOF | LEN | 74H | aa | FCS | aa = 00H - for system B only = 01H - for system A only = 02H - for normal mode (preferred system determined by SID) = 03H - for Home only required: YES Company Confidential Standard Communications Corp. -18- November 20, 2000 Interface Specification Document Rev. - Cellular Radio Module CRM4250/4200 89H Command Service Status Query This message is originated by the host in order to confirm the availability of cellular service. Direction: Mode: Syntax: Host to radio All | SOF | LEN | 89H | FCS | Usage: This command is used by the host to determine if service is available before initiating a 'send' command. It can also be used for monitoring the integrity of the cellular service. 89H Command Service Status Response This message is sent to the host in response to a Service Status Query. Direction: Mode: Syntax: Where: Usage: Radio to host All | SOF | LEN | 89H | aa aa bb bb cc dd ee FCS | aa aa = current received system SID in hex format (or 0 = no service available) bb bb = current channel (MS byte first) cc = current RSSI reading dd = Reserved ee = 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 This message is an automatic response to the Service Status Query command. Company Confidential Standard Communications Corp. -19- November 20, 2000 Interface Specification Document Rev. - Cellular Radio Module CRM4250/4200 90H 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: Syntax: ACK required: Radio to host SOF | LEN | 90H | FCS | YES 91H Command Service available / service status. This message is originated by the radio whenever there is a change in the service available status (except no service). The status bit(s) are set to indicate the new service status. Direction: Syntax: Radio to host | SOF | LEN | 91H | aa bb bb cc | FCS | Where: aa = service status bit 0 - Roam bit 1 - System A/*B (0 = B, 1 = A) bit 2-7 - reserved bb bb = current received SID (MS byte first) cc= Authentication Status bit 0 - Network Supports Extended Protocol bit 1 - Radio is using Authentication bit 2 - Network Supports Authentication bit 3-7 - reserved ACK required: YES 92H Command Ring. This message is originated by the radio upon notification from the base station of an incoming call. It is automatically re-sent every five (5) seconds until the call is either: 1) answered; 2) terminated by the caller; or 3) 65 seconds has passed since notification of the incoming call. Direction: Syntax: ACK required: Radio to host | SOF | LEN | 92H | FCS | YES Company Confidential Standard Communications Corp. -20- November 20, 2000 Interface Specification Document Rev. - Cellular Radio Module CRM4250/4200 93H Command Call established. This message is originated by the radio when an attempt to place a call has been successful. This message only indicates successful connection to the cellular system, not to the final calling destination. Direction: Syntax: | ACK Radio to host SOF | LEN | 93H | FCS | required: YES 94H Command Call failure indication (CFI). This message is originated by the radio when an attempt to place a call is unsuccessful. Direction: Syntax: ACK required: Radio to host | SOF | LEN | 94H | FCS | YES 95H Command Call terminated (remote) This message is originated by the radio whenever an established call is terminated by the base station without a hang up command. This message is also sent when a ringing incoming call is terminated at the origin before the 65 second timeout. Direction: Syntax: ACK required: Radio to host | SOF | LEN | 95H | FCS | YES 96H Command Handoff pending. This message is originated by the radio whenever it receives a handoff or frequency change order from the base station. This is to notify the modem that the data carrier and data flow will be temporarily interrupted during the change. Direction: Syntax: ACK required: Radio to host | SOF | LEN | 96H | FCS | YES Company Confidential Standard Communications Corp. -21- November 20, 2000 Interface Specification Document Rev. - Cellular Radio Module CRM4250/4200 97H Command Handoff complete This message is originated by the radio after a frequency change when communication with the base station has been successfully established. Direction: Syntax: ACK required: Radio to host | SOF | LEN | 97H | FCS | YES 98H Command Call terminated (loss of signal). This message is originated by the radio whenever an established call is terminated by the radio due to loss of signal from the base station for more than 5 seconds. Direction: Syntax: ACK required: Radio to host | SOF | LEN | 98H | FCS | YES 99H Command Volume Control This command is used to adjust the Radio Volume (amplitude) on output pins of the JL01 Host Interface Connector. If CRM4250/4200 is in AMPS DATA mode, then this command will change the Amplitude of PIN 4 (LINE A). If the Radio mode is any other setting it will change the Amplitude of PIN 3 (SPKR OUT). Direction: Mode: Syntax: | Radio to host All SOF | LEN | 99H | aa | FCS | Where: aa = Range 00h - 0Fh ( 0Fh is Max. Value) ACK required: YES Company Confidential Standard Communications Corp. -22- November 20, 2000 Interface Specification Document Rev. - Cellular Radio Module CRM4250/4200 B0H Command: Load Authentication A-key Direction: Mode: Syntax: Where: Usage: Host to radio Test | SOF | LEN | B0H | aa aa aa aa aa aa aa aa aa aa bb bb bb | FCS | aa = 20 Digit A-key bb = 6 Digit A-key Checksum Values are Nibble Packed Decimal Sets Amps Mode Authentication A-key Value. A-Key is provided by the Amps Service provider. B0H Command: Load Authentication A-key Response Direction: Syntax: Where: Radio to host | SOF | LEN | 99H | aa | FCS | aa = Results, 00h Valid A-key Entered FFh Invalid A-key Entered B2H Command: Set Authentication Direction: Mode: Syntax: Where: Usage: Host to radio All | SOF | LEN | B2H | aa | FCS | aa = Zero Value Disables Authentication Non-Zero Value Enables Authentication Works with Amps Authentication Only Company Confidential Standard Communications Corp. -23- November 20, 2000 Interface Specification Document Rev. - Cellular Radio Module CRM4250/4200 C8H Command Set Negative SID Direction: Mode: Syntax: Where: Host to radio Test | SOF | LEN | 73H | aa | bb cc | FCS | aa = Negative SID slot number 00 or 01 bb = SID data cc = SID data SID data is sent as 2 consecutive bytes with Byte 1 being the most significant byte of SID, and Byte 2 being the least significant. Usage: This message is used to identify cellular system IDs that the unit should ignore and not consider service available from. This feature is intended to prevent units installed in locations near cellular market borders from locking to the wrong system. There are currently two negative SID slots available (00 and 01). Storage: Non-volatile. C9H Command Request NSID This command will query the radio for its programmed negative SIDs. Direction: Mode: Syntax: Where: Host to radio AMPS | SOF | LEN | C9H | aa | FCS | aa = 00 Negative SID slot 0 01 Negative SID slot 1 Usage: By using this command the negative SID programmed can be read out to the host controller. The negative SID is a system ID that the unit will ignore so that it cannot lock to it erroneously. Typical usage is where there is a signal presence from two different carriers (A or B side) with different SIDs. The desired SID can be isolated by banning operation on the undesired SID. This example deals with different carriers on the same side (A and A or B and B). Company Confidential Standard Communications Corp. -24- November 20, 2000 Interface Specification Document Rev. - Cellular Radio Module CRM4250/4200 C9H Command Request NSID Response This command will query the radio for it's programmed negative SIDs. Direction: Mode: Syntax: Radio to host AMPS | SOF | LEN | C9H | aa bb bb | FCS | Where: aa = 00 Negative SID slot 0 01 Negative SID slot 1 bb bb = SID number (i.e. 001Fh = 31d) Usage: This command response is associated with the NSID query (C9h) FEH Command Unsupported Command Response This message is sent in response to a command or message which is not supported in the current operating mode or by the operating software version. Direction: Mode: Syntax: ACK required: either All | SOF | LEN | FEH | FCS | NO FFH Command NAK. A NAK message is sent when a packet is received with a good checksum (FCS), but that has one or more of the following errors: - length not acceptable for the given command - unrecognized byte in the data field Direction: Mode: Syntax: ACK required: either All | SOF | LEN | FFH | FCS | NO Company Confidential Standard Communications Corp. -25- November 20, 2000 Interface Specification Document Rev. - Cellular Radio Module CRM4250/4200 7.0 CONTROL MESSAGE FLOW DIAGRAMS 7.1 Initial Power-up Sequence Upon 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 normal sequence 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 service and, 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 upon receiving the 45h command. 7.2 Power-down Sequence Normal power-down sequence requires shutting down any call or other connection in process before removing power from the unit. 7.3 Change Operating Mode The operating mode of the radio can be changed at any time using the set Initialize radio mode command (56h). Care should be taken to insure that any connection established in one mode is terminated (or properly monitored) when changing to an alternate mode. Company Confidential Standard Communications Corp. -26- November 20, 2000 Interface Specification Document Rev. - Cellular Radio Module CRM4250/4200 8.0 POWER MANAGEMENT The CRM radio in AMPS mode draws approximately 30-50mA. This is in a state where the CRM is listening to the control channel for pages (incoming calls). If your application does not utilize incoming calls, then the CRM may be switched OFF (VCC remove from pins 9 & 10 (CRM4200) or pins 13 & 14 (CRM4250) to conserve power completely. During a phone call / conversation, the CRM4250 can draw a nominal 1.0 Amps (3 watts), the CRM4200 can draw a nominal 700mA (600mW). Depending upon how long the call lasts will determine the length of time that the power supply must maintain at least 1.3 Amps for Class I operation (3 watts) or up to 740mA for Class III operation (600Mw). The CRM may be asked by the cellular system to reduce the output power due to the strong RSSI (received signal strength indication) by the cell site during the call. This depends upon the physical location of the CRM to the cell site. In mobile applications the CRM may change power levels several times during a conversation. Fixed applications usually have consistent power consumption based on the locked location. You should consider worst case scenarios in the event that the CRM is placed in 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 to be accounted for. For example if the power conversion of the regulator is 75% then the total power draw from the CRM including regulation is used for you calculations. Company Confidential Standard Communications Corp. -27- November 20, 2000
Source Exif Data:
File Type : PDF File Type Extension : pdf MIME Type : application/pdf PDF Version : 1.2 Linearized : No Page Count : 27 Creator : Microsoft Word - CRM4250 4200 Interface Document.doc Create Date : 2000:11:22 16:42:02 Title : CRM4250 4200 Interface Document.PDF Author : mmalin Producer : Acrobat PDFWriter 4.0 for Windows NTEXIF Metadata provided by EXIF.tools