beautypg.com

2 configuration – Rainbow Electronics AT86RF231 User Manual

Page 50

background image

50

8111A–AVR–05/08

AT86RF231

7.2.2

Configuration

The use of the Extended Operating Mode is based on Basic Operating Mode functionality. Only
features beyond the basic radio transceiver functionality are described in the following sections.
For details on the Basic Operating Mode refer to

Section 7.1 “Basic Operating Mode” on page

33

.

When using the RX_AACK or TX_ARET modes, the following registers needs to be configured.

RX_AACK configuration steps:

The addresses for the address match algorithm are to be stored in the appropriate address reg-
isters. Additional control of the RX_AACK mode is done with register 0x17 (XAH_CTRL_1) and
register 0x2E (CSMA_SEED_1).

As long as a short address has not been set, only broadcast frames and frames matching the
IEEE address can be received.

Configuration examples for different device operating modes and handling of various frame
types can be found in

Section 7.2.3.1 “Description of RX_AACK Configuration Bits” on page 54

.

TX_ARET configuration steps:

M A X _ F R A M E _ R E T R I E S ( r e g i s t e r 0 x 2 C ) d e f i n e s t h e m a x i m u m n u m b e r o f f r a m e
retransmissions.

The register bits MAX_CSMA_RETRIES (register 0x2C) configure the number of CSMA-CA
retries after a busy channel is detected.

• Short address, PAN-ID and IEEE address

registers 0x20 - 0x2B

• Configure RX_AACK properties

registers 0x2C, 0x2E

– Handling of Frame Version Subfield

– Handling of Pending Data Indicator

– Characterize as PAN coordinator

– Handling of Slotted Acknowledgement

• Additional Frame Filtering Properties

registers 0x17, 0x2E

– Promiscuous Mode

– Enable or disable automatic ACK generation

– Handling of reserved frame types

• Leave register bit TX_AUTO_CRC_ON = 1

register 0x04, TRX_CTRL_1

• Configure CSMA-CA

– MAX_FRAME_RETRIES

register 0x2C, XAH_CTRL_0

– MAX_CSMA_RETRIES

register 0x2C, XAH_CTRL_0

– CSMA_SEED

registers 0x2D, 0x2E

– MAX_BE, MIN_BE

register 0x2F, CSMA_BE

• Configure CCA (see

Section 8.5

)