beautypg.com

2 configuration of ieee scenarios, Configuration of ieee scenarios" on, Atmega128rfa1 – Rainbow Electronics ATmega128RFA1 User Manual

Page 50

background image

50



8266A-MCU Wireless-12/09

ATmega128RFA1

9.4.2.3.2 Configuration of IEEE Scenarios

Normal Device

The

Table 9-6 below

shows a typical RX_AACK configuration of an IEEE 802.15.4

device operated as a normal device rather than a PAN coordinator or router.

Table 9-6. Configuration of IEEE 802.15.4 Devices

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_FVN_MODE

7:6

Controls the ACK behavior, depending 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

Notes: 1. If no short address has been configured before the device has been assigned one

by the PAN-coordinator, only frames directed to either the broadcast address or
the IEEE address are received.

2. In IEEE 802.15.4-2003 standard the frame version subfield did not yet exist but

was marked as reserved. According to this standard, reserved fields have to be set
to zero. On the other hand, IEEE 802.15.4-2003 standard requires ignoring
reserved bits upon reception. Thus, there is a contradiction in the standard which
can be interpreted in two ways:

a) If a network should only allow access to nodes which use the

IEEE 802.15.4-2003, then AACK_FVN_MODE should be set to 0.

b) If a device should acknowledge all frames independent of its frame version,

AACK_FVN_MODE should be set to 3. However, this can result in conflicts with
co-existing IEEE 802.15.4-2006 standard compliant networks.

The same holds for PAN coordinators as described below.

PAN-Coordinator

Table 9-7 on page 51

shows the RX_AACK configuration for a PAN coordinator.