
SmartRF
CC2420
If a frame is rejected,
CC2420
will only start
searching for a new frame after the
rejected frame has been completely
received (as defined by the length field) to
avoid detecting false SFDs within the
frame.
The
control bit must be correctly set, since
parts of the address recognition procedure
requires knowledge about whether the
current device is a PAN coordinator or not.
MDMCTRL0.PAN_COORDINATOR
Acknowledge Frames
CC2420
includes hardware support for
transmitting acknowledge frames, as
specified in [1]. Figure 22 shows the
format of the acknowledge frame.
If
MDMCTRL0.AUTOACK
is enabled, an
acknowledge frame is transmitted for all
incoming frames accepted by the address
recognition with the acknowledge request
flag set and a valid CRC.
AUTOACK
therefore does not make sense unless
also
ADR_DECODE
and
AUTOCRC
are
enabled. The sequence number is copied
from the incoming frame.
AUTOACK
may be used for non-beacon
systems as long as the frame pending
field (see Figure 18) is cleared. The
acknowledge frame is then transmitted 12
symbol periods after the last symbol of the
incoming frame. This is as specified by [1]
for non-beacon networks.
Frame
Control Field
(FCF)
MAC Header (MHR)
Data
Sequence
Number
2
1
Frame Check
Sequence
(FCS)
MAC Footer
(MFR)
2
Frame
Length
Start of Frame
Delimiter
(SFD)
Bytes:
1
1
Preamble
Sequence
4
Synchronisation Header
(SHR)
PHY Header
(PHR)
Figure 22. Acknowledge frame format [1]
Two
SACKPEND
acknowledge frames with the frame
pending field cleared or set, respectively.
The
acknowledge
transmitted if the CRC is valid.
command
strobes,
defined
SACK
to
and
are
transmit
frame
is
only
For systems using beacons, there is an
additional timing requirement that the
acknowledge frame transmission should
be started on the first backoff-slot
boundary (20 symbol periods) at least 12
symbol periods after the last symbol of the
incoming frame. This timing must be
controlled by the microcontroller by issuing
the
SACK
and
SACKPEND
command strobe
12 symbol periods before the following
backoff-slot boundary, as illustrated in
Figure 23.
If a
SACK
or
SACKPEND
command strobe
is issued while receiving an incoming
frame,
the
acknowledge
transmitted 12 symbol periods after the
last symbol of the incoming frame. This
should be used to transmit acknowledge
frames in non-beacon networks. This
timing is also illustrated in Figure 23.
frame
is
Using
SACKPEND
will set the pending data
flag
for
automatically
acknowledge frames using
AUTOACK
. The
pending flag will then be set also for future
acknowledge
frames,
command strobe is issued.
transmitted
until
a
SACK
Acknowledge frames may be manually
transmitted
using
transmission if desired.
normal
data
Chipcon AS
SmartRF
CC2420 Preliminary Datasheet (rev 1.2), 2004-06-09
Page 40 of 87