
FLEX
TM
ROAMING DECODER II
S5T8701
20
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. All frame mode is enabled if any
temporary address enable counter is non-zero, the all frame mode counter is non-zero, or the force all frame
mode bit is set. If all frame mode is enabled, the S5T8701 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. Both the all frame mode counter and the
temporary address enable counters can only be incremented internally by the S5T8701 and can only be
decremented by the host. The S5T8701 will increment a temporary address enable counter whenever a short
instruction vector is received assigning the corresponding temporary address. See
"
Operation of a Temporary
Address
"
on page 64 for details. The S5T8701 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 S5T8701 in order
to exit the all frame mode, thereby improving battery life. See
"
Building a Fragmented Message
"
on page 61 for
details. Neither the temporary address enable counters nor the all frame mode counter can be incremented past
the value 127 (i.e. it will not roll-over) or decremented past the value 0. 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 6: All Frame Mode Packet Bit Assignments
Bit 7
0
DAF
DTA
15
DTA
7
Bit 6
0
FAF
DTA
14
DTA
6
Bit 5
0
0
DTA
13
DTA
5
Bit4
0
0
DTA
12
DTA
4
Bit 3
0
0
DTA
11
DTA
3
Bit 2
0
0
DTA
10
DTA
2
Bit 1
1
0
DTA
9
DTA
1
Bit 0
1
0
DTA
8
DTA
0
Byte 3
Byte 2
Byte 1
Byte 0
DAF:
Decrement All Frame 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. (value after reset=0)
FAF:
Force All Frame mode. Setting this bit forces the S5T8701 to enter all frame mode. If this bit is
clear, the S5T8701 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.(value after reset=0)
DTA:
Decrement Temporary Address enable counter. When a bit in this word is set, the corresponding
temporary address enable counter is decremented by one. When a bit is cleared, the corresponding
temporary address enable counter is not affected. When a temporary address enable counter
reaches zero, the temporary address is disabled.(value after reset=0)