beautypg.com

Atmega128rfa1 – Rainbow Electronics ATmega128RFA1 User Manual

Page 53

background image

53


8266A-MCU Wireless-12/09

ATmega128RFA1

Reception of Reserved Frames

Frames with reserved frame types (see section

Table 9-16 on page 63

)

can also be

handled in RX_AACK mode. This might be required when implementing proprietary,
non-standard compliant protocols. It is an extension of the address filtering in
RX_AACK mode. Received frames are either handled similar to data frames or may be
allowed to completely bypass the address filter.

Table 9-10 below

shows the required configuration for a node to receive reserved

frames and

Figure 9-19 on

page 48

shows the corresponding flow chart.

Table 9-10. RX_AACK Configuration to Receive Reserved Frame Types

Register Name

Register Bits

Description

SHORT_ADDR_0/1

PAN_ADDR_0/1

IEEE_ADDR_0

IEEE_ADDR_7

Set node addresses

RX_SAFE_MODE

7

0

: disable frame protection

1

: enable frame protection

AACK_UPLD_RES_FT

4

1

: Enable reserved frame type reception

AACK_FLTR_RES_FT

5

Filter reserved frame types like data frame type,
see note below
0

: disable

1

: enable

SLOTTED_OPERATION

0

0

: if transceiver works in un-slotted mode

1

: if transceiver works in slotted mode

AACK_I_AM_COORD

3

0

: device is not PAN coordinator

1

: device is PAN coordinator

AACK_DIS_ACK

4

0

: Enable generation of acknowledgment

1

: Disable generation of acknowledgment

AACK_FVN_MODE

7:6

Controls the ACK behavior, depends on FCF
frame version number
0x00

: acknowledges only frames with version

number 0, i.e. according to IEEE 802.15.4-2003
frames
0x01

: acknowledges only frames with version

number 0 or 1, i.e. frames according to
IEEE 802.15.4-2006
0x10

: acknowledges only frames with version

number 0 or 1 or 2
0x11

: acknowledges all frames, independent of

the FCF frame version number

There are two different options for handling reserved frame types.

1. AACK_UPLD_RES_FT = 1, AACK_FLT_RES_FT = 0:

Any non-corrupted frame with a reserved frame type is indicated by a
TRX24_RX_END interrupt. No further address filtering is applied on those frames.
A TRX24_AMI interrupt is never generated and the acknowledgment subfield is
ignored.

2. AACK_UPLD_RES_FT = 1, AACK_FLT_RES_FT = 1: