Freescale MC68181 Advance information roaming flex chip signal processor Datasheet

Freescale Semiconductor, Inc.
SEMICONDUCTOR TECHNICAL DATA
O O O
Order this document by:
MC68181 Technical Data
MC68181
Advance Information
ROAMING FLEX™ chip SIGNAL PROCESSOR
Freescale Semiconductor, Inc...
The FLEX™ protocol is a multi-speed, high-performance protocol adopted by leading service
providers worldwide as a de facto paging standard. The FLEX protocol gives service providers
the increased capacity, added reliability, and enhanced pager battery performance they need
today. It also provides an upward migration path to the service provider that is completely
transparent to the end user.
The MC68181 Roaming FLEX™ chip IC is part of a total solution available from Motorola for
providing FLEX capabilities in a low-power, low-cost system. The FLEX™ chip simplifies
implementation of a FLEX paging device by interfacing with any of several off-the-shelf paging
receivers, and any of several off-the-shelf host microcontroller/microprocessors. The primary
function of the FLEX™ chip is to process information received and demodulated from a FLEXradio paging channel, select messages addressed to the paging device, and communicate the
message information to the host. The host controls receiver channel selection, and interprets the
message information in an appropriate manner (numeric, alphanumeric, binary, etc.) and
handles all the I/O activity. The FLEX™ chip IC also operates the paging receiver in an efficient
power consumption mode and enables the host to operate in a low power mode when
monitoring a single channel for message information. Figure 1 shows the MC68181 functional
block diagram.
EXTS0
EXTS1
2 Vdd
2 Vss
Symbol Sync
Noise Detector
Sync Correlator
Internal Control
Unit
External
Control
Unit
De-Interleaver
Error
Corrector
Control/Status
Registers
Address
Comparator
Local Message
Filter
SYMCLK
XTAL
EXTAL
OSCPD
CLKOUT
76.8 kHz
Oscillator
Clock
RESET
LOBAT
READY
8
Receiver
Control
S0–S7
SPI Buffer
SPI
4
SPI
AA0813
Figure 1 MC68181 Functional Block Diagram
This document contains information on a new product. Specifications and information herein are subject to change without notice.
©1996, 1997 MOTOROLA, INC.
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
MC68181
Freescale Semiconductor, Inc...
TABLE OF CONTENTS
SECTION 1
SIGNAL/CONNECTION DESCRIPTIONS . . . . . . . . . . . . . . . . . . 1-1
SECTION 2
SPECIFICATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
SECTION 3
PACKAGING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
SECTION 4
DESIGN CONSIDERATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
SECTION 5
ORDERING INFORMATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1
APPENDIX A
FLEX SIGNAL OVERVIEW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1
APPENDIX B
SPI PACKET DESCRIPTION AND HANDLING . . . . . . . . . . . . . B-1
APPENDIX C
FLEX™ CHIP IC APPLICATION NOTES . . . . . . . . . . . . . . . . . . C-1
FOR TECHNICAL ASSISTANCE:
Telephone:
1-800-521-6274
Internet:
http://www.mot.com/sps/dsp/helpline/messaging
Data Sheet Conventions
This data sheet uses the following conventions:
OVERBAR
Used to indicate a signal that is active when pulled low (For example, the RESET
pin is active when low.)
“asserted”
Means that a high true (active high) signal is high or that a low true (active low)
signal is low
“deasserted”
Means that a high true (active high) signal is low or that a low true (active low)
signal is high
Examples:
Note:
ii
Signal/Symbol
Logic State
Signal State
Voltage
PIN
True
Asserted
VIL/VOL
PIN
False
Deasserted
VIH/VOH
PIN
True
Asserted
VIH/VOH
PIN
False
Deasserted
VIL/VOL
Values for VIL, VOL, VIH, and VOH are defined by individual product specifications.
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
Features
Freescale Semiconductor, Inc...
FEATURES
•
FLEX paging protocol signal processor
•
Sixteen programmable user address words
•
Sixteen temporary addresses
•
Sixteen operator messaging addresses
•
1600, 3200, and 6400 bits-per-second decoding
•
Any-phase or single-phase decoding
•
Uses standard Serial Peripheral Interface (SPI) in Slave mode
•
Allows low current Stop mode operation of host processor
•
Highly programmable receiver control
•
Real-time clock time base
•
FLEX software fragmentation and group messaging support
•
Real time clock over-the-air update support
•
Compatible with synthesized receivers
•
SSID and NID Roaming support
•
Low Battery Indication (requires external detector)
•
1.8 to 3.3 V low power operation
•
32-pin Thin Quad Flat Pack (TQFP) package
•
Backward compatible with MC68175
ADDITIONAL SUPPORT
FLEX System Software from Motorola is a family of software components for building worldclass products incorporating messaging capabilities. FLEXstack™ Roaming Software is
specifically designed to support the Roaming FLEX™ chip IC. FLEXstack Roaming Software
runs on a product’s host processor and takes care of communicating with the FLEX™ chip IC,
acquiring the proper FLEX channel, and fully interpreting the codewords that are passed to the
host from the FLEX™ chip IC.
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
iii
Freescale Semiconductor, Inc.
MC68181
Documentation
DOCUMENTATION
This document is the primary document supporting the MC68181 FLEX™ chip IC.
Documentation is available from:
•
A local Motorola distributor
•
A Motorola semiconductor sales office
•
A Motorola Literature Distribution Center
•
Through the Motorola Wireless Semiconductor home page on the Internet
Freescale Semiconductor, Inc...
See the back cover for detailed information. The Motorola Wireless Semiconductors
home page on the Internet is the source for the latest information.
iv
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
SECTION
1
SIGNAL/CONNECTION DESCRIPTIONS
Freescale Semiconductor, Inc...
SIGNAL GROUPINGS
The input and output signals of the MC68181 are organized into six functional groups, as
shown in Table 1-1 and as illustrated in Figure 1-1.
Table 1-1 MC68181 Functional Signal Groupings
Number of
Signals
Detailed
Description
Power Input and Monitoring
7
Table 1-2
Processor Clocks
1
Table 1-3
Reset
1
Table 1-4
Current Symbol Inputs
2
Table 1-5
Serial Peripheral Interface (SPI)
5
Table 1-6
Receiver Control Port
8
Table 1-7
Functional Group
Figure 1-1 is a diagram of MC68181 signals by functional group.
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
1-1
Freescale Semiconductor, Inc.
MC68181
Power Input and Monitoring
MC68181
Freescale Semiconductor, Inc...
VDD
VSS
LOBAT
CLKOUT
SYMCLK
EXTAL
XTAL
OSCPD
RESET
2
4
Power:
Input power
Ground
Low Battery
Detect
38.4 kHz
Symbol Clock
External input
External output
Oscillator Power
Down
Hardware
Reset
Current
Symbol MSB
Current
Symbol LSB
EXTS1
EXTS0
SCK
SS
MOSI
MISO
READY
Serial
Peripheral
Interface
(SPI)
Receiver
Control Port
8
S0–S7
AA122
Figure 1-1 Signals Identified by Functional Group
POWER INPUT AND MONITORING
Table 1-2 Power Input, Monitoring, and Control Signals
Power Name
Description
VDD
Power—VDD is the input power for the IC.
VSS
Ground—VSS is ground connection for the IC.
LOBAT
Low Battery—LOBAT provides an input signal to indicate to the IC when external
battery power is going low. (An external voltage sensing circuit is required)
1-2
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
Processor Clock
PROCESSOR CLOCK
Table 1-3 Processor Clock Signals
Freescale Semiconductor, Inc...
Signal
Name
Type
State During
Reset
Signal Description
CLKOUT
Output
Indeterminate
Clock Output—This is typically a 38.4 kHz clock output (derived
from 76.8 kHz oscillator).
SYMCLK
Output
Indeterminate
Recovered Symbol Clock—Data is synchronized to the internal
clock and this recovered clock output enhances lockon capability
by reducing jitter from cable-induced noise.
EXTAL
Input
Input
External Clock/Crystal Input—EXTAL interfaces the internal
crystal oscillator input to a 76.8 kHz crystal input or other external
input clock.
XTAL
Output
Indeterminate
External Clock/Crystal Output—This is typically a 76.8 kHz
clock output.
OSCPD
Input
Input
Oscillator Power Down—This input determines whether the
internal oscillator is used. Connect this pin to VSS when using the
76.8 kHz crystal input. Connect this pin to VDD when using an
external input clock signal.
RESET
Table 1-4 Test and Reset Signals
Signal Name
RESET
Type
State During
Reset
Input
Input
Signal Description
Reset—This input is a direct hardware reset on the FLEX™ chip
IC. When RESET is asserted low, the FLEX™ chip IC is
initialized and placed in the Reset state.
CURRENT SYMBOL INPUTS
Table 1-5 Interrupt and Mode Control
Signal Name
Type
State During
Reset
Signal Description
EXTS1
Input
Input
External Symbol 1—This is the Most Significant Bit (MSB) of
the symbol being tested.
EXTS0
Input
Input
External Symbol 0—This is the Least Significant Bit (LSB) of
the symbol being tested.
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
1-3
Freescale Semiconductor, Inc.
MC68181
Serial Peripheral Interface (SPI)
SERIAL PERIPHERAL INTERFACE (SPI)
Table 1-6 Serial Peripheral Interface (SPI) Signals
Freescale Semiconductor, Inc...
Signal
Name
Signal
Type
State during
Reset
Signal Description
SCK
Input
Input
SPI Serial Clock—The SCK signal is an input, and the clock signal
from the external master synchronizes the data transfer. The SCK
signal is ignored by the SPI if the Slave Select (SS) signal is not
asserted.
SS
Input
Input
SPI Slave Select—This signal is used to enable the SPI slave for
transfer.
MOSI
Input
Input
SPI Master-Out-Slave-In—Since the MC68181 is always a slave
device, this is the data input for SPI communications. The MOSI
signal is used in conjunction with the MISO signal for transmitting
and receiving serial data.
MISO
Output
Tri-stated
SPI Master-In-Slave-Out—Since the MC68181 is always a slave
device, this is the data output for SPI communications. The MISO
signal is used in conjunction with the MOSI signal for transmitting
and receiving serial data.
READY
Output
Output, driven
high
SPI Ready—This signal is driven low when the FLEX™ chip IC is
ready for an SPI packet.
RECEIVER CONTROL LINES
Table 1-7 Receiver Control Lines
Signal
Name
S0–S7
1-4
Signal Type
Output
State during
Reset
Tri-stated
Signal Description
Control Line 0–Control Line 7—These signals are the
eight receiver control lines.
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
SECTION
2
SPECIFICATIONS
Freescale Semiconductor, Inc...
INTRODUCTION
The MC68181 is fabricated in high density CMOS with Transistor-Transistor Logic
(TTL) compatible inputs and outputs.
MAXIMUM RATINGS
CAUTION
This device contains circuitry protecting
against damage due to high static voltage or
electrical fields; however, normal precautions
should be taken to avoid exceeding maximum
voltage ratings. Reliability is enhanced if
unused inputs are tied to an appropriate logic
voltage level (e.g., either GND or VDD).
Note: In the calculation of timing requirements, adding a maximum value of one
specification to a minimum value of another specification does not yield a
reasonable sum. A maximum specification is calculated using a worst case
variation of process parameter values in one direction. The minimum
specification is calculated using the worst case for the same parameters in the
opposite direction. Therefore, a “maximum” value for a specification will
never occur in the same device that has a “minimum” value for another
specification; adding a maximum to a minimum represents a condition that
can never exist.
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
2-1
Freescale Semiconductor, Inc.
MC68181
Thermal characteristics
Table 2-1 Maximum Ratings
Rating
Symbol
Min
Max
Unit
Supply Voltage
VDD
6
V
All input voltages
VIN
−0.5
−0.5
6.5
V
I
—
10
mA
TA
–30
+85
TSTG
–65
+150
˚C
˚C
Current drain per pin excluding VDD and VSS
Operating temperature range
Freescale Semiconductor, Inc...
Storage temperature
THERMAL CHARACTERISTICS
Table 2-2 Thermal Characteristics
Characteristic
Junction-to-ambient thermal resistance1
Thermal characterization parameter
Note:
2-2
1.
Symbol
TQFP Value
Unit
RθJA or θJA
95
˚C/W
ΨJT
21
˚C/W
Junction-to-ambient thermal resistance is based on measurements on a horizontal, single-sided
Printed Circuit Board per SEMI G38-87 in natural convection.(SEMI is Semiconductor Equipment and
Materials International, 805 East Middlefield Rd., Mountain View, CA 94043, (415) 964-5111) Values
were measured with the parts mounted on thermal test boards meeting the specification EIA/
JESD51-3.
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
DC Electrical Characteristics
DC ELECTRICAL CHARACTERISTICS
Table 2-3 DC Electrical Characteristics
Characteristics
Supply voltage
Input voltage
Freescale Semiconductor, Inc...
Output
voltage1
Symbol
Min
Typ
Max
Unit
VDD
1.8
3.3
3.6
V
VI
0
—
VDD
V
VO
0
—
VDD
V
0.75VDD
0.7 VDD
—
—
—
—
V
V
Input high voltage
RESET, SS, SCK, MOSI
All other inputs
VIH
Input low voltage
VIL
—
—
0.2VDD
V
tt
0
—
25
ns
Input leakage current
IIN
–0.25
—
0.25
µA
High impedance (off-state) input current
(@ 1.44 V /0.3 V)
ITSI
–10
—
+10
µA
Output high voltage (IOH = –1.0 mA)
VOH
0.8 VDD
—
—
V
Output low voltage (IOL = 2.8 mA)
VOL
—
—
0.3
V
IDD
—
100
—
µA
CIN
—
10
—
pF
Tj
-30
25
150
˚C
ViT+
—
—
0.7VDD
V
ViT-
0.2VDD
—
—
V
Hysteresis (ViT+ - ViT-)3
Vhys
0.1VDD
—
0.3VDD
V
3-state-output Hi-Z current5
IOZ
—
—
+/- 10
µA
Lower-level input current6
IIL
—
—
-1
µA
IIH
—
—
1
µA
Input transition (rise and fall) time
Internal Supply
Current2
Input capacitance
Virtual junction temperature
Positive-going threshold voltage3,4
Negative-going threshold
High-level input
Note:
1.
2.
3.
4.
5.
6.
7.
current7
voltage3,4
Applies to output buffers
This value is for static IDD.
Applies to input and bi-directional buffers with hystersis
Test condition = CMOS compatible
3-state or open-drain output must be in the high-impedance mode.
Specifications only apply with pullup terminator turned off.
Specifications only apply with pulldown terminator turned off
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
2-3
Freescale Semiconductor, Inc.
MC68181
AC Electrical Characteristics
AC ELECTRICAL CHARACTERISTICS
Freescale Semiconductor, Inc...
The timing waveforms in the AC Electrical Characteristics are tested with a VIL
maximum of 0.2 × VDD in V and a VIH minimum of 0.7 × VDD in V for all inputs. AC
timing specifications that are referenced to a device input signal are measured in
production with respect to the 50% point of the respective input signal’s transition.
MC68181 output levels are measured with the production test machine VOL and VOH
reference levels set at 0.3 × VDD in V and 0.6 × VDD in V, respectively.
INITIALIZATION TIMING
(VDD = 1.8 to 3.6 V, TA = –30 to + 85°C)
Table 2-4 Initialization Timing
Characteristic
Conditions
Symbol
Min
Max
Unit
Oscillator Start-up Time
—
tSTART
—
5
sec
RESET Hold Time
—
tRESET
200
—
ns
RESET High to READY Low
—
tRHRL
76,800
76,800
T
CL = 50pf
tOWRL
—
1
sec
Oscillator Warmed Up to READY Low
Note:
2-4
T is one period of the 76.8 kHz clock source. From power-up, the oscillator start-up time can impact the availability
and period of clock strobes. This can affect the actual RESET high to READY low timing.
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
RESET Timing
VDD
tSTART
Oscillator
RESET
Freescale Semiconductor, Inc...
tRESET
READY
tOWRL
tRHRL
AA1221
Figure 2-1 Startup Timing
RESET TIMING
(VDD = 1.8 to 3.6 V, TA = –30 to 85°C)
Table 2-5 Reset Timing
Characteristic
Conditions
Symbol
Min
Max
Unit
RESET Pulse Width
—
tRL
200
—
ns
RESET Low to READY High
—
tRLRH
—
200
ns
RESET High to READY Low
Requires stable
76.8 kHz clock source
tRHRL
—
1
sec
RESET
tRL
READY
tRLRH
tRHRL
AA1222
Figure 2-2 Reset Timing
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
2-5
Freescale Semiconductor, Inc.
MC68181
Serial Peripheral Interface (SPI) Timing
SERIAL PERIPHERAL INTERFACE (SPI) TIMING
(VDD = 1.8 to 3.6 V, TA = –30 to +85°C)
Table 2-6 SPI Timing
Freescale Semiconductor, Inc...
Characteristic
Conditions
Symbol
Min
Max
Unit
Operating Frequency
—
fOP
0
1
MHz
Cycle Time
—
tCYC
1000
—
ns
Select Lead Time
—
tLEAD1
200
—
ns
De-select Lag Time
—
tLAG1
200
—
ns
Select-to-Ready Time
Previous packet did not program an
address word; CL = 50 pf
tRDY
—
80
µs
Select-to-Ready Time
Previous packet programmed an
address word; CL = 50 pf
tRDY
—
420
µs
Ready High Time
—
tRH
50
—
µs
Ready Lead Time
—
tLEAD2
200
—
ns
CL = 50pf
tLAG2
—
200
ns
MOSI Data Setup Time
—
tSU
200
—
ns
MOSI Data Hold Time
—
tHI
200
—
ns
MISO Access Time
CL = 50pf
tAC
0
200
ns
MISO Disable Time
—
tDIS
—
300
ns
MISO Data Valid Time
CL = 50pf
tV
—
200
ns
MISO Data Hold Time
—
tHO
0
—
ns
SS High Time
—
tSSH
200
—
ns
SCK High Time
—
tSCKH
300
—
ns
SCK Low Time
—
tSCKL
300
—
ns
SCK Rise Time
20% to 70% VDD
tR
1
µs
SCK Fall Time
20% to 70% VDD
tF
1
µs
Not Ready Lag Time
Note:
2-6
When the host reprograms an address word with a Host-to-FLEX™ chip packet ID > 127 (decimal), there
may be an added delay before FLEX™ chip is ready for another packet.
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
Serial Peripheral Interface (SPI) Timing
SS
tSSH
READY
tRDY
tCYC
tLEAD2
tLEAD1
tRH
tLAG1
tLAG2
tF
tR
Freescale Semiconductor, Inc...
SCK
Tristated
tSCKL
tSCKH
D0
D31
MISO
tAC
tV
tHO
D31
MOSI
tSU
tHI
Tristated
tDIS
D0
AA1223
Figure 2-3 SPI Timing
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
2-7
Freescale Semiconductor, Inc.
MC68181
Freescale Semiconductor, Inc...
Serial Peripheral Interface (SPI) Timing
2-8
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
SECTION
3
PACKAGING
Freescale Semiconductor, Inc...
PIN-OUT AND PACKAGE INFORMATION
This section provides information about the available packages for this product,
including diagrams of the package pinouts and tables describing how the signals
described in Section 1 are allocated. The MC68181 is available in a 32-pin Thin Quad
Flat Pack (TQFP) package.
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
3-1
Freescale Semiconductor, Inc.
MC68181
Pin-out and Package Information
TQFP Package Description
17
NC
S5
S4
S3
S2
S1
S0
24
NC
16
25
SYMCLK
SS
VDD
SCK
EXTS0
VSS
Orientation Mark
(Top View)
MOSI
EXTS1
LOBAT
MISO
32
9
NC
VSS
VSS
EXTAL
XTAL
VSS
VDD
OSCPD
8
1
CLKOUT
S6
S7
READY
NC
Freescale Semiconductor, Inc...
RESET
Top and bottom views of the TQFP package are shown in Figure 3-1 and Figure 3-2
with their pin-outs.
AA122
Figure 3-1 MC68181 Thin Quad Flat Pack (TQFP), Top View
3-2
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
RESET
24
S0
S1
S2
S3
S4
S5
17
NC
Pin-out and Package Information
S6
16
25
READY
SYMCLK
SS
VDD
SCK
EXTS0
VSS
EXTS1
MOSI
(Bottom View)
Orientation Mark
LOBAT
32
9
CLKOUT
NC
OSCPD
VDD
VSS
XTAL
EXTAL
VSS
1
8
NC
MISO
VSS
Freescale Semiconductor, Inc...
S7
NC
AA122
Figure 3-2 MC68181 Thin Quad Flat Pack (TQFP), Bottom View
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
3-3
Freescale Semiconductor, Inc.
MC68181
Pin-out and Package Information
Table 3-1 Signal by Pin Number
Freescale Semiconductor, Inc...
Pin # Signal Name
Pin # Signal Name Pin # Signal Name
Pin # Signal Name
1
NC1
9
NC1
17
NC1
25
NC1
2
OSCPD
10
LOBAT
18
S5
26
READY
3
VDD
11
EXTS1
19
S4
27
SS
4
VSS2
12
EXTS0
20
S3
28
SCK
5
XTAL
13
VDD
21
S2
29
VSS2
6
EXTAL
14
SYMCLK
22
S1
30
MOSI
7
VSS2
15
S7
23
S0
31
MISO
8
VSS2
16
S6
24
RESET
32
CLKOUT
Note:
1.
2.
NC indicates reserved pins. These pins must not be connected to any external line.
To ensure proper chip operation, all VSS pins must be connected to GND.
Table 3-2 Signal by Name
Signal Name
Pin # Signal Name Pin # Signal Name
Pin # Signal Name Pin #
CLKOUT
32
NC
9
S2
21
SYMCLK
14
EXTAL
6
NC
17
S3
20
VDD
3
EXTS0
12
NC
25
S4
19
VDD
13
EXTS1
11
OSCPD
2
S5
18
VSS
4
LOBAT
10
READY
26
S6
16
VSS
7
MISO
31
RESET
24
S7
15
VSS
8
MOSI
30
S0
23
SCK
28
VSS
29
NC
1
S1
22
SS
27
XTAL
5
3-4
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
Pin-out and Package Information
A
4X
32
0.20
25
AB T-U Z
-T-, -U-, -Z-
A1
1
-U-
-TB
V
AE
P
B1
DETAIL Y
17
8
V1
AE
DETAIL Y
4X
-Z9
0.20
S1
AC T-U Z
S
DETAIL AD
G
-AB-AC0.10
AC
M AC T-U Z
SEATING
PLANE
BASE
METAL
N
8X
D
0.20
F
M°
R
NOTES:
1. DIMENSIONING AND TOLERANCING PER ANSI
Y14.5M, 1982.
2. CONTROLLING DIMENSION: MILLIMETER.
3. DATUM PLANE -AB- IS LOCATED AT BOTTOM OF LEAD
AND IS COINCIDENT WITH THE LEAD WHERE THE
LEAD EXITS THE PLASTIC BODY AT THE BOTTOM OF
THE PARTING LINE.
4. DATUMS -T-, -U-, AND -Z- TO BE DETERMINED AT
DATUM PLANE -AB-.
5. DIMENSIONS S AND V TO BE DETERMINED AT
SEATING PLANE -AC-.
6. DIMENSIONS A AND B DO NOT INCLUDE MOLD
PROTRUSION. ALLOWABLE PROTRUSION IS 0.250
(0.010) PER SIDE. DIMENSIONS A AND B DO INCLUDE
MOLD MISMATCH AND ARE DETERMINED AT DATUM
PLANE -AB-.
7. DIMENSION D DOES NOT INCLUDE DAMBAR
PROTRUSION. DAMBAR PROTRUSION SHALL NOT
CAUSE THE D DIMENSION TO EXCEED 0.520.
8. MINIMUM SOLDER PLATE THICKNESS SHALL BE
0.0076.
9. EXACT SHAPE OF EACH CORNER MAY VARY FROM
DEPICTION.
J
SECTION AE-AE
C E
K
X
DETAIL AD
Q°
0.250
W
H
GAUGE PLANE
Freescale Semiconductor, Inc...
9
DIM
A
A1
B
B1
C
D
E
F
G
H
J
K
M
N
P
Q
R
S
S1
V
V1
W
X
MILLIMETERS
MIN
MAX
7.000 BSC
3.500 BSC
7.000 BSC
3.500 BSC
1.400
1.600
0.300
0.450
1.350
1.450
0.300
0.400
0.800 BSC
0.050
0.150
0.090
0.200
0.500
0.700
12° REF
0.090
0.160
0.400 BSC
1°
5°
0.150
0.250
9.000 BSC
4.500 BSC
9.000 BSC
4.500 BSC
0.200 REF
1.000 REF
CASE 873A-02
ISSUE A
DATE 12/16/93
Figure 3-3 32-pin Thin Quad Flat Pack (TQFP) Mechanical Information
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
3-5
Freescale Semiconductor, Inc.
MC68181
Ordering Drawings
ORDERING DRAWINGS
Complete mechanical information regarding MC68181 packaging is available by
facsimile through Motorola's Mfax™ system. Call the following number to obtain
information by facsimile:
(602) 244-6591
Freescale Semiconductor, Inc...
The Mfax automated system requests the following information:
•
The receiving facsimile telephone number including area code or country
code
•
The caller’s Personal Identification Number (PIN)
Note: For first time callers, the system provides instructions for setting up a PIN,
which requires entry of a name and telephone number.
•
The type of information requested:
–
Instructions for using the system
–
A literature order form
–
Specific part technical information or data sheets
–
Other information described by the system messages
A total of three documents may be ordered per call.
The MC68181 32-pin TQFP package mechanical drawing is referenced as
873A-02.
3-6
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
SECTION
4
DESIGN CONSIDERATIONS
Freescale Semiconductor, Inc...
THERMAL DESIGN CONSIDERATIONS
An estimation of the chip junction temperature, TJ, in °C can be obtained from the
equation:
Equation 1: T J = T A + ( P D × R θJA )
Where:
TA = ambient temperature ˚C
RθJA = package junction-to-ambient thermal resistance ˚C/W
PD = power dissipation in package
Historically, thermal resistance has been expressed as the sum of a junction-to-case
thermal resistance and a case-to-ambient thermal resistance:
Equation 2: R θJA = R θJC + R θCA
Where:
RθJA = package junction-to-ambient thermal resistance ˚C/W
RθJC = package junction-to-case thermal resistance ˚C/W
RθCA = package case-to-ambient thermal resistance ˚C/W
RθJC is device-related and cannot be influenced by the user. The user controls the
thermal environment to change the case-to-ambient thermal resistance, RθCA. For
example, the user can change the air flow around the device, add a heat sink, change
the mounting arrangement on the Printed Circuit Board, or otherwise change the
thermal dissipation capability of the area surrounding the device on a Printed Circuit
Board. This model is most useful for ceramic packages with heat sinks; some 90% of
the heat flow is dissipated through the case to the heat sink and out to the ambient
environment. For ceramic packages, in situations where the heat flow is split between
a path to the case and an alternate path through the Printed Circuit Board, analysis of
the device thermal performance may need the additional modeling capability of a
system level thermal simulation tool.
The thermal performance of plastic packages is more dependent on the temperature
of the Printed Circuit Board to which the package is mounted. Again, if the
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
4-1
Freescale Semiconductor, Inc.
MC68181
Thermal Design Considerations
estimations obtained from RθJA do not satisfactorily answer whether the thermal
performance is adequate, a system level model may be appropriate.
Freescale Semiconductor, Inc...
A complicating factor is the existence of three common ways for determining the
junction-to-case thermal resistance in plastic packages:
•
To minimize temperature variation across the surface, the thermal resistance
is measured from the junction to the outside surface of the package (case)
closest to the chip mounting area when that surface has a proper heat sink.
•
To define a value approximately equal to a junction-to-board thermal
resistance, the thermal resistance is measured from the junction to where the
leads are attached to the case.
•
If the temperature of the package case (TT) is determined by a thermocouple,
the thermal resistance is computed using the value obtained by the equation
(TJ – TT)/PD.
As noted above, the junction-to-case thermal resistances quoted in this data sheet are
determined using the first definition. From a practical standpoint, that value is also
suitable for determining the junction temperature from a case thermocouple reading
in forced convection environments. In natural convection, using the junction-to-case
thermal resistance to estimate junction temperature from a thermocouple reading on
the case of the package will estimate a junction temperature slightly hotter than
actual temperature. Hence, the new thermal metric, Thermal Characterization
Parameter or ΨJT, has been defined to be
(TJ – TT)/PD. This value gives a better estimate of the junction temperature in natural
convection when using the surface temperature of the package. Remember that
surface temperature readings of packages are subject to significant errors caused by
inadequate attachment of the sensor to the surface and to errors caused by heat loss to
the sensor. The recommended technique is to attach a 40-gauge thermocouple wire
and bead to the top center of the package with thermally conductive epoxy.
4-2
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
Application Design Considerations
Freescale Semiconductor, Inc...
APPLICATION DESIGN CONSIDERATIONS
The FLEX™ chip IC connects to a receiver capable of converting a four-level
FSK-encoded audio signal into a 2-bit digital signal. The FLEX™ chip IC has eight
receiver control lines used for warming up and shutting down a receiver in stages.
The FLEX™ chip IC has dual bandwidth control signals for two post detection filter
bandwidths for receiving the two symbol rates of the FLEX signal. The FLEX™ chip
IC has the ability to detect a low battery signal during the receiver control sequences.
It interfaces to a host MCU through a standard SPI. It has a 38.4 kHz clock output
capable of driving other devices. It has a 1 minute timer that offers low power
support for time of day function on the host. Figure 4-1 shows a typical application
block diagram.
IF STAGES
2/4 level
FSK RF In
LNA
Mixer/Amp
FM IF
ADC
MRF1047T1
MRF927T1
MRF947T1
MMBR961LT1
MR947T1
MC13143
MC3374
MC13150
2-bit
FLEXTM A/O
FLEXTM
Subsystem
MC68181FDB
Data
Rec
Audio
VCO/Buffer
Frequency
Synthesizers
PLL
MRFIC0916
MRFIC0915
MRF947T1
MRF927T1
MRF2947AT1
MC68181
SPI
Host
Processor
SPI
MC141592
MC68HC08
MC68HC11/12
MC68328
MPC821
DSP56L811
AA1216
Figure 4-1 Roaming
MOTOROLA
FLEXTM chip
System Block Diagram
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
4-3
Freescale Semiconductor, Inc.
MC68181
Application Design Considerations
Figure 4-2 shows a recommended circuit for a 76.8 kHz crystal input.
Ex: UT200 Crystal Sanyo
EXTAL
C1
10 pF
R2
10 MΩ
Freescale Semiconductor, Inc...
R1
0Ω
C2
10 pF
XTAL
Note:
R1 can be increased in size to be used as a current limiter, if needed.
AA1069
Figure 4-2 Input Circuit for 76.8 kHz Crystal
Appendix A of this document provides a background of the FLEX signal protocol.
Appendix B provides a description of the way in which the MC68181 FLEX™ chip IC
handles packets through the SPI, including sections that describe transfer from the
host to the decoder from the decoder to the host. Appendix C provides a sample
application to illustrate how the MC68181 FLEX™ chip IC might be used in an
application.
4-4
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
SECTION
5
ORDERING INFORMATION
Consult a Motorola Semiconductor sales office or authorized distributor to determine
product availability and to place an order.
Freescale Semiconductor, Inc...
Table 5-1 Ordering Information
Part
MC68181
MOTOROLA
Supply
Voltage
2/3 V
Package Type
Thin Quad Flat Pack
(TQFP)
Pin
Count
Frequency
(kHz)
Order Number
32
76.8
MC68181FA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
5-1
Freescale Semiconductor, Inc.
Freescale Semiconductor, Inc...
MC68181
5-2
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
APPENDIX A
FLEX OVERVIEW
Freescale Semiconductor, Inc...
This appendix gives an overview of the FLEX protocol as it pertains to the Roaming
FLEX chip IC. This is only an overview and in the event that there is contradictory
information, the FLEX Protocol Specification prevails. This overview is derived from
Issue G1.8 of the FLEX Protocol Specification.
FLEX SIGNAL STRUCTURE
As shown in Figure A-1, a FLEX signal is transmitted on a radio channel and consists
of a series of four-minute cycles, each cycle having 128 frames at 1.875 seconds per
frame. A pager may be assigned to process any number of these frames. Any
unassigned frames are not processed, thus reducing power required for signal
processing and extending battery life. If required, however, the pager may
temporarily process more complex information, because individual FLEX cycles can
assign additional frames dynamically using collapse, fragmentation, temporary
addressing, or carry-on information within the FLEX signal.
One Cycle = 4 Minutes
Frame
127
Frame
0
Frame
1
Frame Frame
2
3
Frame
4
Frame
125
Frame
126
Frame
127
One Frame = 1.875 s.
Sync 1 Frame
Info
Sync 2
Block 0
Word Number
0 to 7
Block 9
Word Number
72 to 79
Block 10
Word Number
80 to 87
One Block =
160 ms
AA1226
Figure A-1 FLEX™ Signal Structure
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
A-1
Freescale Semiconductor, Inc.
MC68181
FLEX Frame Structure
FLEX FRAME STRUCTURE
As shown in Figure A-1 on page A-1, each FLEX frame consists of:
•
Synchronization portion
•
Data portion—Eleven data blocks lasting 160 milliseconds each
Freescale Semiconductor, Inc...
Frame Synchronization Portion
The synchronization portion consists of:
•
First synchronization signal at 1600 bps
•
Frame Information Word including:
•
–
Frame Number 0–127 (7 bits)
–
Cycle Number 0–14 (4 bits)
Second synchronization signal at the data rate of the interleaved portion.
FIRST SYNCHRONIZATION SIGNAL
The first synchronization signal is transmitted at 1600 bps and provides a signal to
lock onto the specific frame.
FRAME INFORMATION WORD
The Frame Information Word transmits 11 bits that are divided into a 7-bit frame
number and a 4-bit cycle number. This allows the pager to identify the frame and the
cycle in which it resides uniquely.
SECOND SYNCHRONIZATION SIGNAL
The second synchronization signal indicates the rate at which the data portion is
transmitted, 1600, 3200 or 6400 bits per second.
A-2
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
FLEX Frame Structure
The 1600 bps rate is transmitted as a single phase of information (A), as shown in
Figure A-2 on page A-3, at 1600 symbols per second using 2-level Frequency Shift
Keyed (FSK) modulation.
One Cycle = 4 Minutes
Frame
0
Frame
1
Frame Frame
2
3
Frame
4
Frame
125
Frame
126
Frame
127
One Frame = 1.875 s.
Sync 1 Frame
Info
Sync 2
Block 0
Word Number
0 to 7
Block 9
Word Number
72 to 79
Block 10
Word Number
80 to 87
One Block =
160 ms
1600 BPS
Freescale Semiconductor, Inc...
Frame
127
PHASE A
BIW
Address
Field
Vector
Field
Message Field
Idle Field
AA1227
Figure A-2 FLEX™ Signal Structure for 1600 BPS
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
A-3
Freescale Semiconductor, Inc.
MC68181
FLEX Frame Structure
The 3200 bps rate is transmitted as two concurrent phases of information (A and C),
as shown in Figure A-3, at either:
•
1600 symbols per second using 4-level FSK modulation, or
•
3200 symbols per second using 2-level FSK modulation.
One Cycle = 4 Minutes
Freescale Semiconductor, Inc...
Frame
127
Frame
0
Frame
1
Frame Frame
2
3
Frame
4
Frame
125
Frame
126
Frame
127
One Frame = 1.875 s.
Sync 1 Frame
Info
Sync 2
Block 0
Word Number
0 to 7
Block 9
Word Number
72 to 79
Block 10
Word Number
80 to 87
3200 BPS
One Block =
160 ms
PHASE A
BIW
PHASE C
BIW
Address
Field
Address
Field
Vector
Message Field
Idle Field
Field
Vector
Message Field Idle Field
Field
AA1228
Figure A-3 FLEX™ Signal Structure for 3200 BPS
A-4
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
FLEX Frame Structure
The 6400 bps rate is transmitted as four concurrent phases of information (A,B, C, and
D), as shown in Figure A-4, at 3200 symbols per second using 4-level FSK
modulation.
One Cycle = 4 Minutes
Frame
0
Frame
1
Frame Frame
2
3
Frame
4
Frame
125
Frame
126
Frame
127
One Frame = 1.875 s.
Sync 1 Frame
Info
Sync 2
Block 0
Word Number
0 to 7
Block 9
Word Number
72 to 79
Block 10
Word Number
80 to 87
One Block =
160 ms
PHASE A
6400 BPS
Freescale Semiconductor, Inc...
Frame
127
PHASE B
PHASE C
PHASE D
Address
Vector
Message Field
Idle Field
Field
Field
Address
Vector
Message Field Idle Field
BIW
Field
Field
Address Vector
Idle
Message Field
BIW
Field
Field
Field
Address
Vector
Message Field
BIW
Field
Field
BIW
AA1229
Figure A-4 FLEX™ Signal Structure For 6400 BPS
Frame Data Portion
As noted above, there are eleven data blocks following the frame synchronization
portion of each frame. Each block has eight interleaved words per phase, numbered
0–87 contiguously for all eleven blocks, in every frame. Each word has information
that allows for bit error correction and detection contained within an error correcting
code.
Each of the eighty-eight words in each phase is organized into the following five
fields:
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
A-5
Freescale Semiconductor, Inc.
MC68181
FLEX Frame Structure
•
Block information field
•
Address field
•
Vector field
•
Message field
•
Idle field
Freescale Semiconductor, Inc...
The boundaries between the fields are independent of the block boundaries.
Furthermore, at 3200 and 6400 bps, the information in one phase is independent of
the information in a concurrent phase, and the boundaries between the fields of one
phase are unrelated to the boundaries between the fields in a concurrent phase.
BLOCK INFORMATION FIELD
The block information field may contain information words for determining time and
date information and certain paging system information.
ADDRESS FIELD
The address field contains addresses assigned to paging devices. Addresses are used
to identify information sent to individual paging devices and/or groups of paging
devices. An address may be either a “short” one word address or a “long” two word
address. Information in the FLEX signal may indicate that an address is a priority
address. An address may be a “tone only” address, in which case there is no
additional information associated with the address.
VECTOR FIELD
The vector field consists of a series of vector words. Depending upon the type of
message, a vector word (or words in the case of a long address) may either contain all
of the information necessary for the message, or indicate the location of message
words in the message field comprising the message information. If an address is not a
tone only address, then there is an associated vector word in the vector field.
Information in the FLEX signal indicates the location of the vector word. Short
addresses have one associated vector word and long addresses two associated vector
words. A pager may go to low power mode at the end of the address field if its
address(es) is (are) not detected, thus resulting in battery savings.
MESSAGE FIELD
The message field consists of a series of information words containing message
information. The message information may be formatted in ASCII, BCD, or binary
depending upon the message type. The following sections provide a detailed
description of the various types of information words that may be used in the
message field.
IDLE FIELD
The idle field is used to separate blocks.
A-6
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
FLEX Message Word Definitions
FLEX MESSAGE WORD DEFINITIONS
Numeric Data Message
The following tables describe the bit format of the numeric messages. The 4-bit
numeric characters of the message are designated as lower case letters a, b, c, d, etc.
Freescale Semiconductor, Inc...
Table A-1 Standard (V = 011) or Special Format (V = 100) Numeric Vectors
Message
Word
i0 i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12 i13 i14 i15 i16 i17 i18 i19 i20
1st
K4 K5 a0 a1 a2 a3 b0 b1 b2 b3 c0 c1 c2 c3 d0 d1 d2 d3 e0 e1 e2
2nd
e3 f0
3rd
k0 k1 k2 k3 l0
l1
l2
l3
4th
q1 q2 q3 r0
r2
r3
s0 s1 s2 s3 t0
5th
v2 v3 w0 w1 w2 w3 y0 y1 y2 y3 z0 z1 z2 z3 A0 A1 A2 A3 B0 B1 B2
6th
B3 C0 C1 C2 C3 D0 D1 D2 D3 E0 E1 E2 E3 F0 F1 F2 F3 G0 G1 G2 G3
7th
H0 H1 H2 H3 I0
8th
M1 M2 M3 O0 O1 O2 O3 P0 P1 P2 P3 Q0 Q1 Q2 Q3 T0 T1 T2 T3 U0 U1
f1
f2
f3
r1
g0 g1 g2 g3 h0 h1 h2 h3 i0
I1
I2
I3
i1
i2
i3
j0
j1
j2
j3
m0 m1 m2 m3 n0 n1 n2 n3 o0 o1 o2 o3 q0
J0
J1
J2
J3
t1
t2
t3
u0 u1 u2 u3 v0 v1
V0 V1 V2 V3 L0 L1 L2 L3 M0
Table A-2 Numbered (V = 111) Numeric Vector
Message
Word
i0 i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12 i13 i14 i15 i16 i17 i18 i19 i20
1st
K4 K5 N0 N1 N2 N3 N4 N5 R0 S0 a0 a1 a2 a3 b0 b1 b2 b3 c0 c1 c2
2nd
c3 d0 d1 d2 d3 e0 e1 e2 e3 f0
3rd
i0
4th
n1 n2 n3 o0 o1 o2 o3 q0 q1 q2 q3 r0
5th
t2
6th
z3 A0 A1 A2 A3 B0 B1 B2 B3 C0 C1 C2 C3 D0 D1 D2 D3 E0 E1 E2 E3
7th
F0 F1 F2 F3 G0 G1 G2 G3 H0 H1 H2 H3 I0
8th
V1 V2 V3 L0 L1 L2 L3 M0 M1 M2 M3 O0 O1 O2 O3 P0 P1 P2 P3 Q0 Q1
MOTOROLA
i1
t3
i2
i3
j0
j1
j2
j3
f1
f2
f3
k0 k1 k2 k3 l0
r1
g0 g1 g2 g3 h0 h1 h2 h3
l1
l2
l3
m0 m1 m2 m3 n0
r2
r3
s0 s1 s2 s3 t0
t1
u0 u1 u2 u3 v0 v1 v2 v3 w0 w1 w2 w3 y0 y1 y2 y3 z0 z1 z2
I1
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
I2
I3
J0
J1
J2
J3
V
A-7
Freescale Semiconductor, Inc.
MC68181
FLEX Message Word Definitions
Freescale Semiconductor, Inc...
Table A-3 Numeric Message Bit Definitions
Symbol
Definition
K
6-bit Message Check Character (First 4 bits are in the vector word)—This check
character is calculated by initializing the message check character (K) to 0 and
summing the information bits of each code word in the message, (including control
information and termination characters and bits in the last message word) to a check
sum register. The information bits of each word are broken into three groups: the first
is the 8 bits comprising i0 through i7, the second group comprises bits i8 through i15,
and the third group comprises bits i16 through i20. Bits i0, i8, and i16 are the LSBs of
each group. The binary sum is calculated, and the result is shortened to the eight
Least Significant Bits. The two Most Significant Bits are shifted 6 bits to the right and
summed with the six Least Significant Bits to form a new sum. This resultant sum is
one's complemented with the six LSBs of the result being transmitted as the message
check character.
N
Message Number—When the system supports message retrieval, the system
controller assigns message numbers (for each paging address separately) starting at
zero and progressing up to a maximum of sixty-three in consecutive order. The actual
maximum roll over number is defined in the pager code plug to accommodate values
set in the system infrastructure. When message numbers are not received in order,
the subscriber should assume a message has been missed. The subscriber or the pager
may determine the missing message number(s) allowing a request to be made for
retrieval. When a normal unnumbered numeric message is received (Message
Retrieval Flag = 0), it is not to be included in the missed message calculation.
R
Message Retrieval Flag—When this bit is set to 1, the pager expects to see messages
numbered in order (each address numbered separately). Detection of a missing
number indicates a missed message. A message received with R = 0 is allowed to be
out of order and shall not cause the pager to indicate that a message has been missed.
S
Special Format—In the numbered message format, this bit set to 1 indicates that a
special display format should be used.
MESSAGE FILL RULES
For numeric messages of thirty-six characters or less (thirty-four characters if
numbered), fewer than eight code words on the channel are required. Only code
words containing the numeric message are to be transmitted. The space character
($C) should be used to fill any unused 4-bit characters in the last word and zeros to
fill any remaining partial characters. The check sum is correspondingly shortened to
include only the code words comprising the shortened message along with the space
and fill characters used to fill in the last word.
SPECIAL FORMAT NUMERIC
Spaces and dashes as specified by the host are inserted into the received message.
This feature in certain markets saves the transmission of an additional word on the
channel. As an example, in the U.S. market a 10-character string (area code plus
telephone number) fits into two message words; if the dashes or parentheses are to be
A-8
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
FLEX Message Word Definitions
included in the message, a third message word on the channel is required. The actual
placement can be programmed into the paging device and can vary between markets.
Freescale Semiconductor, Inc...
Hex/Binary Message
The following tables describe the bit format of the Hex/Binary messages. The data of
the message is designated as lower case letters a, b, c, d, etc. Hex/binary messages
can be sent as fragments. The service provider has the option of dividing the message
into several pieces and sending the separate pieces at any time within a given time
period.
Table A-4 Vector Type V = 110 First Only Fragment
Message
Word
i0
i1
i2
i3
i4
i5
i6
i7
i8
i9
i10 i11 i12 i13 i14 i15 i16 i17 i18 i19 i20
1st
K0 K1 K2 K3 K4 K5 K6 K7 K8 K9 K10 K11 C0 F0 F1 N0 N1 N2 N3 N4 N5
2nd
R0 M0 D0 H0 B0 B1 B2 B3 s0 s1 s2 s3 s4 S0 S1 S2 S3 S4 S5 S6 S7
3rd
a0 a1 a2 a3 b0 b1 b2 b3 c0 c1 c2 c3 d0 d1 d2 d3 e0 e1 e2 e3 f0
4th
f1
5th
k2 k3 l0
l1
l2
l3
6th
q3 r0
r1
r2
r3
s0 s1 s2 s3 t0
t1
t2
t3
u0 u1 u2 u3 v0 v1 v2 v3
i
i
i
i
i
i
i
i
i
f2
f3
g0 g1 g2 g3 h0 h1 h2 h3 i0
i1
i2
i3
j0
j1
j2
j3
k0 k1
m0 m1 m2 m3 n0 n1 n2 n3 o0 o1 o2 o3 q0 q1 q2
...
nth
i
i
i
i
i
i
i
i
i
i
i
i
Table A-5 Vector Type V=110 All Other Fragments
Message
Word
i0 i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12 i13 i14 i15 i16 i17 i18 i19 i20
1st
K0 K1 K2 K3 K4 K5 K6 K7 K8 K9 K10 K11 C0 F0 F1 N0 N1 N2 N3 N4 N5
2nd
a0 a1 a2 a3 b0 b1 b2 b3 c0 c1 c2 c3 d0 d1 d2 d3 e0 e1 e2 e3 f0
3rd
f1
4th
k2 k3 l0
l1
l2
l3
5th
q3 r0
r1
r2
r3
s0 s1 s2 s3 t0
t1
t2
t3
u0 u1 u2 u3 v0 v1 v2 v3
i
i
i
i
i
i
i
i
i
f2
f3
g0 g1 g2 g3 h0 h1 h2 h3 i0
i1
i2
i3
j0
j1
j2
j3
k0 k1
m0 m1 m2 m3 n0 n1 n2 n3 o0 o1 o2 o3 q0 q1 q2
...
nth
MOTOROLA
i
i
i
i
i
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
i
i
i
i
i
i
i
A-9
Freescale Semiconductor, Inc.
MC68181
FLEX Message Word Definitions
Table A-6 Hex/Binary Message Bit Definitions
Definition
K
12-bit Fragment Check Sum—This check sum is calculated by initializing the
Fragment Check Sum field (K) to 0 and calculating a sum over the information bits of
each code word in the message fragment (including control information and
termination characters/bits in the last fragment word). This sum requires that the
information bits of each word be broken into three groups: the first is the 8 bits
comprising i0 through i7, the second group comprises bits i8 through i15, and the
third group comprises bits i16 through i20. Bits i0, i8, and i16 are the LSBs of each
group. The binary sum is calculated over all code words in the fragment, the one’s
complement of the sum is determined, and the twelve LSBs of the result is placed into
the Fragment Check Sum field to be transmitted at the beginning of the fragment.
C
1-bit Message Continued Flag—When set to 1, this flag indicates fragments of this
message are to be expected in any or possibly all of the following frames until a
fragment with C = 0 is found. The longest message that fits into a frame is eighty-four
code words. Three alpha characters per word yields a maximum message of 252
characters in a frame, assuming no other traffic. Messages longer than this value must
be sent as several fragments.
F
2-bit Message Fragment Number—This is a modulo 3 message fragment number
that is incremented by 1 in successive message fragments. The initial fragment starts
at 11 and each following fragment is incremented by 1 modulo 3, (11, 00, 01, 10, 00, 01,
10, 00, etc.). The 11 state (after the initial fragment) is skipped in this process to avoid
confusion with the single fragment of a non-continued message. The final fragment is
indicated by the Message Continued Flag being reset to 0.
N
Message Number—When the system supports message retrieval the system
controller assigns message numbers (for each paging address separately) starting at 0
and progressing up to a maximum of 63 in consecutive order. The actual maximum
roll over number is defined in the pager code plug to accommodate values set in the
system infrastructure. When message numbers are not received in order, the
subscriber should assume a message has been missed. The subscriber or the pager
may determine the missing message number(s) allowing a request to be made for
retrieval. When a normal unnumbered numeric message is received (message
retrieval flag is equal to 0), it is not to be included in the missed message calculation.
This number is also used to identify fragments of the same message. Multiple
messages to the same address must have separate message numbers. An exception to
this rule is the header message tied to a transparent message, each with the same
message number.
R
Message Retrieval Flag—When this bit is set to 1, the pager expects to see messages
numbered in order (each address numbered separately). Detection of a missing
number indicates a missed message. A message received with R = 0 is allowed to be
out of order and not cause the pager to indicate that a message has been missed.
M
1-bit Mail Drop Flag—When set to 1, this bit indicates the message is to be stored in
a special area in memory. It automatically writes over existing data in that memory
space.
Freescale Semiconductor, Inc...
Symbol1
A-10
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
FLEX Message Word Definitions
Table A-6 Hex/Binary Message Bit Definitions (Continued)
Symbol1
Definition
D
1-bit Display Direction Field—
• D = 0—Display left to right
•
D = 1—Display right to left (valid only when data sent as characters (i.e.,
Blocking Length not equal 0001)).
Freescale Semiconductor, Inc...
H
1-bit Header Message—
• H = 1—Indicates that this message is a header to a following transparent
message of the same message number
•
B
H = 0—Implies message is not a header
4-bit Blocking Length—This bit field indicates the number of bits per character.
• B3B2B1B0 = 0001—1 bit per character (binary/transparent data)
•
B3B2B1B0 = 1111—15 bits per character
•
B3B2B1B0 = 0000—16 bits per character
Data with blocking length other than 1 is assumed to be displayed on a character by
character basis. (default value = 0001)
Note:
s
5-bit Field Reserved for future use—Default value = 00000
S
8-bit Signature Field—The signature is defined to be the one's complement of the
binary sum over the total message taken 8 bits at a time prior to formatting into
fragments. It would be equivalent to a binary sum starting with the first 8 bits directly
following the signature field (b3b2b1b0a3a2a1a0 + d3d2d1d0c3c2c1c0 and so on) and
continuing all the way to the last valid data bit in the last word of the last fragment.
The 8 Least Significant Bits of the result are inverted (one's complement) and
transmitted as the message signature.2
1.
2.
Fields R through S are only in the first fragment of a message. The fields K through N make up
the first word of every fragment in a long message.
This sum does not include any termination bits and should be calculated directly on the message
as received by the terminal. The device generating the signature should be able to calculate
before the fragmenting boundaries are determined.
MESSAGE CONTENT
Starting with the first character of the third word in the message (second word in the
remaining fragments), each 4-bit field represents one of any of the sixteen possible
combinations with no restrictions (data may be binary).
FRAGMENT TERMINATION
Unused bits in the last message word of a fragment are filled with all 0s or all 1s,
depending on the last valid data bit. This choice is always the opposite polarity of the
last valid data bit. For first fragments and inner fragments of a multi-fragment
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
A-11
Freescale Semiconductor, Inc.
MC68181
FLEX Message Word Definitions
message, the message is interrupted (stopped) on the last full character boundary in
the last code word in the fragment. Any unused bits follow the rule just stated. The
final fragment follows the above rules except when the last character is all 1s or all 0s
and it exactly fills the last code word. In this case, an additional word must be sent of
opposite polarity of all 1s or all 0s to signify the position of the last character, thus
allowing that last character to be an all 1s or an all 0s character pattern.
Note: This is always the case when a binary message ends in the last bit of the last
word.
Freescale Semiconductor, Inc...
MESSAGE HEADER
A message header is designated by setting the H bit to 1. This is a displayable tag
associated with a transparent non-displayable data message. The tag and the
associated message are complete in themselves. The pager associates the header
message with the data file based on the two having the same message number and
being sent in sequence (header first followed by data file).
Alphanumeric Message
The following tables describe the bit format of the alphanumeric messages. The 7-bit
characters of the message are designated as lower case letters a, b, c, d, etc.
Alphanumeric messages can be sent as fragments. The service provider has the
option of dividing the message into several pieces and sending the separate pieces at
any time within a given time period.
Table A-7 Vector type V = 101 First Only Fragment
Message
Word
i0
i1
i2
i3
i4
i5
i6
i7
i8
i9
i10 i11 i12 i13 i14 i15 i16 i17 i18 i19 i20
1st
K0 K1 K2 K3 K4 K5 K6 K7 K8 K9 C0 F0 F1 N0 N1 N2 N3 N4 N5 R0 M0
2nd
S0 S1 S2 S3 S4 S5 S6 a0 a1 a2 a3 a4 a5 a6 b0 b1 b2 b3 b4 b5 b6
3rd
c0 c1 c2 c3 c4 c5 c6 d0 d1 d2 d3 d4 d5 d6 e0 e1 e2 e3 e4 e5 e6
4th
f0
f1
f2
f3
f4
f5
f6
g0 g1 g2 g3 g4 g5 g6 h0 h1 h2 h3 h4 h5 h6
5th
i0
i1
i2
i3
i4
i5
i6
j0
j1
j2
j3
j4
j5
j6
k0 k1 k2 k3 k4 k5 k6
i
i
i
i
i
i
i
i
i
i
i
i
i
i
i
...
nth
A-12
i
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
i
i
i
i
i
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
FLEX Message Word Definitions
Table A-8 Vector type V = 101 Other Fragment
Freescale Semiconductor, Inc...
Message
Word
i0
i1
i2
i3
i4
i5
i6
i7
i8
i9
i10 i11 i12 i13 i14 i15 i16 i17 i18 i19 i20
1st
K0 K1 K2 K3 K4 K5 K6 K7 K8 K9 C0 F0 F1 N0 N1 N2 N3 N4 N5 U0 V0
2nd
a0 a1 a2 a3 a4 a5 a6 b0 b1 b2 b3 b4 b5 b6 c0 c1 c2 c3 c4 c5 c6
3rd
d0 d1 d2 d3 d4 d5 d6 e0 e1 e2 e3 e4 e5 e6 f0
f1
f2
f3
f4
f5
f6
4th
g0 g1 g2 g3 g4 g5 g6 h0 h1 h2 h3 h4 h5 h6 i0
i1
i2
i3
i4
i5
i6
5th
j0
j1
j2
j3
j4
j5
j6
k0 k1 k2 k3 k4 k5 k6 l0
l1
l2
l3
l4
l5
l6
i
i
i
i
i
i
i
i
i
i
i
i
i
i
...
nth
i
i
i
i
i
i
i
Table A-9 Alphanumeric Message Bit Definitions
Symbol
Definition
K
10-bit Fragment Check Character—This check character is calculated by initializing
the fragment check character (K) to 0 and summing the information bits of each code
word in the message fragment (including control information and termination
characters and bits in the last message word) to a check sum register. The information
bits of each word are broken into three groups: the first is the 8 bits comprising i0
through i7, the second group comprises bits i8 through i15, and the third group
comprises bits i16 through i20. Bits i0, i8, and i16 are the LSBs of each group. The binary
sum is calculated, the one's complement of the sum is determined, and the ten LSBs of
the result is transmitted as the message check character.
C
1-bit Message Continued Flag—When set, this flag indicates fragments of this
message are to be expected in following frames. The longest message that fits into a
frame is 84 code words total. Three alpha characters per word yields a maximum
message of 252 characters in a frame, assuming no other traffic. Messages longer than
this value must be sent as several fragments.
F
2-bit Message Fragment Number—This is a modulo 3 message fragment number that
is incremented by 1 in successive message fragments. Initial fragments start at 11 and
increment 1 for each successive fragment. The 11 state (after the start fragment) is
skipped in this process to avoid confusion with an initial fragment of a non-continued
message. The final fragment is indicated by Message Continued Flag being cleared.
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
A-13
Freescale Semiconductor, Inc.
MC68181
FLEX Message Word Definitions
Freescale Semiconductor, Inc...
Table A-9 Alphanumeric Message Bit Definitions (Continued)
Symbol
Definition
N
Message Number—When the system supports message retrieval, the system controller
assigns message numbers (for each paging address separately) starting at 0 and
progressing up to a maximum of 63 in consecutive order. The actual maximum roll
over number is defined in the pager code plug to accommodate values set in the system
infrastructure. When message numbers are not received in order, the subscriber should
assume a message has been missed. The subscriber or the pager may determine the
missing message number(s), allowing a request to be made for retrieval. When a
normal unnumbered numeric message is received (message retrieval flag is equal to 0),
it is not to be included in the missed message calculation. This number is also used to
identify fragments of the same message. Multiple messages to the same address must
have separate message numbers.
R
Message Retrieval Flag—When this bit is set, the pager expects to see messages
numbered in order (each address numbered separately). Detection of a missing
number indicates a missed message. A message received with R = 0 is allowed to be
out of order and not cause the pager to indicate that a message has been missed.
M
1-bit Mail drop Flag—When set, this flag indicates the message is to be stored in a
special area in memory. It automatically writes over existing data in that memory
space.
S
7-bit Signature Field—The signature is defined to be the one's complement of the
binary sum over the total message (all fragments) taken 7 bits at a time (on alpha
character boundary) starting with the first 7 bits directly following the signature field
(a6a5a4a3a2a1a0, b6b5b4b3b2b1b0, etc.). The seven Least Significant Bits of the result
are transmitted as the message signature.
U, V
Fragmentation control bits—This field exists in all fragments except the first fragment.
It is used to support character position tracking in each fragment when symbolic
characters (characters made up of 1, 2, or 3 ASCII characters) are transmitted using the
Alphanumeric message type. The default value for the U, V pair is 0, 0. See Enhanced
Fragmentation Rules on page A-15 for more information.
MESSAGE CONTENT
Starting with the second character of the second word in the message (1st character of
the second word in all remaining fragments), each 7-bit field represents Standard
ASCII (ISO 646-1983E) characters with options for certain International characters.
MESSAGE TERMINATION
The ASCII character ETX (03) should be used to fill any unused 7-bit characters in a
word. In the case where symbolic characters are being transmitted, special rules for
fragment and message termination are defined in the following information on
Alphanumeric Message Rules for Symbolic Characters Sets.
A-14
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
FLEX Message Word Definitions
ALPHANUMERIC MESSAGE RULES FOR SYMBOLIC CHARACTERS SETS
In the past, paging protocols have supported symbolic characters (e.g., Chinese,
Kanji, etc.) using a 7-bit ASCII protocol. When the FLEX Alphanumeric mode is used
to carry this same signaling format, special fragmenting rules are required to
maintain character boundaries, so performance is optimized under poor signal
conditions. The following rules allow character positions within a fragment to be
determined when prior fragments are missing.
Freescale Semiconductor, Inc...
ENHANCED FRAGMENTATION RULES
•
The pager must recognize <NUL> characters only at the end of fragments
where they are used as fill characters. The pager must remove these characters
so that the displayed message is not affected. In all other positions the NUL
character must be considered a result of channel errors. (This provides a
method to end each fragment with a complete character and does not disrupt
the pager that is not capable of following all of the EF (Enhanced
Fragmenting) rules.)
•
The last fragment is to be completed by filling unused character positions
with <ETX> characters or <NUL> characters. (Original FLEX alphanumeric
message definition (<ETX>) plus the new <NUL> requirement.) When the
message ends exactly in the last character position in the last BCH codeword,
no additional <ETX> is required.
•
The U and V bits in the message header are available in all fragments
following the initial fragment to aid in decoding. In the first fragment, the
pager must assume the message starts in the default Character mode. For the
second and remaining fragments, the definition of the (U,V) field is as shown
in the following table.
Table A-10 U and V Field Definition
U0
V0
0
0
EF not supported in controller
0
1
Reserved (for a second alternate character mode)
1
0
Default Character Mode—start position 1
1
1
Alternate Character Mode—start position 1
Definition
When the EF field is 00, the pager decodes messages, allowing characters to be split
between fragments. When the U, V field is not 0, 0, each fragment starts on a
character boundary with the character mode defined by the above table.
SECURE MESSAGE
The following tables describe the bit format of the secure messages. The 7-bit
characters of the message are designated as lower case letters a, b, c, d, etc. Secure
messages can be sent as fragments. The service provider has the option of dividing
the message into several pieces and sending the separate pieces at any time within a
given time period.
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
A-15
Freescale Semiconductor, Inc.
MC68181
FLEX Message Word Definitions
Freescale Semiconductor, Inc...
Table A-11 Vector type V = 000 All Fragments
Message
Word
i0 i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12 i13 i14 i15 i16 i17 i18 i19 i20
1st
K0 K1 K2 K3 K4 K5 K6 K7 K8 K9 C0 F0 F1 N0 N1 N2 N3 N4 N5 s0 s1
2nd
a0 a1 a2 a3 a4 a5 a6 b0 b1 b2 b3 b4 b5 b6 c0 c1 c2 c3 c4 c5 c6
3rd
d0 d1 d2 d3 d4 d5 d6 e0 e1 e2 e3 e4 e5 e6 f0
f1
f2
f3
f4
f5
f6
4th
g0 g1 g2 g3 g4 g5 g6 h0 h1 h2 h3 h4 h5 h6 i0
i1
i2
i3
i4
i5
i6
5th
j0
j1
j2
j3
j4
j5
j6
k0 k1 k2 k3 k4 k5 k6 l0
l1
l2
l3
l4
l5
l6
i
i
i
i
i
i
i
i
i
i
i
i
i
i
...
nth
i
i
i
i
i
i
i
Table A-12 Secure Message Bit Definitions
Symbol
Definition
K
10-bit Fragment Check Character—This check character is calculated by initializing
the fragment check character (K) to 0 and summing the information bits of each code
word in the message fragment (including control information and termination
characters and bits in the last message word) to a check sum register. The information
bits of each word are broken into three groups: the first is the 8 bits comprising i0
through i7, the second group comprises bits i8 through i15, and the third group
comprises bits i16 through i20. Bits i0, i8, and i16 are the LSBs of each group. The binary
sum is calculated, the one's complement of the sum is determined, and the ten LSBs of
the result is transmitted as the message check character.
C
1-bit Message Continued Flag—When set, the Message Continued Flag indicates
fragments of this message are to be expected in following frames. The longest message
that fits into a frame is 84 code words total. Three alpha characters per word yields a
maximum message of 252 characters in a frame, assuming no other traffic. Messages
longer than this value must be sent as several fragments.
F
2-bit Message Fragment Number—This is a modulo 3 message fragment number that
is incremented by 1 in successive message fragments. Initial fragments start at 11 and
increment 1 for each successive fragment. The 11 state (after the start fragment) is
skipped in this process to avoid confusion with an initial fragment of a non-continued
message. The final fragment is indicated by Message Continued Flag being cleared.
A-16
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
FLEX Message Word Definitions
Freescale Semiconductor, Inc...
Table A-12 Secure Message Bit Definitions
Symbol
Definition
N
Message Number—When the system supports message retrieval, the system
controller assigns message numbers (for each paging address separately) starting at 0
and progressing up to a maximum of 63 in consecutive order. The actual maximum
roll over number is defined in the pager code plug to accommodate values set in the
system infrastructure. When message numbers are not received in order, the
subscriber should assume a message has been missed. The subscriber or the pager may
determine the missing message number(s) allowing a request to be made for retrieval.
When a normal unnumbered numeric message is received (message retrieval flag is
equal to 0), it is not to be included in the missed message calculation. This number is
also used to identify fragments of the same message. Multiple messages to the same
address must have separate message numbers.
s
Spare Bit—not used and set to 0
MESSAGE CONTENT
Starting with the first character of the second word in the message (and 1st character
of all remaining fragments), each 7-bit field represents Standard ASCII (ISO 6461983E) characters with options for certain International characters.
MESSAGE TERMINATION
The ASCII character ETX (03) should be used to fill any unused 7-bit characters in a
word.
FLEX Encoding and Decoding Rules
The encoding and decoding rules identify the minimum requirements that must be
met by the paging device, paging terminal, or other encoding equipment to properly
format a FLEX data stream for RF transmission and to successfully decode it.
FLEX ENCODING RULES
MOTOROLA
•
The stability of the encoder clock used to establish time positions of FLEX
frames must be no worse than ±25 ppm (including worst case temperature
and aging effects).
•
A maximum of two occurrences of an identical individual or radio group
address is allowed in any frame for unfragmented messages. This rule applies
across all phases in a multi-phase frame. For example, for decoding devices
that support any-phase addressing, an any-phase address may appear at once
in two different phases in a single multi-phase frame.
•
Once an individual or radio group address is used to begin transmitting a
fragmented message, that same address must not be used to start a new
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
A-17
Freescale Semiconductor, Inc.
MC68181
FLEX Message Word Definitions
Freescale Semiconductor, Inc...
fragmented transmission until the first fragmented transmission has been
completed.
•
For the duration of time that an individual or radio group address is being
used to send a fragmented message, that same address must not appear more
than once in any frame to send an unfragmented message.
•
Once a specific dynamic group address (temporary address) is assigned to a
group, it must not be reused until its associated message has been transmitted
in its entirety. Given this constraint, the same dynamic group address can
only appear once in any frame.
•
A dynamic group address cannot be used to set up a second dynamic group.
•
Messages using any of the three defined numeric vectors (V2V1V0 = 011, 100,
and 111) cannot be fragmented, and thus must be completely contained in a
single frame.
•
Fragments of the same message must be sent at a frequency of at least 1 every
32 frames (i.e., at least once a minute) or 1 every 128 frames (i.e., at least once
every 4 minutes) as specified by the service provider.
•
Enhanced message fragmenting for symbolic character transmission requires
that the encoder track character boundaries within each fragment in order to
avoid character splitting.
•
Message numbering as an optional feature is offered by some carriers and
available on an individual subscriber basis.
•
Message numbers must be assigned sequentially in ascending order.
•
Message number sequences must be separately maintained for each
individual and radio group address.
•
Message numbers are not used (retrieval message number disabled) in
conjunction with a dynamic group address.
•
When a missed message is re-transmitted from message retrieval storage, the
message must have R = 0 to avoid creating an out of sequence message that
may cause the pager to indicate a missed message.
FLEX DECODING RULES
A-18
•
FLEX decoding devices may implement either single-phase addressing or
any-phase addressing.
•
FLEX decoding devices that support the numeric vector type (V2V1V0 = 011)
must also support the short message vector (V2V1V0 = 010) with the message
type (t1t0) set to 00.
•
FLEX decoding devices that support the alphanumeric vector type (V2V1V0 =
101) must support the numeric vector type (V2V1V0 = 011) and the short
message vector (V2V1V0 = 010) with the message type (t1t0) set to 00. FLEX
paging devices that implement any-phase and support the alphanumeric
vector type (V2V1V0 = 101) must also support the short instruction vector
(V2V1V0 = 001) with the instruction type (i2i1i0) set to 000.
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
FLEX Message Word Definitions
•
FLEX decoding devices must be capable of decoding frames at all of the
following combinations of data rate and modulation mode. They are:
1600 bps, 2 level; 3200 bps, 2 level; 3200 bps, 4 level; 6400 bps, 4 level.
•
FLEX decoding devices must be designed to tolerate 4 minute fragment
separation times.
FLEX Character Sets and Rules
Freescale Semiconductor, Inc...
ALPHANUMERIC CHARACTER SET
The following tables define the characters to be displayed in the FLEX Alphanumeric
Message mode. Control characters that are not acted upon by the pager are ignored in
the display process (do not require display space), but are stored in memory for
possible download to an external device.
Table A-13 Alphanumeric Character Set
Least Significant 4
bits of character
MOTOROLA
Most Significant 3 bits of character
0
1
2
3
4
5
6
7
0
NUL
DLE
SP
0
@
P
‘
p
1
SOH
DC1
!
1
A
Q
a
q
2
STX
DC2
“
2
B
R
b
r
3
ETX
DC3
#
3
C
S
c
s
4
EOT
DC4
$
4
D
T
d
t
5
ENQ
NAK
%
5
E
U
e
u
6
ACK
SYN
&
6
F
V
f
v
7
BEL
ETB
’
7
G
W
g
w
8
BS
CAN
(
8
H
X
h
x
9
TAB
EM
)
9
I
Y
i
y
A
LF
SUB
*
:
J
Z
j
z
B
VT
ESC
+
;
K
[
k
{
C
FF
FS
,
<
L
\
l
|
D
CR
GS
–
=
M
]
m
}
E
SO
RS
.
>
N
^
n
~
F
SI
US
/
?
O
_
o
DEL
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
A-19
Freescale Semiconductor, Inc.
MC68181
FLEX Message Word Definitions
NUMERIC CHARACTER SET
The following tables define the characters to be displayed in the FLEX Numeric
Message mode.
Freescale Semiconductor, Inc...
Table A-14 Standard Character Set (Peoples Republic of China Option Off)
A-20
Character
B3
B2
B1
B0
0
0
0
0
0
1
0
0
0
1
2
0
0
1
0
3
0
0
1
1
4
0
1
0
0
5
0
1
0
1
6
0
1
1
0
7
0
1
1
1
8
1
0
0
0
9
1
0
0
1
Spare
1
0
1
0
U
1
0
1
1
Space
1
1
0
0
-
1
1
0
1
]
1
1
1
0
[
1
1
1
1
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
FLEX Message Word Definitions
Freescale Semiconductor, Inc...
Table A-15 Alternate Character Set (Peoples Republic of China Option On)
MOTOROLA
Character
B3
B2
B1
B0
0
0
0
0
0
1
0
0
0
1
2
0
0
1
0
3
0
0
1
1
4
0
1
0
0
5
0
1
0
1
6
0
1
1
0
7
0
1
1
1
8
1
0
0
0
9
1
0
0
1
A
1
0
1
0
B
1
0
1
1
Space
1
1
0
0
C
1
1
0
1
D
1
1
1
0
E
1
1
1
1
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
A-21
Freescale Semiconductor, Inc.
MC68181
FLEX Message Word Definitions
FLEX Local Time And Date
Freescale Semiconductor, Inc...
The FLEX protocol allows for systems to transmit time information in its Block
Information Field. When a system provider supports local time transmissions, the
system provider is required, at a minimum, to transmit at least one time related block
information word in each phase transmitted in frame 0, cycle 0. The time transmitted
is the local time for the transmitted time zone and refers to the actual time at the
leading edge of the first bit of Sync 1 of Frame 0 of the current cycle. The information
carried in the s bits of the block information word depend on the value of the f bits of
the block information word. The following sections describe the bit definitions of the
time related block information words.
MONTH/DAY/YEAR
Table A-16 Month/Day/Year Block Information Word Definition
f2f1f0
s13 s12 s11 s10 s9 s8 s7 s6 s5 s4 s3 s2 s1 s0
001
m3 m2 m1 m0 d4 d3 d2 d1 d0 Y4 Y3 Y2 Y1 Y0
Note:
m = Month field—0001 through 1100 (binary) correspond to
January through December, respectively
d = Day field—00001 through 11111 (binary) correspond to 1
through 31, respectively
Y = Year field—This represents the year with modulo arithmetic.
00000 through 11111 (binary) representing 1994 through 2025,
2026 through 2057, etc.
SECOND/MINUTE/HOUR
Table A-17 Second/Minute/Hour Block Information Word Definition
A-22
f2f1f0
s13 s12 s11 s10 s9 s8 s7 s6 s5 s4 s3 s2 s1 s0
010
S5 S4 S3 M5 M4 M3 M2 M1 M0 H4 H3 H2 H1 H0
Note:
S = Second field—This represents a coarse value of the seconds
field. These bits represent the seconds in eighth of a minute (7.5
second) increments. 000 through 111 (binary) correspond to 0
through 52.5 seconds, respectively
M = Minute field—000000 through 111011 (binary) correspond to 0
through 59, respectively
H = Hour field—00000 through 10111 (binary) correspond to 0
through 23, respectively.
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
FLEX Message Word Definitions
ACCURATE SECONDS/DAYLIGHT SAVINGS TIME/TIME ZONE
Table A-18 System Message Block Information Word Definition
f2f1f0
s13 s12 s11 s10 s9 s8 s7 s6 s5 s4 s3 s2 s1 s0
101
Freescale Semiconductor, Inc...
Note:
S2 S1 S0 x
L0 z4 z3 z2 z1 z0 0
1
0
X
Description
System Message1
1.
When the s3 s2 s1 s0 field is set to 0100 or 0101, the other s4 through s13 are defined as
above. The system messages with the s3 s2 s1 s0 field set to some other value do not contain
time related information.
2.
S = Accurate Seconds—This field provides a more accurate seconds reference and can be
used to adjust the seconds to within 1 second. This field represents how much time should
be added to the coarse seconds in sixty-fourth of a minute increments.
L = Daylight Savings Time—When this bit is set, the time being transmitted is local
standard time. When it is clear, the time being transmitted is Daylight Savings Time.
z = Time Zone—These bits indicate the time zone for which the time is being transmitted.
The offset from GMT is the offset for local standard time. The following table describes the
values for z.
Table A-19 Time Zone Values
z4z3z2z1z0
Time Zone
z4z3z2z1z0
Time Zone
z4z3z2z1z0
Time Zone
00000
GMT
01011
GMT + 1100
10110
GMT – 1000
00001
GMT + 0100
01100
GMT + 1200
10111
GMT – 0900
00010
GMT + 0200
01101
GMT + 0330
11000
GMT – 0800
00011
GMT + 0300
01110
GMT + 0430
11001
GMT – 0700
00100
GMT + 0400
01111
GMT + 0530
11010
GMT – 0600
00101
GMT + 0500
10000
RESERVED
11011
GMT – 0500
00110
GMT + 0600
10001
GMT + 0545
11100
GMT – 0400
00111
GMT + 0700
10010
GMT + 0630
11101
GMT – 0300
01000
GMT + 0800
10011
GMT + 0930
11110
GMT – 0200
01001
GMT + 0900
10100
GMT – 0330
11111
GMT – 0100
01010
GMT + 1000
10101
GMT – 1100
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
A-23
Freescale Semiconductor, Inc.
MC68181
FLEX Message Word Definitions
FLEX CAPCODES
In order to send messages to a FLEX decoding device, the FLEX service provider
must know the device’s address, the address type (single-phase, any-phase, or
all-phase), the address’s assigned phase, the address’s assigned frame, and the
address’s battery cycle. This information is typically included in a FLEX CAPCODE.
The assignment of CAPCODEs is regulated to prevent duplication of addresses on a
system. Check with your FLEX service provider or other appropriate regulatory body
for FLEX CAPCODE assignments. The following paragraphs describe what these
parameters define.
Freescale Semiconductor, Inc...
The device address consists of one or two 21-bit words. A one-word address is called
a short address, while a two-word address is called a long address. Address words
are separated into ranges according to the following table
Table A-20 Address Word Range Definition
A-24
Type
Hexadecimal Value
Idle Word (Illegal Address)
000000
Long Address 1
000001–008000
Short Address
008001–1E0000
Long Address 3
1E0001–1E8000
Long Address 4
1E8001–1F0000
Short Address (Reserved)
1F0001–1F27FF
Info Service Address
1F2800–1F67FF
Network Address
1F6800–1F77FF
Temporary Address
1F7800–1F780F
Operator Messaging Address
1F7810–1F781F
Short Address (Reserved)
1F7820–1F7FFE
Long Address 2
1F7FFF–1FFFFE
Idle Word (Illegal Address)
1FFFFF
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
FLEX Message Word Definitions
Long addresses are grouped into the sets listed in Table A-21.
Freescale Semiconductor, Inc...
Table A-21 Long Address Sets
Long Address Set
First Word
Second Word
1–2
Long Address 1
Long Address 2
1–3
Long Address 1
Long Address 3
1–4
Long Address 1
Long Address 4
2–3
Long Address 2
Long Address 3
2–4
Long Address 2
Long Address 4
The address type indicates how messages on a particular address can be delivered in
multi-phase FLEX frames. Messages sent on single-phase addresses can only be
delivered in a particular phase (a, b, c, or d). Messages sent on any-phase addresses
can be delivered in any phase, but a single message is limited to a single phase per
frame. Messages sent on all-phase addresses can be delivered in any phase, and a
single message can be spread across multiple phases in a single frame. All-phase
messaging is a future feature of FLEX and has not been completely defined.
The assigned phase is required only for single-phase devices. It determines the phase
(a, b, c, or d) in which the messages is sent.
The assigned frame and battery cycle determine the frames in which the decoding
device typically looks for messages (other system factors can cause the decoding
device to look in other frames in addition to the typical frames).
The battery cycle is a number between 0 and 7 and defines how often the decoding
device looks for messages on the FLEX channel. For a given battery cycle, b, the
decoding device looks in every 2b frames. Thus, an address with an assigned frame of
3 and a battery cycle of 5 typically looks for messages in frame 3 and every 32 frames
thereafter (i.e., frames 3, 35, 67, and 99).
The FLEX CAPCODE is defined to represent either a short or a long address. The
short address is defined in the FLEX protocol as one code word on the RF channel
and is represented by a 7-digit decimal field. The long address is defined in the FLEX
protocol as two code words on the RF channel and is represented by a 9- or 10-digit
decimal field. The long addresses in set 1–2 are represented by a 9-digit decimal field.
The long addresses in sets 1–3, 1–4, 2–3, and 2–4 are represented by a 10-digit decimal
field. An alphabetic character known as the “CAPCODE type” always precedes the
7-, 9-, or 10-digit decimal address field. The CAPCODE type indicates the type of
address and distinguishes FLEX CAPCODEs from CAPCODEs of other paging
protocols.
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
A-25
Freescale Semiconductor, Inc.
MC68181
FLEX Message Word Definitions
CAPCODE TYPE
Freescale Semiconductor, Inc...
Example CAPCODEs are shown in Table A-22. The CAPCODE type can be any of
“A” through “L” or “U” through “Z”. The CAPCODE types “A” through “L”
indicate that the standard rules are used to derive the assigned frame and phase
information from the address field. (See Standard Frame and Phase Embedding
Rules on page A-27.) For these CAPCODE types, the battery cycle (indicated as a “b”
in Example 1) is indicated by a single decimal digit “0” through “7” preceding the
CAPCODE type. When the FLEX standard battery cycle of 4 (16-frame cycle) is used,
the battery cycle digit is not required (see Example 2 in Table A-22).
The CAPCODE types “U” through “Z” indicate that the standard frame and phase
embedding rules were not used and additional information is required. The phase
assignment can be derived from the CAPCODE type, as described in Table A-23 on
page A-28. The 3-digit decimal frame assignment “000” through “127” (indicated by
“fff” in example 3) and single digit decimal battery cycle “0” through “7” (indicated as
a “b” in Example 3 in Table A-22) may precede this CAPCODE type. The frame and
battery cycle fields are not required. When they are not included (see Example 4 in
Table A-22), the paging device or the subscriber database must be accessed to
determine the assigned frame and battery cycle.
The extended CAPCODE is a regular CAPCODE with a 10-digit address field and
preceded by an extra alphabetic character “P” through “S”. These CAPCODEs are
used to provide additional information required for roaming devices.
Table A-22 FLEX CAPCODE Examples
Example
Short
Long
Extended
1
bA1234567
bA123456789
RbA1234567890
2
A1234567
A123456789
RA1234567890
3
fffbU1234567
fffbU123456789
RfffbU1234567890
4
U1234567
U123456789
RU1234567890
By using the convention of 7 digits to represent short addresses, 9 digits to represent
some of the long addresses in set 1–2, and 10 digits to represent the balance of long
addresses, it is possible to differentiate between the different types of addresses. The
range of the decimal address field consists of the numbers 1 through 5,370,810,366
where short and other single code word addresses fall below 2,031,615 and Long
addresses are above 2,101,248. The goal in displaying a CAPCODE is to use the
shortest form possible. Even though the non-standard form could represent a
standard assignment, the standard form is chosen to indicate that it is a standard
assignment. All CAPCODE forms, except Example 4 in Table A-22, contain the
information required to send a message to a subscriber unit.
A-26
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
FLEX Message Word Definitions
STANDARD FRAME AND PHASE EMBEDDING RULES
Maximum battery life in a FLEX decoding device is achieved when all of the
addresses assigned to a device are in the same frame. For single-phase decoding
devices, it is a requirement for all assigned addresses to be in the same phase.
Freescale Semiconductor, Inc...
Normally, it is very desirable to spread the population of FLEX subscriber units on a
system across all four phases of all 128 frames. Frame and phase spreading can be
performed automatically as addresses are assigned sequentially by embedding that
information into the 7-, 9-, and 10-digit decimal FLEX address.
The standard procedure for deriving the phase and frame values from the CAPCODE
starts by separating the 7-, 9-, or 10-digit decimal address portion (field to the right of
the CAPCODE type) and performing a decimal to binary conversion. The Least
Significant Bit (LSB) is labeled bit “0”. The following bits “2 and 3" in order, specify
phases 00, 01, 10, or 11 for phase 0,1,2,3 (a, b, c, d), and bits “4–10” represent frames
“000” through “127”.
The frame and phase can also be derived from the 7-, 9-, or 10-digit decimal address
by using modulo arithmetic (base 10) where:
Phase = (Integer (Addr/4)) Modulo 4
Frame = (Integer (Addr/16)) Modulo 128
When these rules are used, and addresses are assigned in order, the phase increments
after four consecutive addresses are assigned, while the frame is incremented after
sixteen addresses are assigned.
CAPCODE ALPHA CHARACTER DEFINITION
The alpha character in the FLEX CAPCODE indicates the type of decoding device to
which the address is assigned. The types include single-phase, any-phase, or allphase. It also indicates if the address is the first, second, third, or fourth address in the
subscriber unit (when addresses are assigned in order and follow standard rules),
and specifies the rules for determining in which phase and frame the address is
active.
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
A-27
Freescale Semiconductor, Inc.
MC68181
FLEX Message Word Definitions
Table A-23 Alpha Character Codes
Freescale Semiconductor, Inc...
Standard Rules
No Rules
(Non-Standard Form)
A—Single-phase Subtract 0
U—Single-phase, Phase 0
B—Single-phase Subtract 1
V—Single-phase, Phase 1
C—Single-phase Subtract 2
W—Single-phase, Phase 2
D—Single-phase Subtract 3
X—Single-phase, Phase 3
E—Any-phase, Subtract 0
Y—Any-phase
F—Any-phase Subtract 1
—
G—Any-phase Subtract 2
—
H—Any-phase Subtract 3
—
I—All-phase Subtract 0
Z—All-phase
J—All-phase Subtract 1
—
K—All-phase Subtract 2
—
L—All-phase Subtract 3
—
The following rules apply:
A-28
•
The character “A” represents a single-phase subscriber unit using the
standard rules for embedding phase and frame. The character “B” is similar to
“A”, except 1 is subtracted from the CAPCODE before applying the standard
rule. Likewise, the characters “C” and “D” indicate that 2 or 3 is to be
subtracted before applying the rule. Using these CAPCODE characters
ensures that sequentially numbered CAPCODEs are assigned to a common
phase and frame. These procedures modify the standard rules and are
intended to simplify the order entry process for multiple address subscriber
units. When addresses are assigned in order, the subtraction of 1, 2, or 3
ensures that the calculation for each additional address in a decoding device
is referenced to the first address. Thus, all A, B, C, and D addresses are
assigned to the same frame and phase.
•
Alpha characters “E” through “H” and “I” through “L” represent any-phase
and all-phase subscriber units where the subtract rule is modified to ensure
that all addresses of a multiple address subscriber unit are in the same frame.
•
For the cases where no rule is defined, the letters “U” through “X” indicate
single-phase subscriber units assigned to phases 0 through 3 (phases a
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
FLEX Message Word Definitions
through d) with the frame and battery cycle explicitly displayed. “Y” and “Z”
indicate non-standard addresses for any-phase and all-phase subscriber units.
Freescale Semiconductor, Inc...
•
If the subscriber unit contains only a single individual address and the user is
content with the recommended 30 second battery cycle, then the letter “A”,
“E”, or “I” is added as a prefix to the 7-, 9- or 10-digit address, where:
–
“A” indicates a single-phase device.
–
“E” indicates an any-phase device.
–
“I” indicates an all-phase device.
•
If the unit were to be a two address unit where both addresses are individual
addresses, then “A”, “E”, or “I” would again preface the address field of the
first address. “B”, “F”, or “J” would preface the second address.
The “B”, “F”, or “J” indicates that the address is a second address and it is to
have the properties of the first address. This rule eliminates the need for an
administrative operator or a salesperson to calculate a starting address, which
would allow standard rules to always apply.
•
In other cases, especially where a group address is to be included, it is very
likely that the “U” through “Z” forms of the CAPCODE will be used so that
the frame can be explicitly chosen to provide best battery life, and the
required “same phase” operation can be met in the case of the single-phase
units.
CAPCODE TO BINARY CONVERSION
Short CAPCODE
To convert a short address CAPCODE, the number 32,768 is added to the 7- digit
decimal CAPCODE address (or to any CAPCODE less than 2,031,615). The resultant
number is then converted to a 21-bit binary number, which then becomes the
information bits of the (31,21) BCH code word transmitted over the air.
Long CAPCODE 2,101,249 to 1,075,843,072
Long address set 1–2 is in this range. To convert a long address CAPCODE, the
number 2,068,481 is subtracted from the CAPCODE address. The resultant number is
then divided by 32,768 with the remainder, incremented by 1, being the 1st word of
the long address. This is the same as calculating the ((CAPCODE – 2,068,481) modulo
32768) + 1. This value is converted to a 21-bit binary number, which becomes the
information bits in the (31,21) BCH code word transmitted over the air as the 1st
address word.
The second word of the long address is determined by first calculating the integer
portion of the (CAPCODE – 2,068,481) divided by 32,768. This value is then
subtracted from 2,097,151 (equivalent to the ones complement of the value in binary),
and converted to a 21-bit binary number, which becomes the information bits in the
(31, 21) BCH code word transmitted over the air as the second address word.
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
A-29
Freescale Semiconductor, Inc.
MC68181
FLEX Message Word Definitions
Long CAPCODE 1,075,843,073 to 3,223,326,720
Long address sets 1–3 and 1–4 are in this range. The 1st word of the long address is
calculated following the same rules for the long addresses set 1–2. The second long
address word is determined by subtracting 2,068,481 from the CAPCODE, the
resultant number is divided by 32,768 with the integer portion added to 1,933,312.
This value is converted to a 21-bit binary number, which becomes the (31,21) BCH
code word transmitted over the air as the second address word.
Freescale Semiconductor, Inc...
Long CAPCODE 3,223,326,721 to 4,297,068,542
Long address set 2–3 is in this range. The first word is determined by subtracting
2,068,479 from the CAPCODE. The remainder of dividing by 32,768 is retained (i.e.,
modulo 32,768). This value is then added to 2,064,383 with the result converted to a
21-bit binary number, which becomes the information bits in the (31,21) BCH code
word transmitted over the air as the 1st address word.
The second word is determined by subtracting 2,068,479 from the CAPCODE and
finding the integer portion after dividing by 32,768. This value is then added to
1,867,776 and converted to a 21-bit binary number, which becomes the (31,21) BCH
code word transmitted over the air as the second address word.
BINARY TO CAPCODE CONVERSION
With the address code word values that are transmitted over the air, the CAPCODE
can be calculated by performing the inverse of the above-specified process. As an
example, the short address code word is converted to decimal and the number 32,768
is subtracted to arrive at the 7-digit address portion of the CAPCODE. For the two
word long address set 1–2, the address word 1 is first converted from binary to
decimal. The second address word is then complemented, (or subtracted from
2,097,151 decimal) and converted to a decimal. This value is multiplied by 32,768,
added to 2,068,480, and then added to address word 1. The result is the address
portion of the FLEX CAPCODE.
A-30
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
FLEX Message Word Definitions
CAPCODE ASSIGNMENTS
The Table A-24 defines the address usage assignment. All addresses not listed in this
table are not defined and reserved for future use.
Table A-24 CAPCODE Assignment Table
CAPCODE Address Value
Freescale Semiconductor, Inc...
0,000,000,000
Note:
Description
Illegal
0,000,000,001 to 0,001,933,312
Short Addresses
0,001,933,313 to 0,001,998,848
Illegal
0,001,998,849 to 0,002,009,087
Reserved for Future Use
0,002,009,088 to 0,002,025,471
Information Service Addresses
0,002,025,472 to 0,002,029,567
Network Addresses
0,002,029,568 to 0,002,029,583
Temporary Addresses
0,002,029,584 to 0,002,029,599
Operator Messaging Addresses
0,002,029,600 to 0,002,031,614
Reserved for Future Use
0,002,031,615 to 0,002,101,248
Illegal
0,002,101,249 to 0,102,101,250
Long Address Set 1–2 Uncoordinated
0,102,101,251 to 0,402,101,250
Long Address Set 1–2 by Country1
0,402,101,251 to 1,075,843,072
Long Address Set 1–2 Global2
1,075,843,073 to 2,149,584,896
Long Address Set 1–3 Global2
2,149,584,897 to 3,223,326,720
Long Address Set 1–4 Global2
3,223,326,721 to 3,923,326,750
Long Address Set 2–3 by Country1
3,923,326,751 to 4,280,000,00
Long Address Set 2–3 Reserved
4,280,000,001 to 4,285,000,000
Long Address Set 2–3 Info Service3 Global2
4,285,000,001 to 4,290,000,000
Long Address Set 2–3 Info Service3 by Country1
4,290,000,001 to 4,291,000,000
Long Address Set 2–3 Info Service3 World-Wide Use4
4,291,000,001 to 4,297,068,542
Reserved for Future Use
1.
2.
3.
4.
“by Country”—The addresses are coordinated within each country and with countries along borders.
“Global”—The address is coordinated to be unique world–wide.
“Info Service”—Rules governing the use of these addresses are not currently defined.
“World Wide Use”—One thousand addresses are assigned to each country for world-wide use.
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
A-31
Freescale Semiconductor, Inc.
MC68181
Freescale Semiconductor, Inc...
FLEX Message Word Definitions
A-32
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
APPENDIX B
SPI PACKETS
Freescale Semiconductor, Inc...
All data communicated between the FLEX chip IC and the host MCU is transmitted
on the SPI in 32-bit packets. Each packet consists of an 8-bit ID followed by 24 bits of
information. The FLEX chip IC uses the SPI bus in Full Duplex mode. In other words,
whenever a packet communication occurs, the data in both directions is valid packet
data.
The SPI consists of a READY pin and four SPI pins (SS, SCK, MOSI, and MISO).The
SS is used as a chip select for the FLEX chip IC. The SCK is a clock supplied by the
host MCU. The data from the host is transmitted on the MOSI line. The data from the
FLEX chip IC is transmitted on the MISO line.
PACKET COMMUNICATION INITIATED BY THE HOST
When the host sends a packet to the FLEX chip IC, it performs the following steps
(see Figure B-1):
1. Select the FLEX chip IC by driving the SS pin low.
2. Wait for the FLEX chip IC to drive the READY pin low.
3. Send the 32-bit packet.
4. De-select the FLEX chip IC by driving the SS pin high.
5. Repeat steps 1 through 4 for each additional packet.
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
B-1
Freescale Semiconductor, Inc.
MC68181
Packet Communication Initiated by the FLEX chip IC
SS
READY
Freescale Semiconductor, Inc...
SCK
2
4
1
3
MOSI
D31
D1 D0
D31
D1 D0
D31
D1 D0
MISO
D31
D1 D0
D31
D1 D0
D31
D1 D0
High Impedance State
AA1230
Figure B-1 Typical Multiple Packet Communications Initiated by the Host
When the host sends a packet, it will also receive a valid packet from the FLEX chip
IC. If the FLEX chip IC is enabled (See Checksum Packet on page B-6.) and has no
other packets waiting to be sent, the FLEX chip IC will send a status packet. The host
must transition the SS pin from high to low to begin each 32-bit packet. The FLEX
chip IC must see a negative transition on the SS pin in order for the host to initiate
each packet communication.
PACKET COMMUNICATION INITIATED BY THE FLEX CHIP IC
When the FLEX chip IC has a packet for the host to read, the following occurs (see
Figure B-2):
1. The FLEX chip IC drives the READY pin low.
2. If the FLEX chip IC is not already selected, the host selects the FLEX chip IC
by driving the SS pin low.
3. The host receives (and sends) a 32-bit packet.
4. The host de-selects the FLEX chip IC by driving the SS pin high (optional).
B-2
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
Packet Communication Initiated by the FLEX chip IC
SS
READY
2
1
SCK
Freescale Semiconductor, Inc...
4
3
MOSI
D31
D1 D0
D31
D1 D0
D31
D1 D0
MISO
D31
D1 D0
D31
D1 D0
D31
D1 D0
High Impedance State
AA1230
Figure B-2 Typical Multiple Packet Communications Initiated by the FLEX chip IC
When the host is reading a packet from the FLEX chip IC, it must send a valid packet
to the FLEX chip IC. If the host has no data to send, it is suggested that the host send
a Checksum Packet with all of the data bits set to 0 in order to avoid disabling the
FLEX chip IC. (See Checksum Packet on page B-6.)
Figure B-3 on page B-3 illustrates that it is not necessary to de-select the FLEX chip
IC between packets when the packets are initiated by the FLEX chip IC.
SS
READY
SCK
MOSI
D31
D1 D0
D31
D1 D0
D31
D1 D0
MISO
D31
D1 D0
D31
D1 D0
D31
D1 D0
High Impedance State
AA1231
Figure B-3 Multiple Packet Communications Initiated by the FLEX chip IC with No De-select
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
B-3
Freescale Semiconductor, Inc.
MC68181
Host-to-Decoder Packet Map
HOST-TO-DECODER PACKET MAP
The upper 8 bits of a packet comprise the packet ID. The following table describes the
packet ID’s for all of the packets that can be sent to the FLEX chip IC from the host.
Table B-1 Host-to-Decoder Packet ID Map
Freescale Semiconductor, Inc...
Packet ID
(Hexadecimal)
00
Checksum
01
Configuration
02
Control
03
All Frame Mode
04
Operator Message Address Enables
05
Roaming Control Packet
06
Timing Control Packet
07–E
Reserved (Host should never send)
0F
Receiver Line Control
10
Receiver Control Configuration (Off Setting)
11
Receiver Control Configuration (Warm Up 1 Setting)
12
Receiver Control Configuration (Warm Up 2 Setting)
13
Receiver Control Configuration (Warm Up 3 Setting)
14
Receiver Control Configuration (Warm Up 4 Setting)
15
Receiver Control Configuration (Warm Up 5 Setting)
16
Receiver Control Configuration (3200sps Sync Setting)
17
Receiver Control Configuration (1600sps Sync Setting)
18
Receiver Control Configuration (3200sps Data Setting)
19
Receiver Control Configuration (1600sps Data Setting)
1A
Receiver Control Configuration (Shut Down 1 Setting)
1B
Receiver Control Configuration (Shut Down 2 Setting)
1C–F
B-4
Packet Type
Special (Ignored by FLEX chip IC)
20
Frame Assignment (Frames 112 through 127)
21
Frame Assignment (Frames 96 through 111)
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
Host-to-Decoder Packet Map
Table B-1 Host-to-Decoder Packet ID Map (Continued)
Freescale Semiconductor, Inc...
Packet ID
(Hexadecimal)
Packet Type
22
Frame Assignment (Frames 80 through 95)
23
Frame Assignment (Frames 64 through 79)
24
Frame Assignment (Frames 48 through 63)
25
Frame Assignment (Frames 32 through 47)
26
Frame Assignment (Frames 16 through 31)
27
Frame Assignment (Frames 0 through 15)
28–7
78
79–F
Reserved (Host should never send)
User Address Enable
Reserved (Host should never send)
80
User Address Assignment (User address 0)
81
User Address Assignment (User address 1)
82
User Address Assignment (User address 2)
83
User Address Assignment (User address 3)
84
User Address Assignment (User address 4)
85
User Address Assignment (User address 5)
86
User Address Assignment (User address 6)
87
User Address Assignment (User address 7)
88
User Address Assignment (User address 8)
89
User Address Assignment (User address 9)
8A
User Address Assignment (User address 10)
8B
User Address Assignment (User address 11)
8C
User Address Assignment (User address 12)
8D
User Address Assignment (User address 13)
8E
User Address Assignment (User address 14)
8F
User Address Assignment (User address 15)
90–F
MOTOROLA
Reserved (Host should never send)
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
B-5
Freescale Semiconductor, Inc.
MC68181
Decoder-to-Host Packet Map
DECODER-TO-HOST PACKET MAP
The following table describes the packet ID’s for all of the packets that can be sent to
the host from the FLEX chip IC.
Table B-2 Decoder-to-Host Packet ID Map
Freescale Semiconductor, Inc...
Packet ID
(Hexadecimal)
Packet Type
00
Block Information Word
01
Address
02–57
Vector or Message (ID is word number in frame)
58–5F
Reserved
60
61–7D
Roaming Status Packet
Reserved
7E
Receiver Shutdown
7F
Status
80–FE
FF
Reserved
Part ID
HOST-TO-DECODER PACKET DESCRIPTIONS
The following sections describe the packets of information sent from the host to the
FLEX chip IC. In all cases the packets should be sent MSB first (Bit 7 of byte 3 = Bit 31
of the packet = MSB).
Checksum Packet
The Checksum Packet is used to ensure proper communication between the host and
the FLEX chip IC. The FLEX chip IC exclusive-ORs the 24 data bits of every packet it
receives (except the Checksum Packet and the special packet ID’s $1C through $1F)
with an internal checksum register. Upon reset and whenever the host writes a packet
to the FLEX chip IC, the FLEX chip IC is disabled from sending any information to
the host processor until the host processor sends a Checksum Packet with the proper
Checksum Value (CV) to the FLEX chip IC. When the FLEX chip IC is disabled in this
way, it prompts the host to read the Part ID Packet. Note that all other operation
B-6
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
Host-to-Decoder Packet Descriptions
continues normally when the FLEX chip IC is “disabled”. The FLEX chip IC is only
disabled in the sense that the data can not be read from the FLEX chip IC, all other
operations continue to function. Disabled only implies that data cannot be read, all
Freescale Semiconductor, Inc...
other internal operations continue to function.
When the FLEX chip IC is reset, it is disabled and the internal checksum register is
initialized to the 24-bit part ID defined in the Part ID Packet. (See Part ID Packet on
page B-43.) Every time a packet other than the Checksum Packet and the special
packets 1C through 1F is sent to the decoder IC, the value sent in the 24 information
bits is exclusive-ORed with the internal checksum register, the result is stored back to
the checksum register, and the FLEX chip IC is disabled. If a Checksum Packet is sent
and the CV bits match the bits in the checksum register, the FLEX chip IC is enabled.
If a Checksum Packet is sent when the FLEX chip IC is already enabled, the packet is
ignored by the FLEX chip IC, in which case a null packet having the ID and data bits
set to 0 is suggested. If a packet other than the Checksum Packet is sent when the
FLEX chip IC is enabled, the decoder IC will be disabled until a Checksum Packet is
sent with the correct CV bits.
When the host reads a packet out of the FLEX chip IC but has no data to send, the
Checksum Packet should be sent so the FLEX chip IC will not be disabled. The data in
the Checksum Packet could be a null packet, 32-bit stream of all 0s, since a Checksum
Packet will not disable the FLEX chip IC. When the host re-configures the FLEX chip
IC, the FLEX chip IC will be disabled from sending any packets other than the Part ID
Packet until the FLEX chip IC is enabled with a Checksum Packet having the proper
data. The ID of the Checksum Packet is 0.
Table B-3 Checksum Packet Bit Assignments
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
3
0
0
0
0
0
0
0
0
2
CV23
CV22
CV21
CV20
CV19
CV18
CV17
CV16
1
CV15
CV14
CV13
CV12
CV11
CV10
CV9
CV8
0
CV7
CV6
CV5
CV4
CV3
CV2
CV1
CV0
Note:
CV = Checksum Value
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
B-7
Freescale Semiconductor, Inc.
MC68181
Host-to-Decoder Packet Descriptions
RESET
Disables Itself
Initializes Checksum
Register to
Part ID Value
Freescale Semiconductor, Inc...
Initiates
Part ID Packet
Waits for SPI
Packet from Host
Y
Y
Checksum Packet?
Enabled?
N
Disables Itself
N
Packet Data
Matches Checksum
Register Data?
N
Sets Checksum
Register to the
XOR of the Packet
Data Bits with
the Checksum
Register Bits
Y
Enables Itself
AA1232
Figure B-4 FLEX chip IC Checksum Flow Chart
Configuration Packet
The Configuration Packet defines a number of different configuration options for the
FLEX chip IC. Proper operation is not guaranteed if these settings are changed when
B-8
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
Host-to-Decoder Packet Descriptions
decoding is enabled (i.e., the ON bit in the Control Packet is set). The ID of the
Configuration Packet is 1.
Freescale Semiconductor, Inc...
Table B-4 Configuration Packet Bit Assignments
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
3
0
0
0
0
0
0
0
1
2
0
0
0
0
0
0
OFD1
OFD0
1
0
0
0
0
0
0
SP1
SP0
0
SME
MOT
COD
MTE
LBP
0
0
0
OSCILLATOR FREQUENCY DIFFERENCE (OFD)
These bits describe the maximum difference in the frequency of the 76.8 kHz
oscillator crystal with respect to the frequency of the transmitter. These limits should
be the worst case difference in frequency due to all conditions, including but not
limited to aging, temperature, and manufacturing tolerance. Using a smaller
frequency difference in this packet will result in lower power consumption due to
higher receiver battery save ratios. Note that this value is not the absolute error of the
oscillator frequency provided to the FLEX chip IC. The absolute error of the clock
used by the FLEX transmitter must be taken into account. (If the transmitter tolerance
is ±25 ppm and the 76.8 kHz oscillator tolerance is ±140 ppm, the oscillator frequency
difference is ±165 ppm and OFD should be set to 0.) The value after reset = 0.
Table B-5 on page B-9 summarizes the bit definitions.
Table B-5 OFD Bits Description
OFD1
OFD0
Frequency
Difference
0
0
±300 ppm
0
1
±150 ppm
1
0
±75 ppm
1
1
±0 ppm
SIGNAL POLARITY (SP)
These bits set the polarity of EXTS1 and EXTS0 input signals. The value after reset = 0.
The polarity of the EXTS0 and EXTS1 bits will be determined by the receiver design.
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
B-9
Freescale Semiconductor, Inc.
MC68181
Host-to-Decoder Packet Descriptions
Freescale Semiconductor, Inc...
Table B-6 SP Bit Definition
Signal Polarity
EXTS1 EXTS0
FSK Modulation
@ SP = 0,0
EXTS1
EXTS0
Normal
+4800 Hz
1
0
Normal
Inverted
+1600 Hz
1
1
0
Inverted
Normal
–1600 Hz
0
1
1
Inverted
Inverted
–4800 Hz
0
0
SP1
SP0
0
0
Normal
0
1
1
1
SYNCHRONOUS MODE ENABLE (SME)
When this bit is set, a Status Packet will be automatically sent whenever the SMU
(Synchronous Mode Update) bit in the Status Packet is set. The host can use the SM
(Synchronous Mode) bit in the Status Packet as an in-range/out-of-range indication.
The value after reset = 0.
MAXIMUM OFF TIME (MOT)
This bit has no effect if AST in the Timing Control Packet is non-zero. When AST = 0
and MOT = 0, asynchronous A-word searches will time-out in 4 minutes. When
AST = 0 and MOT = 1, asynchronous A-word searches will time-out in 1 minute.
(value after reset = 0)
CLOCK OUTPUT DISABLE (COD)
When this bit is clear, a 38.4 kHz signal will be output on the CLKOUT pin. When this
bit is set, the CLKOUT pin will be driven low. Note that setting and clearing this bit
can cause pulses on the CLKOUT pin that are less than one half the 38.4 kHz period.
Also note that when the clock output is enabled, the CLKOUT pin will always output
the 38.4 kHz signal even when the FLEX chip IC is in reset (as long as the FLEX chip
IC oscillator is seeing clocks). The value after reset = 0.
MINUTE TIMER ENABLE (MTE)
When this bit is set, a Status Packet will be sent at one minute intervals with the MT
(Minute Time-out) bit in the Status Packet set. When this bit is clear, the internal oneminute timer stops counting. The internal one-minute timer is reset when this bit is
changed from 0 to 1 or when the MTC (Minute Timer Clear) bit in the Control Packet
is set. The value after reset = 0.
LOW BATTERY POLARITY (LBP)
This bit defines the polarity of the FLEX chip ICs LOBAT pin. The LB bit in the Status
Packet is initialized to the inverse value of this bit when the FLEX chip IC is turned on
(by setting the ON bit in the Control Packet). When the FLEX chip IC is turned on, a
low battery update is sent to the host in the Status Packet when a low battery
condition is detected on the LOBAT pin. Setting this bit means that a high on the
LOBAT pin indicates a low voltage condition. The value after reset = 0.
B-10
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
Host-to-Decoder Packet Descriptions
Control Packet
The Control Packet defines a number of different control bits for the FLEX chip IC.
The ID of the Control Packet is 2.
Freescale Semiconductor, Inc...
Table B-7 Control Packet Bit Assignments
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
3
0
0
0
0
0
0
1
0
2
FF7
FF6
FF5
FF4
FF3
FF2
FF1
FF0
1
0
SPM
PS1
PS0
0
0
0
0
0
0
SBI
0
MTC
0
0
EAE
ON
FORCE FRAME (FF) 0–7
These bits enable and disable forcing the FLEX chip IC to look in frames 0 through 7.
When an FF bit is set, the FLEX chip IC will decode the corresponding frame. Unlike
the AF bits in the Frame Assignment Packets, the system collapse of a FLEX system
will not affect frames assigned using the FF bits. (Where as setting AF0 to 1 when the
system collapse is 5 will cause the decoder to decode frames 0, 32, 64, and 96, setting
FF0 to 1 when the system collapse is 5 will only cause the decoder to decode frame 0.)
This may be useful for acquiring transmitted time information or channel attributes
(e.g. Local ID). The value after reset = 0.
SINGLE PHASE MODE (SPM)
When this bit is set, the FLEX chip IC will decode only one phase of the transmitted
data. When this bit is clear, the FLEX chip IC will decode all of the phases it receives.
A change to this bit while the FLEX chip IC is on, will not take affect until the next
block 0 of the next decoded frame. The value after reset = 0.
PHASE SELECT (PS)
When the SPM bit is set, these bits define what phase the FLEX chip IC should decode
according to the following table. This value is determined by the service provider. A
change to these bits while the FLEX chip IC is on, will not take affect until the next
block 0 of a frame. The value after reset = 0.
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
B-11
Freescale Semiconductor, Inc.
MC68181
Host-to-Decoder Packet Descriptions
Table B-8 Phase Select Bit Definition
Phase Decoded
(based on FLEX Data Rate)
Freescale Semiconductor, Inc...
PS Value
PS1
PS0
1600 bps
3200 bps
6400 bps
0
0
a
a
a
0
1
a
a
b
1
0
a
c
c
1
1
a
c
d
SEND BLOCK INFORMATION (SBI) WORDS 2–4
When this bit is set, any errored or time-related block information words 2–4 will be
sent to the host. The value after reset = 0.
MINUTE TIMER CLEAR (MTC)
Setting this bit will cause the one minute timer to restart from 0.
END OF ADDRESSES ENABLE (EAE)
When this bit is set, the EA bit in the Status Packet will be set immediately after FLEX
chip decodes the last address word in the frame if there was any address detected in
the frame. When this bit is cleared, the EA bit will never be set.
TURN ON DECODER (ON)
Set if the FLEX chip IC should be decoding FLEX signals. Clear if signal processing
should be off (very low power mode). If the ON bit is changed twice and the control
packets making the changes are received within 2 ms of each other, FLEX chip may
ignore the double change and stay in its original state (e.g. if it is turned off then on
again within 2 ms it may stay on and ignore the off pulse). Therefore it is
recommended that the host insures a minimum of 2 ms between changes in the ON
bit. The value after reset = 0.
Note: In order to properly turn off the decoder, the following steps must occur:
1. Turn off the FLEX chip by sending a Control Packet with the ON bit cleared.
2. Turn on the FLEX chip by sending a Control Packet with the ON bit set.
3. Turn off the FLEX chip by sending a Control Packet with the ON bit cleared.
Timing between these steps is specified below and is measured from the positive
edge of the last clock of one packet to the positive edge of the last clock of the next
packet:
B-12
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
Freescale Semiconductor, Inc...
Host-to-Decoder Packet Descriptions
•
The minimum time between steps 1 and 2 is 2 ms or the programmed shut
down time, whichever is greater. The programmed shut down time is the sum
of all the of the times programmed in the used Receiver Shut Down Settings
Packets.
•
There is no maximum time between steps 1 and 2.
•
The minimum time between steps 2 and 3 is 2 ms.
•
The maximum time between steps 2 and 3 is the programmed warm up time
minus 2 ms. The programmed warm up time is the sum of all the of the times
programmed in the used Receiver Warm Up Settings Packets.
All Frame Mode Packet
The All Frame Mode Packet is used to decrement temporary address enable counters
by one, decrement the all frame mode counter by one, and/or enable or disable
forcing All Frame mode. If All Frame mode is enabled, the FLEX chip IC will attempt
to decode every frame and send a Status Packet with the EOF (End-Of-Frame) bit set
at the end of every frame. All Frame mode is enabled if any temporary address enable
counter is non-zero, or, the All Frame mode counter is non-zero, or, the force All
Frame Mode bit is set. Both the All Frame mode counter and the temporary address
enable counters can only be incremented internally by the FLEX chip IC and can only
be decremented by the host. The FLEX chip IC will increment a temporary address
enable counter whenever a short instruction vector is received assigning the
corresponding temporary address. The FLEX chip IC will increment the All Frame
mode counter whenever an alphanumeric, HEX / binary, or secure vector is received.
When the host determines that a message associated with a temporary address, or a
fragmented message has ended, then the appropriate temporary address counter or
All Frame mode counter should be decremented by writing an All Frame Mode
Packet to the FLEX chip IC in order to exit the All Frame mode, thereby improving
battery life. Neither the temporary address enable counters nor the All Frame mode
counter can be incremented past the value 127 or decremented past the value 0 (i.e., it
will not roll over). The temporary address enable counters and the All Frame mode
counter are initialized to 0 at reset and when the decoder is turned off. The ID of the
All Frame Mode Packet is 3.
Table B-9 All Frame Mode Packet Bit Assignments
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
3
0
0
0
0
0
0
1
1
2
DAF
FAF
0
0
0
0
0
0
1
DTA15
DTA14
DTA13
DTA12
DTA11
DTA10
DTA9
DTA8
0
DTA7
DTA6
DTA5
DTA4
DTA3
DTA2
DTA1
DTA0
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
B-13
Freescale Semiconductor, Inc.
MC68181
Host-to-Decoder Packet Descriptions
DECREMENT ALL FRAME (DAF) COUNTER
Setting this bit decrements the All Frame mode counter by one. If a packet is sent with
this bit clear, the All Frame mode counter is not affected. The value after reset = 0.
FORCE ALL FRAME (FAF) MODE
Setting this bit forces the FLEX chip IC to enter All Frame mode. If this bit is clear, the
FLEX chip IC may or may not be in All Frame mode depending on the status of the
All Frame mode counter and the temporary address enable counters. This may be
useful in acquiring transmitted time information. The value after reset = 0.
Freescale Semiconductor, Inc...
DECREMENT TEMPORARY ADDRESS (DTA) ENABLE COUNTER
When a bit in this word is set, the corresponding temporary address enable counter is
decremented by 1. When a bit is cleared, the corresponding temporary address
enable counter is not affected. When a temporary address enable counter reaches 0,
the temporary address is disabled.The value after reset = 0.
Operator Messaging Address Enable Packet
The operator messaging address enable packet is used to enable and disable the builtin FLEX operator messaging addresses. Enabling and disabling operator messaging
addresses does not affect what frames the decoder IC decodes. To decode the proper
frames, the host must modify the FF bits in the Control Packet or the AF bits in the
Frame Assignment Packets. The ID of the operator messaging address enable packet
is 4.
Table 2-10 System Address Enable Packet Bit Assignments
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
3
0
0
0
0
0
1
0
0
2
0
0
0
0
0
0
0
0
1
OAE15
OAE14
OAE13
OAE12
OAE11
OAE10
OAE9
OAE8
0
OAE7
OAE6
OAE5
OAE4
OAE3
OAE2
OAE1
OAE0
OPERATOR MESSAGING ADDRESS ENABLE (OAE)
When a bit is set, the corresponding operator messaging address is enabled. When it
is cleared, the corresponding operator messaging address is disabled. OAE0 through
OAE15 corresponds to the operator messaging address values of $1F7810 through
$1F781F respectively. The value after reset = 0.
B-14
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
Host-to-Decoder Packet Descriptions
Roaming Control Packet
The Roaming Control Packet controls the features of the Roaming FLEX chip IC that
allow implementation of a roaming device. The ID of the roaming control packet is 5.
Freescale Semiconductor, Inc...
Table 1: Roaming Control Packet Bit Assignments
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
3
0
0
0
0
0
1
0
1
2
IRS
NBC
MCM
IS1
SDF
RSP
SND
CND
1
RND
ABI
SAS
DAS
0
0
0
0
0
0
0
MFC1
MFC0
0
0
MCO1
MCO0
IGNORE RE-SYNCHRONIZATION SIGNAL (IRS)
When this bit is set, the FLEX chip will not go asynchronous when detecting an Ar or
Ar signal during searches for A-words. It will merely report that the resynchronization signal was received by setting RSR to 1 in the Roaming Status
packet. This allows the host to decide what to do when the paging device is
synchronous to more than one channel and only one channel is sending the resynchronization signal. It also prevents the FLEX chip from losing synchronization
when it detects the re-synchronization signal while the paging device is checking an
unknown channel. This bit is set and cleared by the host. The value after reset = 0.
NETWORK BIT CHECK (NBC)
Setting this bit will enable reporting of the received network bit value (NBU and n) in
the Roaming Status Packet. Setting this bit also makes the FLEX chip abandon a frame
after the Frame Info word without synchronizing to the frame if the frame
information word is uncorrectable or if the n bit in the frame information word is not
set. If the FLEX chip IC was in synchronous mode when this occurred (probably due
to synchronizing to a second channel), it will maintain synchronization to the original
channel. If the FLEX chip IC was in asynchronous mode when this occurred, it will
stay in asynchronous mode and end the A-word search. This is done to avoid
synchronizing to a non-roaming channel when searching for roaming channels. This
bit is set and cleared by the host. The value after reset = 0.
MANUAL COLLAPSE MODE (MCM)
When this bit is set, the FLEX chip behaves as if the system collapse was 7. FLEX chip
will not apply the received system collapse to the AF bits. When this bit is set, the
received system collapse is reported to the host via SCU and RSC in the Roaming
Status Packet. This is so the host can modify the AF bits based on the system collapse
of the channel. This bit is set and cleared by the host. (value after reset = 0)
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
B-15
Freescale Semiconductor, Inc.
MC68181
Host-to-Decoder Packet Descriptions
INVERT EXTS1 (IS1)
Setting this bit inverts the expected polarity of the EXTS1 pin from the way it is
configured by SP1 in the Configuration Packet (e.g. if both IS1 and SP1 are set, the
polarity of the EXTS1 pin is untouched). This bit is intended to be changed when a
change in a channel changes the polarity of the received signal. This bit is set and
cleared by the host. The value after reset = 0.
Freescale Semiconductor, Inc...
STOP DECODING FRAME (SDF)
Setting this bit causes the FLEX chip to stop decoding a frame without losing frame
synchronization. This bit is set by the host, and cleared by FLEX chip once it has been
processed. The packet with the SDF bit be sent must be sent after receiving the status
packet with EA bit set. It must be sent within 40 ms of the end of block in which FLEX
chip set the EA bit. The value after reset = 0.
RECEIVER SHUTDOWN PACKET ENABLE (RSP)
When this bit is set, a Receiver Shutdown Packet will be sent whenever the receiver is
shut down. The receiver shutdown packet informs the host that the receiver
shutdown, and how long it will be before FLEX chip will automatically warm the
receiver back up. The value after reset = 0.
START NOISE DETECT (SND)
Setting this bit while the FLEX chip is battery saving will cause it to warm-up the
receiver, run a noise detect, and report the result of the noise detect via NDR in the
Roaming Status Packet. This bit is set by the host, and cleared by FLEX chip once it
has been processed. If the time comes for FLEX chip to warm up for automatically or
the SAS bit is set while an SND is being processed, the noise detect will be abandoned
and the abandoned noise detect result (NDR = 01) will be sent in the Roaming Status
Packet. The value after reset = 0.
CONTINUOUS NOISE DETECT (CND)
Setting this bit will cause FLEX chip to do continuous noise detects during the
decoded block data of a frame. The results of the noise detect will only be reported if
noise is detected (NDR = 11). Only one noise detected result (NDR = 11) will be sent
per block. If the FLEX chip has not completed a noise detect when it shuts down for
the frame, that noise detect will be abandoned, but no abandon result (NDR = 01) will
be sent. This bit is set and cleared by the host. (value after reset = 0)
REPORT NOISE DETECTS (RND)
Setting this bit will cause FLEX chip to report the results of the noise detects it does
under normal asynchronous operation (when first turned on and when
asynchronous). The results of the noise detect will be reported via NDR in the
Roaming Status Packet. This bit is set and cleared by the host. The value after
reset = 0.
B-16
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
Host-to-Decoder Packet Descriptions
ALL BLOCK INFORMATION WORDS (ABI)
When this bit is set, FLEX chip will send all received Block Information words 2–4 to
the host. Note: Setting the SBI bit in the Control Packet only enables errored and real
time clock related block info words. The value after reset = 0.
Freescale Semiconductor, Inc...
START A-WORD SEARCH (SAS)
Setting this bit while in asynchronous battery save mode will cause FLEX chip to
warm-up the receiver, and run an A-word search. If, during the A-word search, the
FLEX chip IC finds sufficient FLEX signal, it will enter synchronous mode and start
decoding the frame. If the A-word search times-out without finding sufficient FLEX
signal, it will battery save and continue doing periodic noise detects. The time-out for
the A-word searches is controlled by the AST bits in the Timing Control Packet and
the MOT bit in the Configuration Packet. The A-word search takes priority over noise
detects. Therefore, if FLEX chip is performing an A-word search and the time comes
to do automatic noise detect, the noise detect will not be performed. This bit is set by
the host, and cleared by FLEX chip once it has been acted on. The value after reset = 0.
DISABLE A-WORD SEARCH (DAS)
When this bit is set, an A-word search will not automatically occur after a noise detect
in asynchronous mode finds FLEX signal. This includes automatic noise detects and
noise detects initiated by the host by setting SND. FLEX chip will shut down the
receiver after the noise detect completes regardless of the result. When this bit is
cleared, A-word searches will occur after a noise detect finds signal in asynchronous
mode. The value after reset = 0.
MFC:MISSED FRAME CONTROL (MFC)
These bits control the frames for which missing frame data (MS1, MFI, MS2, MBI, and
MAW) is reported in the Roaming Status Packet. The value after reset = 0.
Table 2-11 Missed Frame Control Bit Definitions
MFC1
MFC0
0
0
Never
0
1
Only during frames 0 through 3
1
0
Only during frames 0 through 7
1
1
Always
Missing Frame Data Reported
MAXIMUM CARRY ON (MCO)
The value of these bits sets the maximum carry on that FLEX chip will follow. For
example, if FLEX chip receives a carry on of 3 over the air and MCO is set to 1, FLEX
chip will only carry on for one frame. The value after reset = 0.
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
B-17
Freescale Semiconductor, Inc.
MC68181
Host-to-Decoder Packet Descriptions
Timing Control Packet
The timing control packet gives the host control of the timing used when FLEX chip is
in asynchronous mode. The packet ID for the timing control packet is 6.
Freescale Semiconductor, Inc...
Table 2-12 Timing Control Packet Bit Assignments
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
3
0
0
0
0
0
1
1
0
2
0
0
0
0
0
0
0
0
1
AST7
AST6
AST5
AST4
AST3
AST2
AST1
AST0
0
ABT7
ABT6
ABT5
ABT4
ABT3
ABT2
ABT1
ABT0
A-WORD SEARCH TIME (AST)
The value of these bits sets the A-word search time for all asynchronous A-word
searches in units of 80 ms (e.g. value of 1 is 80 ms, value of 2 is 160 ms, etc.) If the
value is 0, FLEX chip defaults to the 1-minute (MOT = 1) or 4-minute (MOT = 0)
A-word search time controlled by the MOT bit in the configuration packet. The value
after reset = 0.
ASYNCHRONOUS BATTERY-SAVE TIME (ABT)
The value of these bits sets the battery save time (time from the beginning of one
automatic noise detect to the beginning of the next automatic noise detect) in
asynchronous mode in units of 80 ms (e.g. value of 1 is 80 ms, value of 2 is 160 ms,
etc.) If the value is 0, the battery save time is set to the default value of 1.5 seconds.
The minimum allowed ABT is 320 ms, therefore values of 1, 2, 3, and 4 are invalid.
The value after reset = 0.
Receiver Line Control Packet
This packet gives the host control over the settings on the receiver control lines
(S0–S7) in all modes except reset. In reset, the receiver control lines are in high
impedance settings. The ID for the Receiver Line Control Packet is 15 (decimal).
Table B-13 Receiver Line Control Packet Bit Assignments
B-18
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
3
0
0
0
0
1
1
1
1
2
0
0
0
0
0
0
0
0
1
FRS7
FRS6
FRS5
FRS4
FRS3
FRS2
FRS1
FRS0
0
CLS7
CLS6
CLS5
CLS4
CLS3
CLS2
CLS1
CLS0
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
Host-to-Decoder Packet Descriptions
FORCE RECEIVER SETTING (FRS)
Setting a bit to one will cause the corresponding CLS bit in this packet to override the
internal receiver control settings on the corresponding receiver control line (S0–S7).
Clearing a bit gives control of the corresponding receiver control lines (S0–S7) back to
the FLEX chip IC. The value after reset = 0.
CONTROL LINE SETTING (CLS)
Freescale Semiconductor, Inc...
If the corresponding FRS bit was set in this packet, these bits define what setting
should be applied to the corresponding receiver control lines. The value after
reset = 0.
Receiver Control Configuration Packets
These packets allow the host to configure:
•
what setting is applied to the receiver control lines S0–S7,
•
how long to apply the setting, and,
•
when to read the value of the LOBAT input pin.
For a more detailed description of how the FLEX chip IC uses these settings see
Receiver Control Configuration Packets on page B-19.
The FLEX chip IC defines twelve different receiver control settings. Proper operation
is not guaranteed if these settings are changed when decoding is enabled (i.e., the ON
bit in the Control Packet is set). The IDs for these packets range from 16 to 27
(decimal).
Table B-14 Receiver Off Setting Packet Bit Assignments
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
3
0
0
0
1
0
0
0
0
2
0
0
0
0
LBC
0
0
0
1
CLS7
CLS6
CLS5
CLS4
CLS3
CLS2
CLS1
CLS0
0
ST7
ST6
ST5
ST4
ST3
ST2
ST1
ST0
LOW BATTERY CHECK (LBC)
If this bit is set, the FLEX chip IC will check the status of the LOBAT port just before
leaving this receiver state. The value after reset = 0.
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
B-19
Freescale Semiconductor, Inc.
MC68181
Host-to-Decoder Packet Descriptions
CONTROL LINE SETTING (CLS)
This is the value to be output on the receiver control lines (S0–S7) for this receiver
state. The value after reset = 0.
STEP TIME (ST)
Freescale Semiconductor, Inc...
This is the time the FLEX chip IC is to keep the receiver off before applying the first
warm up state’s receiver control value to the receiver control lines. The setting is in
steps of 625 µs. Valid values are 625 µs (ST = $01) to 159.375 ms (ST = $FF). The value
after reset = 625 µs.
Receiver Warm Up Setting Packets
Table B-15 Receiver Warm Up Setting Packet Bit Assignments
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
3
0
0
0
1
0
s2
s1
s0
2
SE
0
0
0
LBC
0
0
0
1
CLS7
CLS6
CLS5
CLS4
CLS3
CLS2
CLS1
CLS0
0
0
ST6
ST5
ST4
ST3
ST2
ST1
ST0
SETTING NUMBER (s)
These bit define the receiver control setting for which this packet’s values are to be
applied. The following truth table shows the names of each of the values for s that
apply to this packet.
Table B-16 Setting Number Bit Combinations
B-20
s2
s1
s0
Setting Name
0
0
1
Warm Up 1
0
1
0
Warm Up 2
0
1
1
Warm Up 3
1
0
0
Warm Up 4
1
0
1
Warm Up 5
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
Host-to-Decoder Packet Descriptions
STEP ENABLE (SE)
The receiver setting is enabled when the bit is set. If a step in the warm up sequence is
disabled, the disabled step and all remaining steps will be skipped. The value after
reset = 0.
LOW BATTERY CHECK (LBC)
If this bit is set, the FLEX chip IC will check the status of the LOBAT port just before
leaving this receiver state. The value after reset = 0.
Freescale Semiconductor, Inc...
CONTROL LINE SETTING (CLS)
This is the value to be output on the receiver control lines (S0–S7) for this receiver
state. The value after reset = 0.
STEP TIME (ST)
This is the time the FLEX chip IC is to wait before applying the next state’s receiver
control value to the receiver control lines. The setting is in steps of 625 µs. Valid
values are 625 µs (ST = $01) to 79.375 ms (ST = $7F). The value after reset = 625 µs.
3200 sps Sync Setting Packets
Table B-17 3200 sps Sync Setting Packet Bit Assignments
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
3
0
0
0
1
0
1
1
0
2
0
0
0
0
LBC
0
0
0
1
CLS7
CLS6
CLS5
CLS4
CLS3
CLS2
CLS1
CLS0
0
0
ST6
ST5
ST4
ST3
ST2
ST1
ST0
LOW BATTERY CHECK (LBC)
If this bit is set, the FLEX chip IC will check the status of the LOBAT port just before
leaving this receiver state. The value after reset = 0.
CONTROL LINE SETTING (CLS)
This is the value to be output on the receiver control lines (S0–S7) for this receiver
state. The value after reset = 0.
STEP TIME (ST)
This is the time the FLEX chip IC is to wait before expecting good signals on the
EXTS1 and EXTS0 signals after warming up. The setting is in steps of 625 µs. Valid
values are 625 µs (ST = $01) to 79.375 ms (ST = $7F). The value after reset = 625 µs.
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
B-21
Freescale Semiconductor, Inc.
MC68181
Host-to-Decoder Packet Descriptions
Receiver On Setting Packets
Freescale Semiconductor, Inc...
Table B-18 Receiver On Setting Packet Bit Assignments
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
3
0
0
0
1
s3
s2
s1
s0
2
0
0
0
0
LBC
0
0
0
1
CLS7
CLS6
CLS5
CLS4
CLS3
CLS2
CLS1
CLS0
0
0
0
0
0
0
0
0
0
SETTING NUMBER (s)
These bits define the receiver control setting for which this packet’s values are to be
applied. The following truth table shows the names of each of the values for “s” that
apply to this packet.
Table B-19 Setting Number Bit Definitions
s3
s2
s1
s0
Setting Name
0
1
1
1
1600 sps Sync
1
0
0
0
3200 sps Data
1
0
0
1
1600 sps Data
LOW BATTERY CHECK (LBC)
If this bit is set, the FLEX chip IC will check the status of the LOBAT port just before
leaving this receiver state. The value after reset = 0.
CONTROL LINE SETTING (CLS)
This is the value to be output on the receiver control lines (S0–S7) for this receiver
state. The value after reset = 0.
B-22
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
Host-to-Decoder Packet Descriptions
Receiver Shut Down Setting Packets
Freescale Semiconductor, Inc...
Table B-20 Receiver Shut Down Setting Packet Bit Assignments
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
3
0
0
0
1
1
0
1
s
2
SE
0
0
0
LBC
0
0
0
1
CLS7
CLS6
CLS5
CLS4
CLS3
CLS2
CLS1
CLS0
0
0
0
ST5
ST4
ST3
ST2
ST1
ST0
SETTING NUMBER (s)
These bits define the receiver control setting for which this packet’s values are to be
applied. The following truth table shows the names of each of the values for “s” that
apply to this packet.
Table B-21 Setting Number Bit Definitions
s
Setting Name
0
Shut Down 1
1
Shut Down 2
STEP ENABLE (SE)
The receiver setting is enabled when the bit is set. If a step in the shut down sequence
is disabled, all steps following the disabled step will be ignored. The value after
reset = 0.
LOW BATTERY CHECK (LBC)
If this bit is set, the FLEX chip IC will check the status of the LOBAT port just before
leaving this receiver state. The value after reset = 0.
CONTROL LINE SETTING (CLS)
This is the value to be output on the receiver control lines (S0–S7) for this receiver
state. The value after reset = 0.
STEP TIME (ST)
This is the time the FLEX chip IC is to wait before applying the next state’s receiver
control value to the receiver control lines. The setting is in steps of 625 µs. Valid
values are 625 µs (ST = $01) to 39.375 ms (ST = $3F). The value after reset = 625 µs.
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
B-23
Freescale Semiconductor, Inc.
MC68181
Host-to-Decoder Packet Descriptions
Frame Assignment Packets
Freescale Semiconductor, Inc...
The FLEX protocol defines that each address of a FLEX pager is assigned a home
frame and a battery cycle (see FLEX CAPCODES on page A-24). This information
is determined by the service provider. The FLEX chip IC must be configured so that a
frame that is assigned by one or more of the addresses’ home frames and battery
cycles has its corresponding configuration bit set. For example, if the FLEX chip IC
has one enabled address and it is assigned to frame 3 with a battery cycle of 4, the AF
bits for frames 3, 19, 35, 51, 67, 83, 99, and 115 should be set and the AF bits for all
other frames should be cleared.
When the FLEX chip IC is configured for manual collapse mode by setting the MCM
bit in the Roaming Control Packet, the FLEX chip IC will not apply the received
system collapse to the AF bits. The host should set the AF bits for all frames that
should be decoded on all channels. For example, if frames 0 and 64 should be
decoded on one channel and frames 4, 36, 68, and 100 should be decoded on another
channel, all six of the corresponding AF bits should be set. The host can then change
the receiver’s carrier frequency after the FLEX chip IC decodes frames 0, 36, 64, and
100.
There are 8 Frame Assignment Packets. The Packet IDs for these packets range from
32 to 39 (decimal)
Table B-22 Frame Assignment Packet Bit Assignments
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
3
0
0
1
0
0
f2
f1
f0
2
0
0
0
0
0
0
0
0
1
AF15
AF14
AF13
AF12
AF11
AF10
AF9
AF8
0
AF7
AF6
AF5
AF4
AF3
AF2
AF1
AF0
FRAME RANGE (f)
This value determines which sixteen frames correspond to the sixteen AF bits in the
packet according to the following table. At least one of these bits must be set when
the FLEX chip IC is turned on by setting the ON bit in the control packet. The value
after reset = 0.
B-24
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
Host-to-Decoder Packet Descriptions
Freescale Semiconductor, Inc...
Table B-23 Frame Range Bit Definition
f2
f1
f0
AF15
AF0
0
0
0
Frame 127
Frame 112
0
0
1
Frame 111
Frame 96
0
1
0
Frame 95
Frame 80
0
1
1
Frame 79
Frame 64
1
0
0
Frame 63
Frame 48
1
0
1
Frame 47
Frame 32
1
1
0
Frame 31
Frame 16
1
1
1
Frame 15
Frame 0
ASSIGNED FRAME (AF)
If a bit is set, the FLEX chip IC will consider the corresponding frame to be assigned
via an address’s home frame and pager collapse. The value after reset = 0.
User Address Enable Packet
The User Address Enable Packet is used to enable and disable the 16 user address
words. Although the host is allowed to change the user address words while the
FLEX chip IC is decoding FLEX signals, the host must disable a user address word
before changing it. The ID of the User Address Enable Packet is 120 (decimal).
Table B-24 User Address Enable Packet Bit Assignments
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
3
0
1
1
1
1
0
0
0
2
0
0
0
0
0
0
0
0
1
UAE15
UAE14
UAE13
UAE12
UAE11
UAE10
UAE9
UAE8
0
UAE7
UAE6
UAE5
UAE4
UAE3
UAE2
UAE1
UAE0
When a User Address Enable (UAE) bit is set, the corresponding user address word is
enabled. When it is cleared, the corresponding user address word is disabled. UAE0
corresponds to the user address word configured using a packet ID of 128, and
UAE15 corresponds to the user address word configured using a packet ID of 143.
The value after reset = 0.
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
B-25
Freescale Semiconductor, Inc.
MC68181
Host-to-Decoder Packet Descriptions
Freescale Semiconductor, Inc...
User Address Assignment Packets
The FLEX chip IC has sixteen user address words. Each word can be programmed to
be a short address, part of a long address, or the first part of a network ID. The
addresses are configured using the Address Assignment Packets. Each user address
can be configured as long or short and tone-only or regular. Network ID’s are short
and regular. Although the host is allowed to send these packets while the FLEX chip
IC is on, the host must disable the user address word by clearing the corresponding
UAE bit in the User Address Enable Packet before changing any of the bits in the
corresponding User Address Assignment Packet. This method allows for easy
reprogramming of user addresses without disrupting normal operation. The IDs for
these packets range from 128 to 143 (decimal).
Table B-25 User Address Assignment Packet Bit Assignments
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
3
1
0
0
0
a3
a2
a1
a0
2
0
LA
TOA
A20
A19
A18
A17
A16
1
A15
A14
A13
A12
A11
A10
A9
A8
0
A7
A6
A5
A4
A3
A2
A1
A0
USER ADDRESS WORD NUMBER (a0–a3)
This specifies which address word is being configured. Having all 0s in this field
corresponds to Address Index zero (AI = 0) in the Address Packet received from the
FLEX chip IC when an address is detected. (See Address Packet on page B-29.)
LONG ADDRESS (LA)
When this bit is set, the address is considered a long address. Both words of a long
address must have this bit set. The first word of a long address must have an even
user address word number and the second word must be in the address index
immediately following the first word. Long addresses of the 2–3 and 2–4 set (See
FLEX CAPCODES on page A-21) must be programmed to higher user address word
numbers than long addresses of the 1–2, 1–3, and 1–4 set.
TONE-ONLY ADDRESS (TOA)
When this bit is set, the FLEX chip IC will consider this address a tone-only address
and will not decode a vector word when the address is received. If the TOA bit of a
long address word is set, the TOA bit of the other word of the long address must also
be set.
ADDRESS WORD (A0–A20)
This is the 21 bit value of the address word. Valid FLEX messaging addresses or
Network ID’s may be used.
B-26
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
Decoder-to-Host Packet Descriptions
DECODER-TO-HOST PACKET DESCRIPTIONS
If the FLEX chip IC is enabled and a receiver shutdown packet is pending, the
receiver shutdown packet will be sent. If there is no receiver shutdown packet
pending, but there is a roaming status packet pending, the roaming status packet will
be sent. If neither the receiver shutdown packet nor the roaming status packet is
pending and there is data in the transmit buffer, a packet from the transmit buffer
will be sent. Otherwise, the FLEX chip IC will send the Status Packet (which is not
buffered). In the event of a buffer overflow, the FLEX chip IC will automatically stop
decoding and clear the buffer.
It is recommended that the Host be designed to empty the FIFO buffer every block
with enough time left over to read a status packet. This would ensure that any
applicable Status Packet would be received within 1 block of the new status being
available.
32
Part ID Register
Receive Shutdown Register
Roaming Status Register
32 × 32 Data Packet
FIFO Transmit
Buffer
32
32
32
MUX
Freescale Semiconductor, Inc...
The following sections describe the packets of information that will be sent from the
FLEX chip IC to the host. In all cases the packets are sent MSB first (Bit 7 of byte 3 =
Bit 31 of the packet = MSB). The FLEX chip IC decides what data should be sent to the
host. If the FLEX chip IC is disabled through the checksum feature (see Checksum
Packet on page B-6), the Part ID Packet will be sent. Data Packets relating to data
received over the air are buffered in the 32 packet transmit buffer. The Data Packets
include Block Information Word Packets, Address Packets, Vector Packets, and
Message Packets.
32
SPI Transmit Register
Status Register
MISO
32
AA1233
Figure B-5 FLEX chip IC SPI Transmit Functional Block Diagram
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
B-27
Freescale Semiconductor, Inc.
MC68181
Decoder-to-Host Packet Descriptions
Block Information Word Packet
The Block Information Field is the first field following the synchronization codes of
the FLEX protocol (see Appendix A). This field contains information about the frame,
such as number of addresses and messages, information about current time, the
channel ID, channel attributes, etc. The first block information word of each phase is
used internally to the FLEX chip IC and is never transmitted to the host with the
Freescale Semiconductor, Inc...
exception of the system collapse which is sent to the host when FLEX chip is in
manual collapse mode.
Time block information words 2–4 can be optionally sent to the host by setting the SBI
bit in the control packet. (see Control Packet on page B-11.) All block information
words 2–4 can be optionally sent to the host by setting the ABI bit in the roaming
control packet. When the SBI or ABI bit is set and any block information word is
received with an uncorrectable number of bit errors, the FLEX chip will send the
block information word to the host with the e bit set regardless of the value of the “f”
field in the block information word. The FLEX chip IC does not support decoding of
the vector and message words associated with the Data/System Message block info
word (f = 101). The ID of a Block Information Word Packet is 0 (decimal).
Table B-26 Block Information Word Packet Bit Assignments
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
3
0
0
0
0
0
0
0
0
2
e
p1
p0
x
x
f2
f1
f0
1
x
x
s13
s12
s11
s10
s9
s8
0
s7
s6
s5
s4
s3
s2
s1
s0
Note:
B-28
e—set if more than 2 bit errors are detected in the word or if the check character calculation fails after
error correction has been performed
p—phase on which the block information word was found (0 = a, 1 = b, 2 = c, 3 = d)
x—unused bits; the value of these bits is not guaranteed
f—Word Format Type; the value of these bits modify the meaning of the s bits in this packet as
described in the following table; if the e bit is not set, this field will be one of 001, 010, or 101
s—These are the information bits of the block information word. The definition of these bits depend
on the f bits in this packet. Table B-27 on page B-29 describes the block information words that the
FLEX chip IC decodes. Refer to Appendix A for detailed information about the time-related block
information words (f = 001, 010, and 101).
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
Decoder-to-Host Packet Descriptions
.
Table B-27 Block Information Word Definitions
Freescale Semiconductor, Inc...
f2f1f0
s13 s12 s11 s10 s9 s8 s7 s6 s5 s4 s3 s2 s1 s0
i7
i6
i5
i4
i3
i2
i1
i0
C4 C3 C2 C1 C0
Description
000
i8
Local ID, Coverage Zone
001
m3 m2 m1 m0 d4 d3 d2 d1 d0 Y4 Y3 Y2 Y1 Y0
Month, Day, Year
010
S2 S1 S0 M5 M4 M3 M2 M1 M0 H4 H3 H2 H1 H0
Second, Minute, Hour
011
Reserved by FLEX protocol for future use
100
Reserved by FLEX protocol for future use
101
z9 z8 z7 z6 z5 z4 z3 z2 z1 z0 A3 A2 A1 A0
110
111
System Message
Reserved by FLEX protocol for future use
c9 c8 c7 c6 c5 c4 c3 c2 c1 c0 T3 T2 T1 T0
Country Code, Traffic
Management Flags
Address Packet
The Address Field follows the Block Information Field in the FLEX protocol. See
Appendix A for additional information. It contains all of the addresses in the frame. If
less than three bit errors are detected in a received address word and it matches an
enabled address assigned to the FLEX chip IC, an Address Packet will be sent to the
host processor. The Address Packet contains assorted data about the address and its
associated vector and message. The ID of an Address Packet is 1 (decimal).
Table B-28 Address Packet Bit Assignments
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
3
0
0
0
0
0
0
0
1
2
PA
p1
p0
LA
x
x
x
x
1
AI7
AI6
AI5
AI4
AI3
AI2
AI1
AI0
0
TOA
WN6
WN5
WN4
WN3
WN2
WN1
WN0
PRIORITY ADDRESS (PA)
This bit is set if the address was received as a priority address.
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
B-29
Freescale Semiconductor, Inc.
MC68181
Decoder-to-Host Packet Descriptions
PHASE (p)
These bits identify the phase on which the address was detected
(0 = a, 1 = b, 2 = c, 3 = d).
LONG ADDRESS TYPE (LA)
This bit is set if the address was programmed in the FLEX chip IC as a long address.
Freescale Semiconductor, Inc...
ADDRESS INDEX (AI)
Valid values are 0 through 15 and 128 through 159. The index identifies which of the
addresses was detected. Values 0 through 15 correspond to the sixteen
programmable address words. Values 128 through 143 correspond to the sixteen
temporary addresses. Values 144 through 159 correspond to the 16 operator
messaging addresses. For long addresses, the address detect packet will only be sent
once and the index will refer to the second word of the address.
TONE ONLY ADDRESS (TOA)
This bit is set if the address was programmed in the FLEX chip IC as a tone-only
address. This bit will never be set for temporary or operator messaging addresses. No
vector word will be sent for tone-only addresses.
WORD NUMBER (WN) OF VECTOR (2–87)
These bits describe the location in the frame of the vector word for the detected
address. This value is invalid for this packet if the TOA bit is set.
UNUSED BITS (X)
The value of these bits is not guaranteed.
Vector Packet
The Vector Field follows the Address Field (see Appendix A). Each Vector Packet
must be matched to its corresponding Address Packet. The ID of the vector packet is
the word number where the vector word was received in the frame. This value
corresponds to the WN bits sent in the associated address packet. The phase
information in both the Address Packet and the Vector Packet must also match. It is
important to note for long addresses, the first message word will be transmitted in
the word location immediately following the associated vector (See Message
Building on page C-5). The word number (identified by b6–b0) in the Vector Packet
will indicate the message start of the second message word if the message is longer
than 1 word.
There are several types of vectors:
•
B-30
Short Message/Tone Only Vector
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
Decoder-to-Host Packet Descriptions
•
Three types of Numeric Vectors
•
Hex/Binary Vector
•
Alphanumeric Vector
•
Secure Message Vector
•
Short Instruction Vector
Freescale Semiconductor, Inc...
Each is described in the following pages. A detailed description of the FLEX software
protocol requirements is provided in Appendix A.
Four of the vectors (Hex/Binary, Alphanumeric, Secure Message, and Short
Instruction) enable the FLEX chip IC to begin the All Frame mode. This mode is
required to allow for the decoding of temporary addresses and/or fragmented
messages. The host disables the All Frame mode after the proper time by writing to
the decoder via the All Frame Mode Packet (see Building a Fragmented Message
on page C-8). For any Address Packet sent to the host (except tone-only addresses), a
corresponding Vector Packet will always be sent. If more than two bit errors are
detected (via BCH calculations, parity calculations, check character calculations, or
value validation) in the vector word the e bit will be set and the message words will
not be sent.
The Numeric, Hex/Binary, Alphanumeric, and Secure Message Vector Packets have
associated Message Word Packets in the message field. The host must use the n and b
bits of the vector word to calculate what message word locations are associated with
the vector. Both the message word locations and the phase must match.
One of the modes of the Short Instruction Vector is used for assigning temporary
addresses that may be associated with a group call.
SHORT MESSAGE / TONE ONLY VECTOR
Table B-29 Short Message / Tone Only Vector Packet Bit Assignments
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
3
0
WN6
WN5
WN4
WN3
WN2
WN1
WN0
2
e
p1
p0
x
x
V2
V1
V0
1
x
x
d11
d10
d9
d8
d7
d6
0
d5
d4
d3
d2
d1
d0
t1
t0
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
B-31
Freescale Semiconductor, Inc.
MC68181
Decoder-to-Host Packet Descriptions
Table B-29 Short Message / Tone Only Vector Packet Bit Assignments (Continued)
Byte
Freescale Semiconductor, Inc...
Note:
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
1.
V: = 010 for a Short Message/Tone Only Vector
WN—Word number of vector (2–87 decimal); describes the location of the vector word in the
frame
e—Set if more than 2 bit errors are detected in the word or, if after error correction, the check
character calculation fails
p—Phase on which the vector was found (0 = a, 1 = b, 2 = c, 3 = d)
d—Data bits whose definition depend on the value of t in this packet according to the following
table
2.
If this vector is received on a long address and the e bit in this packet is not set, the decoder will
send a Message Packet from the word location immediately following the Vector Packet. Except
for the short message on a non-network address (t = 0), all message bits in the Message Packet are
unused and should be ignored
.
Table B-30 Short Message / Tone Only Vector Definitions
t1t0
d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0
00
c3 c2 c1 c0 b3 b2 b1 b0 a3 a2 a1 a0
First 3 numeric chars1
01
s8 s7 s6 s5 s4 s3 s2 s1 s0 S2 S1 S0
8 sources (S) and 9 unused bits (s)
10
s1 s0 R0 N5 N4 N3 N2 N1 N0 S2 S1 S0
8 sources (S), message number (N),
message retrieval flag (R)2, and 2
unused bits (s)
11
Description
spare message type
Note:
1.
2.
3.
For long addresses, an extra 5 characters are sent in the Message Packet immediately following
the Vector Packet.
For a description of the R and N bits see the description of the same bits for numeric messages
in Appendix A.
t = Message type—These bits define the meaning of the “d” bits in this packet.
x = Unused bits—The value of these bits is not guaranteed.
NUMERIC VECTOR PACKET
Table B-31 Numeric Vector Packet Bit Assignments
B-32
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
3
0
WN6
WN5
WN4
WN3
WN2
WN1
WN0
2
e
p1
p0
x
x
V2
V1
V0
1
x
x
K3
K2
K1
K0
n2
n1
0
n0
b6
b5
b4
b3
b2
b1
b0
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
Decoder-to-Host Packet Descriptions
Vector Type Identifier (V)
Table B-32 Numeric Vector Definitions
Freescale Semiconductor, Inc...
V2V1V0
Name
Description
011
Standard Numeric Format
No special formatting of characters is
specified.
100
Special Format Numeric Vector
Formatting of the received characters is
predetermined by special rules in the
host. See FLEX Message Word
Definitions on page A-7.
111
Numbered Numeric Vector
The received information has been
numbered by the service provider to
indicate all messages have been properly
received.
Additional Bit Descriptors
Table B-33 Additional Bit Descriptor Definitions for Numeric Vector Packets
Designator
WN
Definition
This is the Word Number of vector (2–87 decimal) that describes the location of
the vector word in the frame.
e
This bit is set if more than 2 bit errors are detected in the word, if the check
character calculation fails after error correction has been performed, or if the
vector value is determined to be invalid.
p
These bits define the phase on which the vector was found
(0 = a, 1 = b, 2 = c, 3 = d).
K
These are the beginning check bits of the message.
n
These bits define the number of words in the message including the second
vector word for long addresses (000 = 1 word message, 001 = 2 word message,
etc.). For long addresses, the first message word is located in the word location
that immediately follows the associated vector.
b
These bits define the word number of the message start in the message field (3–87
decimal). For long addresses, the word number indicates the location of the
second message word.
x
These are unused bits. The value of these bits is not guaranteed.
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
B-33
Freescale Semiconductor, Inc.
MC68181
Decoder-to-Host Packet Descriptions
HEX / BINARY, ALPHANUMERIC, AND SECURE MESSAGE VECTOR
Freescale Semiconductor, Inc...
Table B-34 HEX / Binary, Alphanumeric, and Secure Message Vector Packet Bit Assignments
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
3
0
WN6
WN5
WN4
WN3
WN2
WN1
WN0
2
e
p1
p0
x
x
V2
V1
V0
1
x
x
n6
n5
n4
n3
n2
n1
0
n0
b6
b5
b4
b3
b2
b1
b0
Vector Type Identifier (V)
Table B-35 Vector Type Identifier Definition
V2V1V0
Type
000
Secure
101
Alphanumeric
110
Hex / Binary
Additional Bit Descriptors
Table B-36 Additional Bit Descriptor Definitions for Numeric Vector Packets
Designator
Definition
WN
This is the Word Number of vector (2–87 decimal) and it describes the location of
the vector word in the frame.
e
This bit is set if more than 2 bit errors are detected in the word, if the check
character calculation fails after error correction has been performed, or if the vector
value is determined to be invalid.
p
These bits define the phase on which the vector was found (0 = a, 1 = b, 2 = c, 3 = d)
n
These bits define the number of message words in this frame including the first
Message word that immediately follows a long address vector. Valid values are 1–
85 decimal.
b
Word number of message starts in the message field. Valid values are 3–87
decimal.
Note:
x
B-34
For long addresses, the first Message Packet is sent from the word location
immediately following the word location of the Vector Packet. The b bits indicate
the second message word in the message field if one exists.
These are unused bits. The value of these bits is not guaranteed.
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
Decoder-to-Host Packet Descriptions
SHORT INSTRUCTION VECTOR
Freescale Semiconductor, Inc...
Table B-37 Short Instruction Vector Packet Bit Assignments
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
3
0
WN6
WN5
WN4
WN3
WN2
WN1
WN0
2
e
p1
p0
x
x
V2
V1
V0
1
x
x
d10
d9
d8
d7
d6
d5
0
d4
d3
d2
d1
d0
i2
i1
i0
Table B-38 Short Instruction Vector Packet Bit Descriptions
Designator
V
Description
V = 001 for a Short Instruction Vector
WN
This indicates the Word Number of the vector (2–87 decimal) and describes the
location of the vector word in the frame.
e
This bit is set if more than 2 bit errors are detected in the word or, if after error
correction, the check character calculation fails.
p
These bits define the phase on which the vector was found.
(0 = a, 1 = b, 2 = c, 3 = d)
d
These are data bits whose definition depend on the “i” bits in this packet
according to Table B-39. Note that if this vector is received on a long address and
the “e” bit in this packet is not set, the decoder will send a Message Packet
immediately following the Vector Packet. All message bits in the message packet
are unused and should be ignored.
Table B-39 Short Instruction Vector Definition
i2i1i0
000
d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0
a3 a2 a1 a0 f6
f5
f4
f3
f2
f1
f0
Description
Temporary address assignment1
001
Reserved
010
Reserved
011
Reserved
100
Reserved
101
Reserved
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
B-35
Freescale Semiconductor, Inc.
MC68181
Decoder-to-Host Packet Descriptions
Table B-39 Short Instruction Vector Definition
i2i1i0
d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0
110
Reserved
111
Reserved for test
Note:
Freescale Semiconductor, Inc...
Description
1.
Assigned temporary address (a) and assigned frame (f). See Appendix C for additional
information.
2.
i = Instruction type—These bits define the meaning of the d bits in this packet.
x = Unused bits—The value of these bits is not guaranteed.
Message Packet
The Message Field follows the Vector Field in the FLEX protocol. It contains the
message data, checksum information, and may contain fragment numbers and
message numbers. See Appendix A for additional information. If the error bit of a
vector word is not set and the vector word indicates that there are message words
associated with the page, the message words are sent in Message Packets. The ID of
the Message Packet is the word number where the message word was received in the
frame.
Table B-40 Message Packet Bit Assignments
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
3
0
WN6
WN5
WN4
WN3
WN2
WN1
WN0
2
e
p1
p0
i20
i19
i18
i17
i16
1
i15
i14
i13
i12
i11
i10
i9
i8
0
i7
i6
i5
i4
i3
i2
i1
i0
Note:
B-36
WN = Word number of message word (3–87 decimal)—Describes the location of the message word in
the frame
e is set if more than 2 bit errors are detected in the word.
p = Phase on which the message word was found (0 = a, 1 = b, 2 = c, 3 = d)
i = information bits of the message word—The definitions of these bits depend on the vector type and
which word of the message is being received. See Appendix A for a detailed description of these
bits.
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
Decoder-to-Host Packet Descriptions
Roaming Status Packet
The FLEX chip IC will prompt the host to read a Roaming Status Packet if RSR, MS1,
MFI, MS2, MBI, MAW, NDR1, NDR0, NBU, or SCU is set.
Freescale Semiconductor, Inc...
Table 1: Roaming Status Packet Bit Assignments
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
3
0
1
1
0
0
0
0
0
2
RSR
MS1
MFI
MS2
MBI
MAW
NBU
n
1
x
x
x
x
x
x
NDR1
NDR0
0
x
x
x
x
SCU
RSC2
RSC1
RSC0
RE-SYNCHRONIZATION SIGNAL RECEIVED (RSR)
This bit is set when the FLEX chip detected a re-synchronization signal and the host
configured FLEX chip to ignore it via the IRS bit in the roaming control packet. This
bit is cleared when read.
MISSED SYNCHRONIZATION 1 (MS1)
This bit is set when the FLEX chip failed to detect the first synchronization pattern
(A / A) of a FLEX frame and FLEX chip was configured to report missed frame
information via the MFC bit in the roaming control packet. This bit is cleared when
read.
MISSED FRAME INFORMATION WORD (MFI)
This bit is set when the frame information word is received with an uncorrectable
number of errors and FLEX chip was configured to report missed frame information
via the MFC bit in the roaming control packet. This bit is cleared when read.
MISSED SYNCHRONIZATION 2 (MS2)
This bit is set when the FLEX chip failed to detect the second synchronization pattern
(C / C) of a frame and FLEX chip was configured to report missed frame information
via the MFC bit in the roaming control packet. This bit is cleared when read.
MISSED BLOCK INFORMATION WORD (MBI)
This bit is set when at least one of the block information word ones is received with
an uncorrectable number of errors and FLEX chip was configured to report missed
frame information via the MFC bit in the roaming control packet. This bit is set no
more than once per frame regardless of the number of phases in the frame. This bit is
cleared when read.
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
B-37
Freescale Semiconductor, Inc.
MC68181
Decoder-to-Host Packet Descriptions
MISSED ADDRESS WORD (MAW)
This bit is set when any address words in the address field is received with an
uncorrectable number of errors and FLEX chip was configured to report missed
frame information via the MFC bit in the roaming control packet. This bit is set no
more than once per frame regardless of the number of address words in the frame.
This bit is cleared when read.
Freescale Semiconductor, Inc...
NETWORK BIT UPDATE (NBU)
This bit is set when the NBC bit in the roaming control packet is set and a frame
information word is received with a correctable number of errors. This bit will not be
set when the frame information word is not received due to missing the first
synchronization pattern (A / A). This bit is cleared when read.
NETWORK BIT VALUE (n)
When NBU is set, this is the value of the n bit in the last received frame information
word.
NOISE DETECT RESULT (NDR)
These bits indicate the result of a noise detect. The results of noise detects initiated by
setting the SND bit in the roaming control packet will always be reported. The results
of the automatic noise detects performed in asynchronous mode will only be
reported if the RND bit is set in the roaming control packet. When continuous noise
detects during block data are enabled by setting the CND bit in the roaming control
packet, only the “No FLEX signal detected” result will be reported. These bits are
cleared when read.
Table 2-41 Noise Detect Result Bit Settings
NDR
Noise Detect Result
00
No Information
01
Noise Detect was abandoned
10
FLEX signal detected
11
FLEX signal not detected
SYSTEM COLLAPSE UPDATE (SCU)
This bit is set when the FLEX chip IC is configured for manual collapse mode by
setting the MCM bit in the roaming control packet and the system collapse of a frame
is received. This bit is set no more than once per frame regardless of the number of
phases in the frame. This bit will not be set in frames in which no block information
word ones is received properly. This bit is cleared when read.
B-38
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
Decoder-to-Host Packet Descriptions
RECEIVED SYSTEM COLLAPSE (RSC)
When SCU is set, this value represents the system collapse value that was received in
the frame.
Receiver Shutdown Packet
Freescale Semiconductor, Inc...
The Shutdown Packet is sent in both synchronous and asynchronous mode. It is
designed to indicate to the host that the receiver is turned off and how much time
there is until the FLEX chip will automatically turn it back on.
Table 2-42 Receiver Shut Down Packet Bit Assignments
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
3
0
1
1
1
1
1
1
0
2
FNV
CF6
CF5
CF4
CF3
CF2
CF1
CF0
1
TNF7
TNF6
TNF5
TNF4
TNF3
TNF2
TNF1
TNF0
0
FCO
NAF6
NAF5
NAF4
NAF3
NAF2
NAF1
NAF0
FRAME NUMBER VALID (FNV)
This bit is set if the last frame info word was correctable and the frame number was
the expected value. When in asynchronous mode, this value will be 0.
CURRENT FRAME (CF)
When in synchronous mode, this is the current frame number. This value is latched
on the negative edge of the READY line when this packet is sent to the host. The
value of this field is valid only if the FLEX chip IC is in synchronous mode and the
FIV bit in the status packet is set. When in asynchronous mode, this value will be 0.
TIME TO NEXT FRAME (TNF)
When in synchronous mode TNF indicates the time to the start of the A-word check if
the FLEX chip IC were to warm up for the next frame. When in asynchronous mode
TNF indicates the time to the start of the next automatic noise detect. See Using the
Receiver Shutdown Packet on page C-12 for an explanation on how to use this
value. This value is latched on the negative edge of the READY line when this packet
is sent to the host.
FRAME CARRIED ON FCO)
This bit is set if the FLEX chip IC is decoding the next frame due to the reception of a
non-zero carry-on value in a previous frame. When in asynchronous mode, this value
will be 0.
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
B-39
Freescale Semiconductor, Inc.
MC68181
Decoder-to-Host Packet Descriptions
NEXT ASSIGNED FRAME (NAF)
This is the frame number of next frame the FLEX chip IC was scheduled to decode
when the receiver shut down. The value of this field is valid only if the FLEX chip IC
is in synchronous mode and the FIV bit in the status packet is set. When in
asynchronous mode this value will be 0.
Status Packet
Freescale Semiconductor, Inc...
The Status Packet contains various types of information that the host may require.
The Status Packet will be sent to the host whenever the FLEX chip IC is polled and
has no other data to send. The FLEX chip IC can also prompt the host to read the
Status Packet due to events for which the FLEX chip IC was configured to send it
(see Configuration Packet on page B-8 and Control Packet on page B-11 for a
detailed description of the bits). The FLEX chip IC prompts the host to read a Status
Packet if one of the following is true:
•
The MT bit in the Status Packet and the MTE bit in the Configuration Packet
are set.
•
The EOF bit in the Status Packet is set.
•
The LBU bit in the Status Packet is set.
•
The EA bit in the Status Packet is set.
•
The BOE bit in the Status Packet is set.
The ID of the Status Packet is 127 (decimal)
.
Table B-43 Status Packet Bit Assignments
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
3
0
1
1
1
1
1
1
1
2
FIV
f6
f5
f4
f3
f2
f1
f0
1
SM
LB
x
x
c3
c2
c1
c0
0
SMU
LBU
x
MT
x
EOF
EA
BOE
FRAME INFO VALID (FIV)
The FIV bit is set when a valid frame info word has been received since becoming
synchronous to the system and the f and c fields contain valid values. If this bit is
clear, no valid frame info words have been received since the FLEX chip IC became
synchronous to the system. This value will change from 0 to 1 at the end of block 0 of
the frame in which the 1st frame info word was properly received. It will be cleared
when the FLEX chip IC goes into Asynchronous mode. This bit is initialized to 0
B-40
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
Decoder-to-Host Packet Descriptions
when the FLEX chip IC is reset and when the FLEX chip IC is turned off by clearing
the ON bit in the Control Packet.
CURRENT FRAME NUMBER (f)
This value is updated every frame regardless of whether the FLEX chip IC needs to
decode the frame. This value will change to its proper value for a frame at the end of
block 0 of the frame. The value of these bits is not guaranteed when FIV is 0.
Freescale Semiconductor, Inc...
SYNCHRONOUS MODE (SM)
This bit is set when the FLEX chip IC is synchronous to the system. The FLEX chip IC
will set this bit when the first synchronization words are received. It will clear this bit
when synchronization to the FLEX signal is lost. This bit is initialized to 0 when the
FLEX chip IC is reset and when it is turned off by clearing the ON bit in the Control
Packet.
LOW BATTERY (LB)
The LB bit is set to the value last read from the LOBAT pin. The host controls when
the LOBAT pin is read via the Receiver Control Packets. This bit is initialized to 0 at
reset. It is also initialized to the inverse of the LBP bit in the Configuration Packet
when the FLEX chip IC is turned on by setting the ON bit in the Control Packet.
CURRENT SYSTEM CYCLE NUMBER (c)
This value is updated every frame regardless of whether the FLEX chip IC needs to
decode the frame.This value will change to its proper value for a frame at the end of
block 0 of the frame. The value of these bits is not guaranteed when FIV is 0.
SYNCHRONOUS MODE UPDATE (SMU)
The SM bit is set if the SM bit has been updated in this packet. When the FLEX chip IC
is turned on, this bit will be set when the first synchronization words are found (SM
changes to 1) or when the first synchronization search window after the FLEX chip IC
is turned on expires (SM stays 0). The latter condition gives the host the option of
assuming the paging device is in range when it is turned on, and displaying out-ofrange only after the initial A search window expires. After the initial Synchronous
mode update, the SMU bit will be set whenever the FLEX chip IC transitions from/to
Synchronous mode. Cleared when read. Changes in the SM bit due to turning off the
FLEX chip IC will not cause the SMU bit to be set. This bit is initialized to 0 when the
FLEX chip IC is reset.
LOW BATTERY UPDATE (LBU)
The LBU bit is set if the value on two consecutive reads of the LOBAT pin yielded
different results and is cleared when read. The host controls when the LOBAT pin is
read via the Receiver Control Packets. Changes in the LB bit due to turning on the
FLEX chip IC will not cause the LBU bit to be set. This bit is initialized to 0 when the
FLEX chip IC is reset.
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
B-41
Freescale Semiconductor, Inc.
MC68181
Decoder-to-Host Packet Descriptions
MINUTE TIME-OUT (MT)
The MT bit is set if one minute has elapsed. The bit is cleared when read. This bit is
initialized to 0 when the FLEX chip IC is reset.
END OF FRAME (EOF)
Freescale Semiconductor, Inc...
The EOF bit is set when the FLEX chip IC is in All Frame mode and the end of frame
has been reached. The FLEX chip IC is in All Frame mode if the All Frames mode
enable counter is non-zero, if any temporary address enabled counter is non-zero, or
if the FAF bit in the All Frame Mode Packet is set. The bit is cleared when read. This
bit is initialized to 0 when the FLEX chip IC is reset.
END OF ADDRESSES (EA)
If EAE of the control packet is set and an address is detected in a frame, EA will be set
after FLEX chip processes the last address in the frame. Since data packets take
priority over the status packet, the status packet with the EA bit set is guaranteed to
come after all address packets for the frame. This bit is cleared when read, and
initialized to 0 when the FLEX chip IC is reset.
BUFFER OVERFLOW ERROR (BOE)
The BOE bit is set when information has been lost due to slow host response time.
When the SPI transmit buffer on the FLEX chip IC overflows, the FLEX chip IC clears
the transmit buffer, turns off decoding by clearing the ON bit in the Control Packet,
and sets this bit. The bit is cleared when read. This bit is initialized to 0 when the
FLEX chip IC is reset.
UNUSED BITS (x)
The value of these bits is not guaranteed.
B-42
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
Decoder-to-Host Packet Descriptions
Part ID Packet
The Part ID Packet is sent by the FLEX chip IC whenever the FLEX chip IC is disabled
due to the checksum feature (see Checksum Packet on page B-6). Since the FLEX
chip IC is disabled after reset, this is the first packet that will be received by the host
after reset. The ID of the Part ID Packet is 255 (decimal).
Freescale Semiconductor, Inc...
Table B-44 Part ID Packet Bit Assignments
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
3
1
1
1
1
1
1
1
1
2
MDL1
MDL0
CID13
CID12
CID11
CID10
CID9
CID8
1
CID7
CID6
CID5
CID4
CID3
CID2
CID1
CID0
0
REV7
REV6
REV5
REV4
REV3
REV2
REV1
REV0
MODEL (MDL)
This identifies the FLEX chip model. Current value is 0.
COMPATIBILITY ID (CID)
This value describes what other parts with the same model number are compatible
with this part. Current value is 3. Any future versions of FLEX chip that have MDL
set to 0 and CID1 set to 1 will be 100% compatible to this version.
CID0 is set to 1 because this chip is 100% backwards compatible to the standard
FLEX chip.
REVISION (REV)
This identifies the revision and manufacturer of the FLEX chip. Currently defined
values are as follows.
Table B-45 FLEX chip Revisions
REV
Description
0,1,2,4
Pre-production Parts
3
Motorola Semiconductor Products Sector Production Parts
5
Texas Instruments Production Parts
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
B-43
Freescale Semiconductor, Inc.
MC68181
Freescale Semiconductor, Inc...
Decoder-to-Host Packet Descriptions
B-44
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
APPENDIX C
APPLICATION NOTES
Freescale Semiconductor, Inc...
RECEIVER CONTROL
Introduction
The FLEXchip IC has 8 programmable receiver control lines (S0–S7). The host has
control of the receiver warm up and shut down timing, as well as all of the various
settings on the control lines through configuration registers on the FLEXchip IC. The
configuration registers for most settings allow the host to configure:
•
What setting is applied to the control lines,
•
How long to apply the setting, and
•
If the LOBAT input pin is polled before changing from the setting.
With this programmability, the FLEXchip IC is able to interface with many off-theshelf receiver ICs. For details on the configuration of the receiver control settings, see
Receiver Control Configuration Packets on page B-19.
Receiver Settings at Reset
The receiver control ports are tri-state outputs that are set to the high-impedance state
when the FLEXchip IC is reset and until the corresponding FRS bit in the Receiver
Line Control Packet is set, or until the FLEXchip IC is turned on by setting the ON bit
in the Control Packet. This allows the designer to force the receiver control lines to the
receiver off setting with external pull-up or pull-down resistors before the host can
configure these settings in the FLEXchip IC. When the FLEXchip IC is turned on, the
receiver control ports are driven to the settings configured by the Receiver Control
Configuration Packets until the FLEXchip IC is reset again.
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
C-1
Freescale Semiconductor, Inc.
MC68181
Receiver Control
Freescale Semiconductor, Inc...
Automatic Receiver Warm Up Sequence
The FLEXchip IC allows for up to six steps associated with warming up the receiver.
When the FLEXchip IC automatically turns on the receiver, it starts the warm up
sequence 160 ms before it requires valid signals at the EXTS0 and EXTS1 input pins.
The first step of the warm up sequence involves leaving the receiver control lines in
the “Off” state for the amount of time programmed for “Warm Up Off Time”. At the
end of the “Warm Up Off Time”, the first warm up setting, if enabled, is applied to
the receiver control lines for the amount of time programmed for that setting. Each
subsequent warm up setting is applied to the receiver control lines for their
corresponding time until a disabled warm up setting is found. At the end of the last
used warm up setting, the “1600 sps Sync Setting” or the “3200 sps Sync Setting” is
applied to the receiver control lines depending on the current state of the FLEXchip
IC. The sum total of all of the used warm up times and the “Warm Up Off Time”
must not exceed 160 ms. If it exceeds 160 ms, the FLEXchip IC will execute the
receiver shut down sequence at the end of the 160 ms warm up period. The receiver
warm up sequence while decoding when all warm up settings are enabled.enabled is
shown in Figure C-1 below..
160 ms
Warm Up
Off Time
Receiver
Control
Line
Setting
Off
Possible
LOBAT
Check
Warm Up
Time 1
Warm Up
Time 2
Warm Up
Time 3
Warm Up
Time 4
Warm Up
Time5
Warm Up
Setting 1
Warm Up
Setting 2
Warm Up
Setting 3
Warm Up
Setting 4
Warm Up
Setting 5
Possible
LOBAT
Check
Possible
LOBAT
Check
Possible
LOBAT
Check
Possible
LOBAT
Check
Possible
LOBAT
Check
1600 sps or 3200 sps
Sync Setting
EXTS1 & EXTS0
Signals are
Expected to be
Valid Here
AA1236
Figure C-1 Automatic Receiver Warm Up Sequence
Host Initiated Receiver Warm Up Sequence
The host can cause the FLEXchip IC to warm-up the receiver in three ways:
C-2
•
By turning on FLEXchip by setting the ON bit in the control packet
•
By requesting a noise detect by setting the SND bit in the roaming control
packet
•
BY requesting an A-word search by setting the SAS bit in the roaming control
packet
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
Receiver Control
Freescale Semiconductor, Inc...
When the FLEXchip IC warms up the receiver in response to one of these host
requests, the first warm up setting, if enabled, is applied to the receiver control lines
for the amount of time programmed for that setting. Each subsequent warm up
setting is applied to the receiver control lines for their corresponding time until a
disabled warm up setting is found. Once a disabled warm up setting is found, the
“3200sps Sync Setting” (for ON and SND warm ups) or the “1600sps Sync Setting”
(for SAS warm ups) is applied to the receiver control lines and the decoder does not
expect valid signal until after the “3200sps Sync Warm Up Time” (for ON, SND, and
SAS warm ups) has expired. Figure C-2 shows the receiver warm up sequence when
the host initiates a warm-up sequence, and when all warm up settings are enabled.
Receiver
Control
Line Setting
Off
Possible
LOBAT
Check
Warm Up
Time 1
Warm Up
Time 2
Warm Up
Time 3
Warm Up
Time 4
Warm Up
Time5
Warm Up
Setting 1
Warm Up
Setting 2
Warm Up
Setting 3
Warm Up
Setting 4
Warm Up
Setting 5
Possible
LOBAT
Check
Possible
LOBAT
Check
Possible
LOBAT
Check
Possible
LOBAT
Check
3200 sps
Sync
Warm Up
Time
3200 sps
Sync Setting
Possible
LOBAT EXTS1 & EXTS0
signals are
Check
expected to be
valid here.
AA1237
Figure C-2 Host Initiated Receiver Warm Up Sequence
Receiver Shut Down Sequence
The FLEXchip IC allows for up to three steps associated with shutting down the
receiver. When the FLEXchip IC decides to turn off the receiver, the first shut down
setting, if enabled, is applied to the receiver control lines for the corresponding shut
down time. At the end of the last used shut down time, the “Off” setting is applied to
the receiver control lines. If the first shut down setting is not enabled, the FLEXchip
IC will transition directly from the current “On” setting to the “Off” setting.
Figure C-3 shows the receiver turn off sequence when all shut down settings are
enabled.
If the receiver is on or being warmed up when the decoder is turned off (by clearing
the ON bit in the Control Packet), the FLEXchip IC will execute the receiver
shutdown sequence. If the FLEXchip IC is executing the shut down sequence when
the FLEXchip IC is turned on (by setting the ON bit in the Control Packet), the
FLEXchip IC will complete the shut down sequence before starting the warm up
sequence.
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
C-3
Freescale Semiconductor, Inc.
MC68181
Receiver Control
Receiver
Control
Line Setting
1600 sps or 3200 sps
Sync or Data Setting
Shut Down
Time 1
Shut Down
Time 2
Shut Down
Setting 1
Shut Down
Setting 2
Possible
LOBAT
Check
Possible
LOBAT
Check
Possible
LOBAT
Check
Off
AA1238
Freescale Semiconductor, Inc...
Figure C-3 Receiver Shut Down Sequence
Miscellaneous Receiver States
In addition to the Warm Up and Shut Down states, the FLEXchip IC has four other
receiver states. When these settings are applied to the receiver control lines, the
FLEXchip IC will be decoding the EXTS1 and EXTS0 input signals. The timing of
these signals and their duration depends on the data the FLEXchip IC decodes. The
four settings are as follows:
•
1600 sps Sync Setting—This setting is applied when the FLEXchip IC is
searching for a 1600 symbols per second signal.
•
3200 sps Sync Setting—This setting is applied when the FLEXchip IC is
searching for a 3200 symbols per second signal.
•
1600 sps Data Setting—This setting is applied after the FLEXchip IC has
found the C or C sync word in a 1600 symbols per second frame.
•
3200 sps Data Setting—This setting is applied after the FLEXchip IC has
found the C or C sync word in a 3200 symbols per second frame.
Figure C-4 below shows some examples of how these settings will be used in the
FLEXchip IC.
C-4
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
Message Building
FLEX
Signal
Receiver
Control
Line Setting
Example #1
Block 10
1600 sps Data or 3200 sps Data
or Last Used Warm Up Setting
Freescale Semiconductor, Inc...
Possible
LOBAT
Check
Receiver
Control
Line Setting
Example #2
Frame
Info
Sync 1
1600 sps Data or 3200 sps Data
or Last Used Warm Up Setting
1600 sps Sync
Setting
Sync 2
Block 0
3200 sps
Sync Setting
3200 sps Data
Setting
Possible
LOBAT
Check
Possible
LOBAT
Check
1600sps Sync
Setting
Possible
LOBAT
Check
1600 sps Data
Setting
Possible
LOBAT
Check
AA1239
Figure C-4 Examples of Receiver Control Transitions
Low Battery Detection
The FLEXchip IC can be configured to poll the LOBAT input pin at the end of every
receiver control setting. This check can be enabled or disabled for each receiver
control setting. If the poll is enabled for a setting, the pin will be read just before the
FLEXchip IC changes the receiver control lines from that setting to another setting.
The FLEXchip IC will send a Status Packet whenever the value on two consecutive
reads of the LOBAT pin yields different results.
MESSAGE BUILDING
A simple message consists of an Address Packet followed by a Vector Packet
indicating the word numbers of associated Message Packets.The tables below show a
more complex example of receiving three Messages and two Block Information Word
Packets in the first two blocks of a 2 phase 3200 bps, FLEX frame.
Note: The messages shown may be portions of fragmented or group messages.
Furthermore, in the case of a 6400 bps FLEX signal, there would be four
phases: A, B, C and D, and in the case of a 1600 bps signal there would be only
a single phase A.
Table C-1 on page 6 shows the block number, Word Number (WN) and word
content of both phases A and C. Note contents of words not meant to be received by
the host are left blank. Each phase begins with a block information word (WN 0), that
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
C-5
Freescale Semiconductor, Inc.
MC68181
Message Building
is not sent to the host. The first message is in phase A and has an address (WN 3),
vector (WN 7), and three message words (WN 9–11). The second message is also in
phase A and has an address (WN 4), a vector (WN 8), and four message words (WN
12–15). The third message is in phase C and has a 2 word long address (WN 5–6)
followed by a vector (WN 10) and three message words. Since the third message is
sent on a long address, the first message word (WN 11) begins immediately after the
vector. The vector indicates the location of the second and third message words (WN
14–15).
Freescale Semiconductor, Inc...
Table C-1 FLEX SIGNAL
BLOCK
Word
Number
PHASE A
PHASE C
0
0
BIW1
BIW1
1
1
BIW
3
ADDRESS 1
4
ADDRESS 2
BIW
5
LONG ADDRESS 3 WORD 1
6
LONG ADDRESS 3 WORD 2
7
VECTOR 1
8
VECTOR 2
9
MESSAGE 1, 1
10
MESSAGE 1, 2
VECTOR 3
11
MESSAGE 1, 3
MESSAGE 3, 1
12
MESSAGE 2, 1
13
MESSAGE 2, 2
14
MESSAGE 2, 3
MESSAGE 3, 2
15
MESSAGE 2, 4
MESSAGE 3, 3
Table C-2 on page C-7 shows the sequence of packets received by the host. The
FLEXchip processes the FLEX signal one block at a time, and one phase at a time.
Thus, the address and vector information in block 0 phase A is packetized and sent to
the host in packets 1–3. Then information in block 0 phase C, two block information
words and one long address, is packetized and sent to the host in packets 4–6. Packets
7–18 correspond to information in block 1, processed in phase A first and phase C
second.
C-6
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
Message Building
Freescale Semiconductor, Inc...
Table C-2 FLEXchip PACKET SEQUENCE
PACKET
PACKET
TYPE
PHASE
WORD
NUMBER
1st
ADDRESS
A
N.A. (7)
Address 1 has a vector located at WN 7.
2nd
ADDRESS
A
N.A. (8)
Address 2 has a vector located at WN 8.
3rd
VECTOR
A
7
Vector for Address 1: Message Words
located at WN = 9 to 11, phase A
4th
BIW
C
N.A.
If BIWs enabled, then BIW packet sent
5th
BIW
C
N.A.
If BIWs enabled, then BIW packet sent
6th
LONG
ADDRESS
C
N.A. (10)
7th
VECTOR
A
8
Vector for Address 2: Message Words
located at WN = 12 to 15, phase A
8th
MESSAGE
A
9
Message information for Address 1
9th
MESSAGE
A
10
Message information for Address 1
10th
MESSAGE
A
11
Message information for Address 1
11th
MESSAGE
A
12
Message information for Address 2
12th
MESSAGE
A
13
Message information for Address 2
13th
MESSAGE
A
14
Message information for Address 2
14th
MESSAGE
A
15
Message information for Address 2
15th
VECTOR
C
10
Vector for Long Address 3: Message
Words located at WN = 14–15, phase C
16th
MESSAGE
C
11
Second word of Long Vector is first
message information word of Address 3.
17th
MESSAGE
C
14
Message information for Address 3
18th
MESSAGE
C
15
Message information for Address 3
COMMENT
Long Address 3 has a vector beginning in
word 10 of phase C.
The first message is built by relating packets 1, 3, and 8–10. The second message is
built by relating packets 2, 7, and 11–14. The third message is built by relating packets
6 and 15–18. Additionally, the host may process block information in packets 4 and 5
for time setting information.
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
C-7
Freescale Semiconductor, Inc.
MC68181
Building a Fragmented Message
BUILDING A FRAGMENTED MESSAGE
The longest message that will fit into a frame is eighty-four code words total of
message data. Three alpha characters per word yields a maximum message of 252
characters in a frame assuming no other traffic. Messages longer than this value must
be sent as several fragments.
Freescale Semiconductor, Inc...
Additional fragments can be expected when the “continue bit” in the 1st Message
Word is set. This causes the pager to examine every following frame for an additional
fragment until the last fragment with the continue bit reset is found. The only
requirement relating to the placement in time of the remaining fragments is that no
more than thirty-two frames (1 minute) or 128 frames (4 minutes) as indicated by the
service provider may pass between fragment receptions.
Each fragment contains a check sum character to detect errors in the fragment, a
fragment number 0, 1, or 2 to detect missing fragments, a message number to identify
which message the fragment is a part, and the continue bit, which either indicates
that more fragments are in queue or that the last fragment has been received. All of
this information is described in FLEX Message Word Definitions on page A-7.
The following describes the sequence of events between the host and the FLEXchip IC
required to handle a fragmented message:
1. The host receives a vector indicating one of the following types:
Table C-3 Message Type Definition
V2V1V0
Type
000
Secure
101
Alphanumeric
110
Hex / Binary
2. The FLEXchip IC increments the All Frame mode counter inside the FLEXchip
IC and begin to decode all of the following frames.
3. The host receives the Message Packet(s) contained within that frame, followed
by a Status Packet. The host must decide based on the Message Packet to
return to normal decoding operation. If the message is indicated as
fragmented by the Message Continued Flag “C” being set in the Message
Packet for a Secure, Alphanumeric or Hex/Binary Message, then the host
does not decrement the All Frame mode counter at this time. The host
decrements the counter if the Message Continued Flag “C” is clear by writing
the All Frame Mode Packet to the FLEXchip IC with the “DAF” bit = 1. If no
other fragments, temporary addresses are pending or the FAF bit is clear in
C-8
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
Building a Fragmented Message
the All Frame Mode Register, then the FLEXchip IC returns to normal
operation.
Freescale Semiconductor, Inc...
4. The FLEXchip IC continues to decode all of the frames and passes any address
information, vector information and message information to the host followed
by a status packet indicating the end of the frame. If the message is indicated
as fragmented by the Message Continued Flag “C” in the Message Packet for
a Secure, Alphanumeric or Hex/Binary Message then the host remains in the
Receive mode expecting more information from the FLEXchip IC.
5. After the host receives the second and subsequent fragment with the Message
Continued Flag “C” = 1, it should decrement the All Frame mode counter by
sending an All Frame Mode Packet to the FLEXchip IC with the “DAF” bit =
1. Alternatively, the host may choose to decrement the counter at the end of
the entire message by decrementing the counter once for each fragment
received.
6. When the host receives a Message Packet with the Message Continued Flag
“C” = 0, it will send two All Frame Mode Packets to the FLEXchip IC with the
“DAF” bit = 1. The two packets decrement the count for the first fragment and
the last fragment. This decrements the All Frame mode counter to zero, if no
other fragmented messages, or temporary addresses are pending or the FAF
bit is clear in the All Frame Mode Register, and returns the FLEXchip IC to
normal operation.
7.
The above process must be repeated for each occurrence of a fragmented
message. The host must keep track of the number of fragmented messages
being decoded and insure the all frame mode counter decrements after each
fragment or after each fragmented message.
Table C-4 Alphanumeric Message Without Fragmentation
PACKET
PACKET
TYPE
PHASE
All Frame
Counter
1st
ADDRESS 1
A
0
Address 1 is received
2nd
VECTOR 1
A
1
Vector = Alphanumeric Type
3rd
MESSAGE
A
1
Message Word received “C” bit = 0; No
more fragments are expected.
4th
TBD
0
Host writes All Frame Mode Packet to
the FLEXchip IC with the “DAF” Bit = 1
Note:
COMMENT
TBD—Host Initiated Packet. The FLEXchip IC returns a packet according to Decoder-to-Host
Packet Descriptions on page B-27.
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
C-9
Freescale Semiconductor, Inc.
MC68181
Building a Fragmented Message
Freescale Semiconductor, Inc...
Table C-5 Alphanumeric Message with fragmentation
PACKET
PACKET
TYPE
PHASE
All Frame
Counter
1st
ADDRESS 1
A
0
Address 1 is received
2nd
VECTOR 1
A
1
Vector = Alphanumeric Type
3rd
MESSAGE
A
1
Message Word received “C” bit = 1,
Message is fragmented, more expected
4th
STATUS
1
End of Frame Indication (EOF = 1)
5th
ADDRESS 1
B
1
Address 1 is received
6th
VECTOR 1
B
2
Vector = Alphanumeric Type
7th
MESSAGE
B
2
Message Word received “C” bit = 1,
Message is fragmented, more expected.
8th
TBD
1
Host writes All Frame Mode Packet to
the FLEXchip IC with the “DAF” bit = 1
9th
STATUS
1
End of Frame Indication (EOF = 1)
10th
ADDRESS 1
A
1
Address 1 is received
11th
VECTOR 1
A
2
Vector = Alphanumeric type
12th
MESSAGE
A
2
Message Word received “C” bit = 0, No
more fragments are expected.
13th
TBD
1
Host writes All Frame Mode Packet to
the FLEXchip IC with the “DAF” bit = 1
14th
TBD
0
Host writes All Frame Mode Packet to
the FLEXchip IC with the “DAF” bit = 1
Note:
C-10
COMMENT
TBD—Host Initiated Packet. The FLEXchip IC returns a packet according to Decoder-to-Host
Packet Descriptions on page B-27.
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
Operation of a Temporary Address
OPERATION OF A TEMPORARY ADDRESS
Group Messaging
Freescale Semiconductor, Inc...
The FLEX protocol allows for a dynamic group call for the purpose of sending a
common message to a group of paging devices. The dynamic group call approach
assigns a “Temporary Address”, using the personal address and the short instruction
vector. The temporary address must be disabled by the host after the message is
completed.
The FLEX protocol specifies sixteen addresses for the dynamic group call, which may
be temporarily activated in a specific future frame (If the designated frame is equal to
the present frame, the host is to interpret this as the next occurrence of this frame 4
minutes in the future.) The temporary address is valid for one message starting in the
specified frame and remaining valid throughout the following frames to the
completion of the message. If the message is not found in the specified frame (frame
defined by a full 7-bit frame number), the host must disable the assigned temporary
address.
The following describes the sequence of events between the Host and the FLEXchip
IC required to handle a temporary address:
1. Following an Address Packet, the host will receive a Vector Packet with
V2V1V0 = 001 and i2i1i0 = 000 for a Short Instruction Vector indicating a
temporary address has been assigned to this pager. The vector packet will
indicate which temporary address is assigned and the frame in which the
temporary address is expected.
2. The FLEXchip IC will increment the corresponding temporary address
counter and begin to decode all of the following frames.
3. The FLEXchip IC continues to decode all of the frames and passes any address
information, vector information, and message information to the host,
followed by a status packet indicating the end of each frame and the current
frame number.
4. There are several scenarios that may occur with temporary addresses.
a. The temporary address is not found in the frame assigned and therefore
the host must terminate the Temporary Address mode by sending an All
Frame Mode Packet to the FLEXchip IC with the “DTA” bit of the
particular temporary address set.
b. The temporary address is found in the frame it was assigned and was not
a fragmented message. Again, the host must terminate the Temporary
Address mode by sending an All Frame Mode Packet to the FLEXchip IC
with the “DTA” bit of the particular temporary address set.
MOTOROLA
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
C-11
Freescale Semiconductor, Inc.
MC68181
Using the Receiver Shutdown Packet
c. The temporary address is found in the assigned frame and it is a
fragmented message. In this case, the host must follow the rules for
Operation of a Fragmented Message and determine the proper time to
stop the All Frame mode operation. In this case, the host must write to the
“DAF” bit with a “1” and the appropriate “DTA” bit with a “1” in the All
Frame Mode Register in order to terminate both the fragmented message
and the temporary address.
Freescale Semiconductor, Inc...
5. The above operation is repeated for every temporary address.
USING THE RECEIVER SHUTDOWN PACKET
Calculating Time Left
The receiver shutdown packet gives timing information to the host. Two times are of
particular interest when implementing a roaming algorithm.
•
TimeToWarmUpStart is defined as the amount of time there is before the
receiver will start to warm up (i.e. transition from the off state to the first
warm up state).
•
TimeToTasksDisabled is defined as the amount of time the host has to complete
any host initiated tasks (e.g. by setting SND or SAS in the roaming control
packet).
•
The formulas for calculating these times depend on whether the FLEXchip is
in synchronous mode or asynchronous mode.
SYNCHRONOUS MODE:
TimeToWarmUpStart ≥ ( TNF ⋅ 80ms ) + ( SkippedFrames ⋅ 1874.375ms ) + ReceiverOffTime – 167.5ms
TimeToTasksDisabled ≥ ( TNF ⋅ 80ms ) + ( SkippedFrames ⋅ 1874.375ms ) – 247.5ms
ASYNCHRONOUS MODE:
TimeToWarmUpStart ≥ ( ( TNF – 2 ) ⋅ 80ms ) + ReceiverOffTime
TimeToTasksDisabled ≥ ( ( TNF – 3 ) ⋅ 80ms )
C-12
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
MC68181
Using the Receiver Shutdown Packet
Freescale Semiconductor, Inc...
Where
TNF
Time to Next Frame. Value from the receiver shutdown
packet.
SkippedFrames
The number of frames that will not be decoded. This can be
calculated from the Current Frame (CF) and Next Needed
Frame (NAF) fields in the receiver shutdown packet (e.g. If
CF is 10 and NAF is 12, then SkippedFrames is 1)
ReceiverOffTime
The time programmed in the receiver off setting packet.
Calculating How Long Tasks Take
Since the TimeToTaskDisabled discussed in the previous section limits how much the
host can do while the FLEXchip IC is battery saving, it is necessary for the host to
know how long it can take the FLEXchip IC to perform a task.
The formulas below calculate how long the two types of host initiated tasks take to
complete as measured from the last SPI clock of the packet that initiates the task to
the time the receiver shutdown sequence starts. Note that the receiver shutdown
sequence must start before tasks are disabled.
Noise Detect
The following formula calculates how long it will take to complete a Noise Detect
started by setting the SND bit in the roaming control packet. This formula assumes
that (1) the noise detect was performed while in synchronous mode or (2) the noise
detect was performed in asynchronous mode and did not find FLEX signal or (3) the
noise detect found FLEX signal but the DAS bit of the roaming control packet was set.
TimeToPerformNoiseDetect ≤ TotalWarmUpTime + 82ms
Where
TotalWarmUpTime
MOTOROLA
The sum of the times programmed for the used warm up
steps plus the time programmed for the 3200sps Sync
Setting in the receiver control configuration packets.
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
C-13
Freescale Semiconductor, Inc.
MC68181
Using the Receiver Shutdown Packet
The following formula calculates how long it will take to complete an A-word search
initiated by setting the SAS bit in the roaming control packet. This formula assumes
that the A-word search failed to find roaming FLEX channel.
TimeToPerformAwordSearch ≤ TotalWarmUpTime + AST + 47ms
Freescale Semiconductor, Inc...
Where
TotalWarmUpTime
The sum of the times programmed for the used warm
up steps plus the time programmed for the 3200sps Sync
Setting in the receiver control configuration packets.
AST
The value configured using the timing control packet.
Noise Detect / A-word Search
The following formula calculates how long it will take to complete a Noise Detect/Aword search combination. This can occur when the noise detect is performed while in
asynchronous mode, the noise detect finds FLEX signal, and the DAS bit of the
roaming control packet is not set.
TimeToPerformBoth ≤ TotalWarmUpTime + AST + 127ms
Where
C-14
TotalWarmUpTime
The sum of the times programmed for the used warm
up steps plus the time programmed for the 3200sps
Sync Setting in the receiver control configuration
packets.
AST
The value configured using the timing control packet.
MC68181 Technical Data Sheet
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc...
Freescale Semiconductor, Inc.
FLEX, FLEXchip, FLEXstack, and Mfax are trademarks of Motorola, Inc.
Motorola reserves the right to make changes without further notice to any products herein. Motorola makes no
warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does
Motorola assume any liability arising out of the application or use of any product or circuit, and specifically disclaims
any and all liability, including without limitation consequential or incidental damages. “Typical” parameters which may
be provided in Motorola data sheets and/or specifications can and do vary in different applications and actual
performance may vary over time. All operating parameters, including “Typicals” must be validated for each customer
application by customer’s technical experts. Motorola does not convey any license under its patent rights nor the rights
of others. Motorola products are not designed, intended, or authorized for use as components in systems intended for
surgical implant into the body, or other applications intended to support life, or for any other application in which the
failure of the Motorola product could create a situation where personal injury or death may occur. Should Buyer
purchase or use Motorola products for any such unintended or unauthorized application, Buyer shall indemnify and
hold Motorola and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs,
damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury
or death associated with such unintended or unauthorized use, even if such claim alleges that Motorola was negligent
regarding the design or manufacture of the part. Motorola and
are registered trademarks of Motorola, Inc.
Motorola, Inc. is an Equal Opportunity/Affirmative Action Employer.
How to reach us:
USA/Europe/Locations Not Listed:
Motorola Literature Distribution
P.O. Box 5405
Denver, Colorado 80217
303-675-2140
1 (800) 441-2447
Mfax™:
[email protected]
TOUCHTONE (602) 244-6609
US & Canada ONLY (800) 774-1848
Asia/Pacific:
Motorola Semiconductors H.K. Ltd.
8B Tai Ping Industrial Park
51 Ting Kok Road
Tai Po, N.T., Hong Kong
852-26629298
Japan:
Nippon Motorola Ltd.
SPD, Strategic Planning Office
4-32-1, Nishi-Gotanda
Sinagawa-ku, Tokyo 141, Japan
81-3-5487-8488
Technical Resource Center:
1 (800) 521-6274
DSP Helpline
[email protected]
Internet:
http://www.motorola-dsp.com
For More Information On This Product,
Go to: www.freescale.com
Similar pages