17.1Introduction to soldering surface mount
packages
17.2Reflow soldering
17.3Wave soldering
17.4Manual soldering
17.5Suitability of surface mount IC packages for
wave and reflow soldering methods
18DEFINITIONS
19LIFE SUPPORT APPLICATIONS
1999 Apr 122
Philips SemiconductorsProduct specification
FLEX roaming decoder IIPCD5013
1FEATURES
• FLEX paging protocol decoder
• 16 programmable user address words
• 16 fixed temporary addresses
• 16 operator messaging addresses
• 1600, 3200 and 6400 bits/s decoding
• Any-phase or single-phase decoding
• Uses standard Serial Peripheral Interface (SPI) in slave
mode
• SSID and NID roaming support
• Backward compatible to the standard and roaming
FLEX decoder ICs
• Allows low current power-down mode operation of host
processor
• Highly programmable receiver control
• Real-time clock time base
• FLEX fragmentation and group messaging support
• Real-time clock over-the-air update support
• Compatible with synthesized receivers
• Low battery indication (external detector)
• Low cost LQFP32 plastic package
• Optional internal 4-level FSK demodulator and data
slicer
• Operates using a 76.8 or 160 kHz crystal
• Very low power consumption
• Operates at low supply voltage
• Full support for revision 1.9 of the FLEX protocol.
2APPLICATIONS
• Numeric FLEX pagers
• Alphanumeric FLEX pagers
• Roaming FLEX pagers
• Remote metering
• Car security systems
• Personal digital assistants.
3GENERAL DESCRIPTION
This data sheet describes the operation of the PCD5013
integrated paging decoder. It is fully compatible with other
FLEXchip ICs including the PCD5008.
The PCD5013, also referred to as the decoder, simplifies
implementation of a FLEX paging device, by being able
to interface with several off-the-shelf paging receivers and
host microcontrollers/processors. Its primary function is to
process information received and demodulated from a
FLEX radio paging channel, select messages addressed
to the paging device and communicate the message
information to the host.
The PCD5013 fully supports the FLEX protocol
(version G1.9) including all roaming aspects.
Motorola FLEXstack software, installed on the product
host processor, communicates with the PCD5013 and
interprets the codewords that are passed to the host.
The PCD5013 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.
4QUICK REFERENCE DATA
SYMBOLPARAMETERCONDITIONSMIN.TYP.MAX. UNIT
V
DD
I
DD
T
amb
f
EXTAL
supply voltage1.82.23.6V
supply currentsee Chapters 12 and 14−6.0−µA
operating ambient temperature−25+25+70°C
external clock frequencyinternal demodulator not in use−76.8−kHz
Fig.1 Functional block diagram for PCD5013 pager decoder.
1999 Apr 124
Philips SemiconductorsProduct specification
FLEX roaming decoder IIPCD5013
7PINNING
SYMBOLPINI/ODESCRIPTION
TOUT01O3-state test output; note 1
OSCPD2Iinternal oscillator power-down; connected to V
connected to VDD when using an external source
V
DD1
3−supply voltage
TEST24Imanufacturing test mode input pin; has to be connected to V
XTAL5O76.8 or 160 kHz crystal oscillator output
EXTAL6I76.8 or 160 kHz crystal oscillator input or external clock input
V
SS1
7−ground supply
TEST38Imanufacturing test mode input pin; has to be connected to V
TOUT39O3-state test output; note 1
LOBAT10Ilow battery voltage detect input
EXTS111Imost significant bit (MSB) of the symbol currently being decoded
EXTS012Ileast significant bit (LSB) of the symbol currently being decoded
V
DD2
13−supply voltage
SYMCLK14Orecovered symbol clock output
S715Oreceiver control output port, 3-state
S616Oreceiver control output port, 3-state
TOUT217O3-state test output; note 1
S518Oreceiver control output port, 3-state
S419Oreceiver control output port, 3-state
S320Oreceiver control output port, 3-state
S221Oreceiver control output port, 3-state
S122Oreceiver control output port, 3-state
S0/IFIN23I/Oreceiver control output port, 3-state when using external demodulator; limited
IF input 455 or 140 kHz when using internal demodulator
RESET24Iactive LOW reset input
TOUT125O3-state test output; note 1
READY26Ooutput driven LOW when the PCD5013 is ready for an SPI packet
SS27Islave select input for SPI communications
SCK28Iserial clock input for SPI communications
V
SS2
29−ground supply
MOSI30Idata input for SPI communications
MISO31Odata output for SPI communications, 3-state
CLKOUT32O38.4 kHz clock output (derived from 76.8 kHz oscillator); note 2
when using the internal oscillator,
SS
SS
SS
Notes
1. These test outputs may be either left unconnected or connected to V
in the application.
SS
2. For a 160 kHz oscillator either a 38.4 or a 40 kHz output frequency can be selected. See Section 8.4.4.
1999 Apr 125
Philips SemiconductorsProduct specification
FLEX roaming decoder IIPCD5013
handbook, full pagewidth
MISO
CLKOUT
31
32
MOSI
30
SS2
V
29
SCK
28
SS
27
READY
26
TOUT1
25
TOUT0
OSCPD
V
DD1
TEST2
XTAL
EXTAL
V
SS1
TEST3
1
2
3
4
24
23
22
21
RESET
S0/IFIN
S1
S2
PCD5013
5
6
7
8
9
TOUT3
10
LOBAT
11
EXTS1
12
EXTS0
13
DD2
V
14
15
S7
SYMCLK
16
S6
20
S3
19
S4
18
S5
17
TOUT2
MGR619
Fig.2 Pin configuration.
1999 Apr 126
Philips SemiconductorsProduct specification
FLEX roaming decoder IIPCD5013
8FUNCTIONAL DESCRIPTION
8.1General
The PCD5013 simplifies implementation of a FLEX
paging device by interfacing with off-the-shelf components
such as a paging receiver and a microcontroller or
microprocessor (called a host). The PCD5013 is fully
compatible with FLEXstack software which provides a
complete, platform independent, software driver for the
PCD5013.
The PCD5013 fully supports all aspects of the FLEX
protocol (version G1.9), and can operate in either
single-phase or any-phase mode. The PCD5013 supports
FLEX dynamic grouping, allowing up to 16 temporary
addresses to be enabled simultaneously. It is also capable
of retrieving real time information from a FLEX channel.
The PCD5013 connects to any receiver capable of
providing a 2-bit digital signal. The PCD5013 operates the
paging receiver in an efficient power consumption mode.
The PCD5013 has 8 receiver control lines used for
warming up, operating and shutting down a receiver in
stages.
The PCD5013 has the ability to detect a battery-low signal
from an external detector during the receiver control
sequences.
host.The host can use receiver control lines which are not
required by the receiver as expansion ports to control other
peripheral devices.
8.2Clocking, reset and start-up
8.2.1O
The PCD5013 uses an inverting crystal oscillator.
The clock signal for the internal circuitry is derived via an
amplifier from the oscillator input pin EXTAL. Alternatively,
an external clock signal can be fed in at input pin EXTAL.
In this case the internal oscillator can be disabled by
pulling the OSCPD input pin HIGH. This reduces current
consumption and routes EXTAL directly to the internal
clock signal. When using a crystal, an external feedback
resistor and the load capacitances need to be connected
to pins EXTAL and XTAL (Fig.19). See Chapter 14 for the
recommended crystal parameters and the specification of
the oscillator transconductance to guarantee correct
start-up.
The PCD5013 oscillator can operate at either 76.8 kHz or
160 kHz by selecting the appropriate crystal. The choice of
frequency is determined by the setting of the IDE bit in the
configuration packet; see Section 8.4.4.
8.2.2R
SCILLATOR
ESET AND START-UP CONDITIONS
The PCD5013 carries out the following functions:
• Synchronises to a FLEX data stream
• Processes received, demodulated information
• Performs de-interleaving and error correction
• Selects calls addressed to the paging device using up to
16 programmable addresses
• Communicates the message information to the host.
The PCD5013 interfaces to a host through a serial
peripheral interface (SPI). The host can then interpret the
message information in an appropriate manner (numeric,
alphanumeric, binary, etc.). This function is provided by
the FLEXstack software.
When configured to use the internal demodulator, the
PCD5013 connects to a receiver capable of generating a
limited (i.e. 1-bit digitized) 455 or 140 kHz IF signal
(IF frequency automatically detected).
The PCD5013 enables the host to operate in a low-power
mode when monitoring a single channel for message
information. It has a 38.4 kHz clock output (40 kHz
available when using the internal demodulator) capable of
driving other devices, and has a 1-minute timer that offers
low-power support for a real-time clock function on the
The PCD5013 is reset by pulling the RESET input LOW.
After releasing the RESET by pulling it HIGH, the
PCD5013 counts 76800 clock cycles (independent of the
oscillator frequency) before pulling READY LOW to
indicate that the decoder is ready for configuration via
the SPI.
See Fig.3 and Chapter 13 for the PCD5013 timing
specifications when power is applied.
See Fig.4 and Chapter 13 for the PCD5013 timing
specifications when it is reset.
After switch-on, the PCD5013 operates in Asynchronous
mode, periodically sampling the channel for incoming
data. As soon as data is detected, the PCD5013 maintains
the receiver on to synchronize to the channel. Once the
pager is synchronized to the channel it enters
Synchronous mode, switching the receiver on only for the
programmed frames.
When the receiver is programmed for Roaming operation,
the PCD5013 sends information which allows the host to
calculate when to switch frequencies in a roaming
network.
1999 Apr 127
Philips SemiconductorsProduct specification
FLEX roaming decoder IIPCD5013
handbook, full pagewidth
V
DD
t
strt(osc)
oscillator
RESET
READY
handbook, full pagewidth
RESET
READY
t
h(rst)
t
W(rst)
t
LH(RESET-READY)
t
WUL(osc-READY)
t
HL(RESET-READY)
Fig.3 Start-up timing.
t
HL(RESET-READY)
MBK031
MBK033
Fig.4 Reset timing.
1999 Apr 128
Philips SemiconductorsProduct specification
FLEX roaming decoder IIPCD5013
8.3Serial Peripheral Interface (SPI)
8.3.1G
ENERAL
All data communication between the PCD5013 and the
host is done via the SPI using 32-bit data packets at data
rates up to 1 Mbits/s. SPI transfers are full-duplex and can
be initiated by either the host which acts as the SPI master
providing the data clock for packet transfer, or the
PCD5013 as an SPI slave.
The host can send packets to configure or control the
PCD5013 or a checksum packet to validate SPI
communication (Section 8.4.2). The PCD5013 buffers
data packets, relating to received data, into a 32 packet
transmit buffer. The PCD5013 can send either a status
packet, a part ID packet, or packets from the transmit
buffer. In the event of a buffer overflow, the PCD5013
stops decoding and clears the transmit buffer.
8.3.2SPI
INTERCONNECT
Connection on the PCD5013 consists of a READY pin and
4 SPI pins (SS, SCK, MOSI and MISO):
READY: output signal; indicates that data is available
from the PCD5013
SS: SPI select; used as PCD5013 chip select
SCK: serial clock; output from the host used for clocking
data
MOSI: master output slave input; data output from the
host
MISO: master input slave output; data output from the
PCD5013.
8.3.3SPI
TRANSFER INITIATED BY THE HOST
2. The PCD5013 indicates that it is ready to start the
SPI transfer by driving the
READY pin LOW.
3. The host clocks each of the 32 bits of the SPI packet
by pulsing SCK. Both the host and the PCD5013
sample data on the rising edge of SCK. Packets are
sent MSB first.
4. The PCD5013 pulls the READY line HIGH, to indicate
that the transfer is complete.
5. The host waits until the READY line is pulled HIGH,
then de-selects the PCD5013 SPI by driving the
SS pin HIGH.
6. The first 5 steps are repeated for each additional
packet.
8.3.4SPI
TRANSFER INITIATED BY THE DECODER
The following steps occur when the PCD5013 initiates an
SPI packet transfer, see Fig.6 for event timings:
1. The PCD5013 initiates the SPI transfer by driving the
READY pin LOW.
2. If the PCD5013 is not already selected, the host
selects the PCD5013 SPI by driving the SS pin LOW.
3. The host clocks each of the 32 bits of the SPI packet
by pulsing SCK. Both the host and the PCD5013
sample data on the rising edge of SCK. Packets are
sent MSB first.
4. The PCD5013 pulls the READY line HIGH, to indicate
that the transfer is complete.
5. The host may then either de-select the SPI interface of
the PCD5013 (Fig.7) by driving the SS pin HIGH or
maintain SS LOW to continue sending packets to the
PCD5013.
The following steps occur when the host initiates an SPI
packet transfer, see Fig.5 for event timings:
1. The host selects the PCD5013 by driving the
SS pin LOW.
1999 Apr 129
Philips SemiconductorsProduct specification
FLEX roaming decoder IIPCD5013
handbook, full pagewidth
Numbers within parenthesis refer to sequence numbers, see Section 8.3.3.
SS
READY
SCK
MOSI
MISO
(1)(5)
(2)
(3)
D31D1 D0
Z
o(off)
D31D1 D0
(4)
Z
o(off)
Fig.5 Typical multiple SPI transfers initiated by the host.
D31D1 D0
D31D1 D0
Z
o(off)
D31D1 D0
D31D1 D0
Z
o(off)
MGK262
handbook, full pagewidth
Numbers within parenthesis refer to sequence numbers, see Section 8.3.4.
SS
READY
SCK
MOSI
MISO
(2)(5)
(1)
(3)
D31D1 D0
Z
o(off)
D31D1 D0
(4)
Z
o(off)
Fig.6 Typical multiple SPI transfers initiated by the PCD5013.
1999 Apr 1210
D31D1 D0
D31D1 D0
Z
o(off)
D31D1 D0
D31D1 D0
Z
o(off)
MGK263
Philips SemiconductorsProduct specification
FLEX roaming decoder IIPCD5013
handbook, full pagewidth
SS
READY
SCK
MOSI
MISO
Z
o(off)
D31D1 D0
D31D1 D0
D31D1 D0
D31D1 D0
D31D1 D0
D31D1 D0
Fig.7 Multiple SPI transfers initiated by the PCD5013 with SS maintained LOW.
MGK264
1999 Apr 1211
Philips SemiconductorsProduct specification
FLEX roaming decoder IIPCD5013
8.3.5SPI PACKET FORMAT
SPI data packets consist of an 8-bit ID (byte 3), followed
by 24 bits of information (byte 2 to byte 0). See Table 1,
8.3.6SPI TIMING
See Fig.8 and Chapter 13 for the timing specifications of
the SPI.
note that bit 7 of byte 3 is the first bit on the bus.
This section summarises the packets which can be sent from the PCD5013 to the host (Table 3).
Table 3 Decoder-to-host packet ID map
PACKET
ID (HEX)TYPESECTION
00block information word8.7.9
01address8.7.2
02 to 57vector or message (ID is word number in frame)8.7.3 and 8.7.8
58 to 5Freserved−
60roaming status8.4.13
61 to 7Dreserved−
7Ereceiver shutdown8.4.12
7Fstatus8.4.11
80 to FEreserved−
FFpart ID8.4.5
1999 Apr 1214
Philips SemiconductorsProduct specification
FLEX roaming decoder IIPCD5013
8.4Configuration and synchronisation
8.4.1G
ENERAL
After a reset, all configuration data has to be (re)loaded
into the PCD5013 by the host using the SPI. PCD5013
features which do not change during operation are
configured using the configuration packet (Section 8.4.4),
the receiver control packets (Section 8.5) and the address
configuration packets (Section 8.6). PCD5013 features
which can be changed during operation are configured
using the control packet. The checksum packet ensures
proper communication between the host and the
PCD5013.
8.4.2SPI
SECURITY ALGORITHM
The PCD5013 provides a security algorithm to verify
correct SPI operation (Figs 9 and 10). The PCD5013
maintains a checksum register equal to the result of
XORing the 24 data bits of every packet it receives, except
the checksum packet 00H and special packets
1CH to 1FH. When the PCD5013 is reset, the internal
checksum register is initialized to the 24-bit part ID defined
in the part ID packet.
Immediately following a reset and whenever the host
sends a packet other than a checksum packet, the
SPI output of status and data (SPI transmit) is disabled.
The PCD5013 then initiates SPI transfers continuously,
sending the part ID packet (Section 8.4.5). Note that when
SPI transmit is disabled all decoding and timing functions
are unaffected. The SPI transmit can be enabled by
sending a checksum packet for which the checksum value
matches the checksum register.
Checksum packets sent when the SPI transmit is enabled,
are ignored by the PCD5013 irrespective of the value of
the checksum packet data bits. Thus when the PCD5013
initiates an SPI transfer and the host has no data to send,
the host should send the checksum packet so as not to
disable the SPI transmit. The data in the checksum packet
could be a null packet (32-bit stream of all zeros).
Sending a packet other than the checksum packet when
the SPI transmit is enabled causes the SPI transmit to be
disabled until a checksum packet is sent with the correct
value. Thus when the host re-configures the PCD5013
after a reset, the SPI transmit is disabled until the host
sends a checksum packet at the end of the configuration
data, with the checksum value equal to the result of
XORing together the data bits of each of the configuring
packets and the data bits of the part ID packet.
If the SPI transmit is enabled and a receiver shutdown
packet is pending, the receiver shutdown packet is sent. If
there is no receiver shutdown packet pending, but there is
a roaming status packet pending, the roaming status
packet is sent. If neither the receiver shutdown packet nor
the roaming status packet is pending and there is data in
the transmit buffer, the PCD5013 initiates an SPI transfer
sending a packet from its transmit buffer. The PCD5013
sends the status packet (which is not buffered) when the
host initiates an SPI transfer and the transmit buffer is
empty.
handbook, full pagewidth
PART ID REGISTER
RECEIVER SHUTDOWN REGISTER
ROAMING STATUS REGISTER
32 × 32 DATA PACKET
FIFO TRANSMIT
BUFFER
STATUS REGISTER
32
32
32
32
32
Fig.9 SPI transmit functional block diagram.
1999 Apr 1215
MUX
SPI
SECURITY
ALGORITHM
32
SPI TRANSMIT REGISTER
MISO
MGR618
Philips SemiconductorsProduct specification
FLEX roaming decoder IIPCD5013
handbook, full pagewidth
reset
PCD5013 disables
SPI transmit
PCD5013 initializes
checksum register
to part ID value
PCD5013 initiates
part ID packet
Y
matches checksum
register data?
PCD5013 enables
PCD5013 waits for
SPI packet from host
YN
PCD5013
SPI transmit
enabled?
N
packet data
Y
SPI transmit
checksum packet?
N
PCD5013 disables
SPI transmit
PCD5013 sets
checksum registers to
the XOR of the packet
data bits with the
checksum register bits
MGR617
Fig.10 SPI security algorithm.
1999 Apr 1216
Philips SemiconductorsProduct specification
FLEX roaming decoder IIPCD5013
8.4.3CONFIGURATION SEQUENCE
A typical configuration and synchronisation sequence
would be as follows, see Fig.11 for event timings:
1. The PCD5013 is reset by the host.
2. After 76800 clock cycles the PCD5013 interrupts the
host to read the part ID by pulling the READY
line LOW.
3. The host pulls SS LOW at the start of each
SPI transfer and clocks out the part ID data.
4. The host configures the following aspects of PCD5013
operation:
a) General configuration (Section 8.4.4)
b) Receiver operation (Section 8.5)
c) FLEX CAPCODE configuration (Section 8.6).
The PCD5013 writes a part ID packet in response to
each incoming packet.
handbook, full pagewidth
configuration packets
(addresses, receiver etc.)
5. At the end of each packet the PCD5013 pulls the
READY line HIGH, and then LOW again to indicate
that packet processing is complete.
6. The host writes a control packet to enable FLEX
decoding in the PCD5013 (Section 8.4.7).
7. The host writes a checksum packet to enable SPI data
output by the PCD5013 (Section 8.4.2).
8. On recognising a SYNC word, the PCD5013
synchronises to the channel.
9. The PCD5013 initiates an SPI transfer writing the
status packet, indicating that it is now in synchronous
mode.
control packet
(6)
checksum packet
(7)
SPI
HOST-TO-DECODER
partid packet
SPI
DECODER-TO-HOST
RESET
READY
SS
FLEX DATASTREAM
Numbers within parenthesis refer to sequence numbers, see Section 8.4.3.
(1)
(5)(5)(5)
(2)
(3)
(4)
Fig.11 Typical configuration and synchronization sequence.
partid packet
status packet
(4)
(8)
SYNC
(9)
MBK097
1999 Apr 1217
Philips SemiconductorsProduct specification
FLEX roaming decoder IIPCD5013
8.4.4CONFIGURATION PACKET (ID = 01H)
The configuration packet defines a number of different
configuration options for the PCD5013. The PCD5013
ignores this packet when decoding is enabled,
i.e. the ON bit in the control packet is set (Table 12).
DFC: disable fractional clock (Table 8). When this bit is set
and IDE is set, the CLKOUT signal generates a 40 kHz
signal (EXTAL divided-by-4). When this bit is cleared and
IDE is set, the CLKOUT signal generates a 38.4 kHz signal
(EXTAL fractionally divided by25⁄6). This bit has no effect
when IDE is cleared. Value after reset = 0.
IDE: internal demodulator enable (Table 8). When this bit
is set, the internal demodulator is enabled and the clock
frequency at EXTAL is expected to be 160 kHz. When this
bit is cleared, the internal demodulator is disabled and the
clock frequency at EXTAL is expected to be 76.8 kHz.
Value after reset = 0.
OFD: oscillator frequency difference (Tables 4 and 8).
These bits represent the maximum frequency difference
between the 76.8 kHz oscillator (accounting for ageing,
temperature variation, manufacturing tolerance etc.) and
the worst case transmitter bit rate (specified as ±25 parts
per million (ppm) in the FLEX specification).
For example, if the transmitter tolerance is ±25 ppm and
the 76.8 kHz oscillator tolerance is ±140 ppm, the
transmitter-oscillator frequency difference is ±165 ppm
and OFD should be cleared (300 ppm maximum). Value
after reset = 0. Note that configuring a smaller frequency
difference in this packet results in lower power
consumption due to higher receiver battery save ratios.
Table 4 Oscillator frequency difference
OFD
OFD
1
0
FREQUENCY DIFFERENCE
(ppm)
00±300
01±150
10±75
11±0
PCE: partial correlation enable (Table 8). When this bit is
set, partial correlation of addresses is enabled. When
partial correlation is enabled, the PCD5013 shuts down
the receiver before the end of the last FLEX block which
contains addresses if it can determine that none of the
addresses in that FLEX block matches any enabled
address in the PCD5013. When this bit is cleared, the
receiver is controlled as in the PCD5008. Value after
reset = 0.
SP: signal polarity (Tables 8, 5 and 6). These bits set the
polarity of EXTS1 and EXTS0 input signals. The polarity of
the EXTS1 and EXTS0 bits is determined by the receiver
design. Value after reset = 0.
SME: synchronous mode enable (Table 8). When this bit
is set, a status packet is sent automatically whenever the
synchronous mode update (SMU) bit in the status packet
is set. This happens whenever a change occurs in the
synchronous mode (SM) status bit, which indicates that
the decoder is synchronized to a FLEX data stream.
The host can use the SM bit in the status packet as an
in-range/out-of-range indication. Value after reset = 0.
COD: clock output disable (Table 8). When this bit is
cleared, a 38.4 or 40 kHz signal is output on the
CLKOUT pin (depending on the values of IDE and DFC).
When this bit is set, the CLKOUT pin is driven LOW. Value
after reset = 0.
• Setting and clearing this bit can cause pulses on the
CLKOUT pin that are less than one half the 38.4 kHz
period.
• When the clock output is enabled and not set for
intermittent operation (see ICO in this packet), the
CLKOUT pin always outputs the clock signal even when
the PCD5013 is in reset (as long as a clock signal is
available to the PCD5013 oscillator).
• When the PCD5013 is used in internal demodulator
mode (i.e. uses a 160 kHz oscillator), the CLKOUT pin
is 80 kHz from reset until the time the IDE bit is set.
1999 Apr 1218
Philips SemiconductorsProduct specification
FLEX roaming decoder IIPCD5013
LBP: low battery polarity (Table 8). This bit defines the
polarity of the PCD5013’s LOBAT pin: When this bit is set,
a HIGH at input LOBAT represents a low battery condition.
The LB bit in the status packet is initialized to the inverse
(i.e. inactive) value of the LBP bit when the PCD5013 is
turned on (by setting the ON bit in the control packet).
When the PCD5013 is turned on, the first low battery
update in the status packet is sent to the host when a low
battery condition is detected on the LOBAT pin. Value
after reset = 0.
MOT: maximum off time (Table 8). When this bit is set, the
PCD5013 assumes that the service provider leaves up to
1 minute between transmitted frames. When this bit is
clear, the PCD5013 assumes that there can be up to
4 minutes between transmitted frames. This bit has no
effect if AST in the Timing Control Packet is non-zero.
Value after reset = 0.
MTE: minute timer enable (Table 8). When this bit is set,
a status packet is sent at one minute intervals with the
minute time-out (MT) bit in the status packet set. When
this bit is clear, the internal 1-minute timer stops counting.
See Section 8.4.8 for details of 1-minute timer operation.
Note that the minute timer is not accurate using a 160 kHz
oscillator until the IDE bit is set. Value after reset = 0.
ICO: intermittent clock out (Table 8). When this bit is clear
and COD is clear, a 38.4 or 40 kHz (depending on the
values of IDE and DFC) signal is output on the CLKOUT
pin. When this bit is set and COD is clear, the clock is only
output on the CLKOUT pin while the receiver is not in the
Off state. The clock is output for a few cycles before the
receiver transitions from the off state and for a few cycles
after the receiver transitions to the off state (this is to insure
that the receiver receives enough clocks to detect and
process the changes to and from the off state).
The CLKOUT pin is driven LOW when it is not driving a
clock.
Note that when the clock is automatically enabled and
disabled (i.e. when ICO is set), the CLKOUT signal
transitions are clean (i.e. no pulses less than half the clock
period) when it transitions between no clock and clocked
output. This bit has no effect when COD is set. Value after
reset = 0.
8.4.5P
ART ID P ACKET (ID = FFH)
The part ID packet is output by the PCD5013 SPI
whenever the SPI transmit is disabled due to the
checksum feature. The value of the part ID packet for the
PCD5013 is FF000308H.
MDL: model (Table 9). The PCD5013 model value is 0.
CID: compatibility ID (Table 9). This value describes other
parts with the same model number, which are compatible
with this part.
Table 7 CID Compatibilities
BITCOMPATIBILITY
Alphanumeric Decoder I1 (true)
CID
0
CID
Roaming Decoder I1 (true)
1
CID
Numeric Decoder0 (false)
2
VALUE FOR
PCD5013
REV: revision (Table 9). This identifies the manufacturing
version of the PCD5013. For the PCD5013 the value is 8.
8.4.6C
HECKSUM PACKET (ID = 00H)
See Table 10 for checksum packet bit assignment.
CV: checksum value (24 bits), see Section 8.4.2.
Table 8 Configuration packet bit assignments
BYTEBIT 7BIT 6BIT 5BIT 4BIT 3BIT 2BIT 1BIT 0
300000001
20DFC000IDEOFD
100000PCESP
1
1SP0
OFD
0SMEMOTCODMTELBPICO00
1999 Apr 1219
0
Philips SemiconductorsProduct specification
FLEX roaming decoder IIPCD5013
Table 9 Part ID packet bit assignments
BYTEBIT 7BIT 6BIT 5BIT 4BIT 3BIT 2BIT 1BIT 0
311111111
2MDL
1CID
0REV
1
7
7
MDL
CID
REV
0
6
6
Table 10 Checksum packet bit assignments
BYTEBIT 7BIT 6BIT 5BIT 4BIT 3BIT 2BIT 1BIT 0
300000000
2CV23CV
1CV15CV
0CV
7CV6
22
14
CID
CID
REV
CV
CV
CV
13
5
5
21
13
5
CID
CID
REV
CV
CV
CV
12
4
4
20
12
4
CID
CID
REV
CV
CV
CV
11
3
3
19
11
3
CID
CID
REV
CV
CV
CV
10
2
2
18
10
2
CID
CID
REV
CV
CV
CV
9
1
1
17
9
1
CID
CID
REV
CV
CV
CV
8
0
0
16
8
0
1999 Apr 1220
Philips SemiconductorsProduct specification
FLEX roaming decoder IIPCD5013
8.4.7CONTROL PACKET (ID = 02H)
The control packet defines a number of different control
bits for the PCD5013.
FF: force frame 0 to 7 (Table 12). When set, each of these
bits forces the PCD5013 to decode one of the FLEX
frames 0 to 7 irrespective of the system collapse value (for
details of collapse values see Section 8.6.2). For example,
if the system collapse causes the PCD5013 to decode
frames 0, 32, 64 and 96, setting FF2 causes the PCD5013
to also decode FLEX frame 2. This may be used to
acquire transmitted time information or channel attributes
(e.g. Local ID). Value after reset = 0.
SPM: single phase mode (Table 12). When this bit is set,
the PCD5013 decodes only one of the transmitted phases.
When this bit is clear, the PCD5013 decodes all
transmitted phases. This value is determined by the
CAPCODE (Section 8.6). A change to this bit while the
PCD5013 is on does not take effect until the next block 0
of a frame. Value after reset = 0.
PS: phase select (Tables 11 and 12). When the SPM bit is
set, these bits define which phase the PCD5013 shall
decode. This value is determined by the CAPCODE
(Section 8.6). A change to these bits, while the PCD5013
is on, does not take effect until the next block 0 of a frame.
Value after reset = 0.
Table 11 Phase selection (by PS bits)
DECODED PHASE (BASED ON
PS
PS
1
0
FLEX DATA RATE)
1600 bits/s 3200 bits/s 6400 bits/s
00AAA
01AAB
10 ACC
11 ACD
SBI: send block information words (BIW) 2 to 4
(Table 12). When this bit is set, BIWs with time and date
information and BIWs received in error are sent to the host,
(Section 8.7.9). Value after reset = 0.
MTC: minute timer clear (Table 12). Setting this bit causes
the 1-minute timer to restart from 0 (Section 8.4.8).
ON: turn on decoder (Table 12). When this bit is set, the
PCD5013 decodes FLEX signals. If this bit is cleared,
signal processing stops. However, to assure proper
operation, the PCD5013 requires that it be set into
asynchronous mode when turned off. To achieve that the
following sequence must be used:
1. Send control packet with ON bit clear (decoder off)
2. Send control packet with ON bit set (decoder on)
3. Send control packet with ON bit clear (decoder off).
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.
• The minimum time between steps 1 and 2 is the greater
of 2 ms or the programmed shut-down time.
The programmed shut-down time is the sum of all 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
times programmed in the used receiver warm-up
settings packets.
EAE: end of addresses enable. When this bit is set, the EA
bit in the Status Packet is PCD5013 set immediately after
the PCD5013 decodes the last address word in the frame
if any of the enabled PCD5013 addresses was detected in
the frame. When this bit is cleared, the EA bit is never set.
Table 12 Control packet bit assignments
BYTEBIT 7BIT 6BIT 5BIT 4BIT 3BIT 2BIT 1BIT 0
300000010
2FF
7FF6
FF
10SPMPS
5
1
FF
PS
4
0
FF
3
0000
FF
2
FF
1
FF
00SBI0MTC00EAEON
1999 Apr 1221
0
Philips SemiconductorsProduct specification
FLEX roaming decoder IIPCD5013
8.4.8OPERATING THE 1-MINUTE TIMER
The PCD5013 provides a 1-minute timer which allows the
host to implement a time-of-day function while maintaining
low-power operation. The 1-minute timer is enabled using
the MTE bit in the configuration packet (Section 8.4.4).
When the 1-minute timer is enabled, a status packet is
sent at 1-minute intervals with the MT bit set
(Section 8.4.11). When the MTE bit is clear, the internal
1-minute timer stops counting. When the host sends a
control packet with MTC bit set, the 1-minute timer restarts
from 0. This allows accurate setting of a time-of-day
function.
8.4.9R
OAMING CONTROL PACKET (ID = 05H)
The roaming control packet controls the features of the
PCD5013 that allow implementation of a roaming pager.
IRS: ignore re-synchronization signal (Table 13). When
this bit is set, the PCD5013 does not go asynchronous
when detecting an Ar or Ar signal during searches for
A-words. It merely reports that the re-synchronization
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
re-synchronization signal. It also prevents the PCD5013
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. Value after reset = 0.
NBC: network bit check (Table 13). Setting this bit enables
reporting of the received network bit value (NBU and n) in
the Roaming Status Packet. Setting this bit also makes the
PCD5013 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 PCD5013 is in synchronous mode
when this occurs (probably due to synchronizing to a
second channel), it maintains synchronization to the
original channel.
If the PCD5013 is in asynchronous mode when this
occurs, it stays 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. Value
after reset = 0.
MCM: manual collapse mode (Table 13). When this bit is
set, the PCD5013 behaves as if the system collapse
was 7. The PCD5013 does 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.
IS1: invert EXTS1 (Table 13). Setting this bit inverts the
expected polarity of the EXTS1 pin from the way it is
configured by SP 1 in the Configuration Packet (e.g. if both
IS1 and SP 1 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. This bit has
the equivalent effect when using the internal demodulator.
Value after reset = 0.
SDF: stop decoding frame (Table 13). Setting this bit
causes the PCD5013 to stop decoding a frame without
losing frame synchronization. This bit is set by the host,
and cleared by the PCD5013 once it has been processed.
The packet with the SDF bit set 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 the PCD5013 set
the EA bit. Value after reset = 0.
RSP: receiver shutdown packet enable (Table 13). When
this bit is set, a Receiver Shutdown Packet is sent
whenever the receiver is shut down. The receiver
shutdown packet informs the host that the receiver
shutdown, and gives the time period before the PCD5013
automatically warms the receiver back up. Value after
reset = 0.
SND: start noise detect (Table 13). Setting this bit while
the PCD5013 is battery saving causes 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 the PCD5013
once it has been processed. If the time comes for the
PCD5013 to warm-up automatically or the SAS bit is set
while an SND is being processed, the noise detect is
abandoned and the abandoned noise detect result
(NDR = 01) is sent in the Roaming Status Packet. Value
after reset = 0.
CND: continuous noise detect (Table 13). Setting this bit
causes the PCD5013 to do continuous noise detects
during the decoded block data of a frame. The results of
the noise detect is only reported if noise is detected
(NDR = 11). Only one noise detected result (NDR = 11) is
sent per block. If the PCD5013 has not completed a noise
detect when it shuts down for the frame, that noise detect
is abandoned, but no abandon result (NDR = 01) is sent.
This bit is set and cleared by the host. Value after
reset = 0.
RND: report noise detects (Table 13). Setting this bit
causes the PCD5013 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 is reported via NDR in the
Roaming Status Packet. This bit is set and cleared by the
host. Value after reset = 0.
ABI: all block information words (Table 13). When this bit
is set, the PCD5013 sends 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. Value after reset = 0.
SAS: start A-word search (Table 13). Setting this bit while
in asynchronous battery save mode causes the PCD5013
to warm-up the receiver and run an A-word search.
If, during the A-word search, the PCD5013 finds sufficient
FLEX signal, it enters synchronous mode and start
decoding the frame. If the A-word search times-out without
finding sufficient FLEX signal, it enters a battery save
mode 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 the PCD5013 is
performing an A-word search and the time comes to do
automatic noise detect, the noise detect is not performed.
This bit is set by the host, and cleared by the PCD5013
once it has been acted on. Value after reset = 0.
MFC: missed frame control (Tables 14 and 13). These bits
control the frames for which missing frame data (MS1,
MFI, MS2, MBI, and MAW) is reported in the Roaming
Status Packet. Value after reset = 0.
Table 14 Missed Frame Control (MFC bits)
MFC
MCO: maximum carry on (Table 13). The value of these
bits sets the maximum carry on that the PCD5013 follows.
For example, if the PCD5013 receives a carry on of 3 over
the air and MCO is set to 1, the PCD5013 only carries on
for one frame. Value after reset = 3.
DAS: disable A-word search (Table 13). When this bit is
set, an A-word search does 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. The PCD5013 shuts
down the receiver after the noise detect completes
regardless of the result. When this bit is cleared, A-word
searches occur after a noise detect finds signal in
asynchronous mode. Value after reset = 0.
MFC0MISSING FRAME DATA REPORTED
1
00never
01only during frames 0 through 3
10only during frames 0 through 7
11always
1999 Apr 1223
Loading...
+ 53 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.