beautypg.com

Atmega128rfa1 – Rainbow Electronics ATmega128RFA1 User Manual

Page 51

background image

51


8266A-MCU Wireless-12/09

ATmega128RFA1

Table 9-7. Configuration of a PAN Coordinator

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

SLOTTED_OPERATION

0

0

: if transceiver works in unslotted mode

1

: if transceiver works in slotted mode

AACK_I_AM_COORD

3

1

: device is PAN coordinator

AACK_SET_PD

5

0

: frame pending subfield is not set in FCF

1

: frame pending subfield is set in FCF

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

Promiscuous Mode

The promiscuous mode is described in IEEE 802.15.4-2006, section 7.5.6.5. This mode
is further illustrated in

Radio Transceiver Extended Feature Set on page 85

. According

to IEEE 802.15.4-2006 when in promiscuous mode, the MAC sub layer shall pass
received frames with correct FCS to the next higher layer without further processing.
That implies that frames should never be acknowledged.

Only second level filter rules as defined by IEEE 802.15.4-2006, section 7.5.6.2, are
applied to the received frame.

Table 9-8 below

shows the typical configuration of a device operating in promiscuous

mode.

Table 9-8. Configuration of Promiscuous Mode

Register Name

Register Bits

Description

SHORT_ADDR_0/1

PAN_ADDR_0/1

IEEE_ADDR_0

IEEE_ADDR_7

Each address shall be set: 0x00

AACK_PROM_MODE

1

1

: Enable promiscuous mode

AACK_DIS_ACK

4

1

: Disable generation of acknowledgment