CalAmp 09002 Users Manual

Interface Specification Document Rev. -
Cellular Radio Module CRM4250/4200
Interface Specification
Standard Communications Corp. 1111 Knox St. Torrance, CA 90502 800-767-2831
CRM4250/4200
Cellular Radio Module
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 4
2.0. GENERAL DESCRIPTION 4
3.0. INTERFACE SPECIFICATION 4
3.1 GENERAL 4
3.2 PHYSICAL 5
3.3 ELECTRICAL 6
3.4. SERIAL DATA FORMAT 6
4.0 SERIAL CONTROL PROTOCOL 7
4.1. PACKET STRUCTURE 7
4.2. DATA TRANSPARENCY 7
4.3. MESSAGE FLOW 7
6.0. DETAILED COMMAND DESCRIPTIONS 9
6.1. LABELING CONVENTIONS FOR SYNTAX: 9
6.2. GENERAL COMMANDS 9
7.0 CONTROL MESSAGE FLOW DIAGRAMS 26
7.1 INITIAL POWER-UP SEQUENCE 26
7.2 POWER-DOWN SEQUENCE 26
7.3 CHANGE OPERATING MODE 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. 3 SPKR OUT O High Power Audio (Ear/Speaker) 4 LINE A O RX demodulated signal (+)
+/-8.0kHz deviation input will produce 1 volt p-p output signal (variable level
with 99h command) for modem use. 5 SPKR OUT O High Power Audio (Ringer). 6 LINE IN I TX 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 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 O 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 CRM4250/4200
PIN SMBOL I/O DESCRIPTION continued.
15 RXD I Control serial data RX. TTL/CMOS
compatible levels.
16 TXD O Control serial data TX. TTL/CMOS
compatible 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 being redefined. Contact the factory for latest status or for special requirements.
3.3 Electrical
3.3.1 Serial Control Link
Tx Data: TTL / CMOS logic level signal output for data from radio to host Rx Data: TTL / CMOS logic level signal input for data from host to radio Handshake: none, handshakes implemented in s/w only
3.4. Serial Data Format
type: asynchronous, full duplex word format: 1 start, 8 data, 1 parity and 1 stop bit parity: even bit rate: 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 Start Of Frame, hex value 02 (STX)
byte count One byte value indicating the total number of bytes in
the packet, except the SOF.
command One byte value representing the command/message
type being transmitted data argument or data for the command or message FCS 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 DLE LEN CMD …. FCS 02h 10h 11h 76h
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 Radio Mode ACK REQ Page
HTR / RTH
ACK 00 0 ALL NO 9 Initialize Radio Mode 01*(56) 1 ALL YES 9 Set MIN 07 5 TEST YES 10 Set SID 09 2 TEST YES 10 Set Baud / Parity 0B 2 TEST YES 10 Dial 21 16 AMPS YES 11 Answer 22 0 AMPS YES 12 Disconnect 23 0 AMPS YES 12 Key Flash 24 16 AMPS YES 12 System Info Query/Response 25 0/5 ALL YES 13 Reset Radio 41 0 ALL YES 13 Radio power on/Response 45 /0 ALL NO 14 RSSI Query/Response 52 0/1 ALL YES 14 Self Test (CAL) / Response 55 0/1 TEST YES 15 Initialize Radio Mode 56 (01) 1 ALL YES 15 Request Firmware Revision 57 0/2 ALL YES 16 Test mode 58 1 ALL YES 16 Battery Level Query 59 0/1 ALL YES 17 Battery level update 5A /1 ALL YES 17 ID Info Query/Response 73 0/11 TEST YES 18 System A/B Select 74 1 ALL YES 19 Service Status Query 89 0/7 ALL YES 19 Service Unavailable 90 /0 AMPS YES 20 Service Available 91 /0 AMPS YES 21 Ring 92 /0 AMPS YES 21 Call connected 93 /0 AMPS YES 21 Call Failure 94 /0 AMPS YES 22 Call Terminated (remote) 95 /0 AMPS YES 22 Handoff started 96 /0 AMPS YES 22 Handoff completed 97 /0 AMPS YES 22 Call Terminated (signal loss) 98 /0 ALL YES 23 Volume Control 99 1 ALL YES 23 Load Authentication A-key B0 26/1 TEST YES 23 Enable / Disable Authentication B2 1 ALL YES 24 Set Negative SID C8 3 TEST YES 23 Req Negative SID C9 1/3 ALL YES 24 Not supported FE 0 ALL NO 25 NAK FF 0 ALL NO 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: either Syntax: | SOF | LEN | 00H | FCS | ACK required: 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: Host to radio Radio Mode: ALL Syntax: | 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
Loading...
+ 18 hidden pages