beautypg.com

7 register summary, Register summary, Table – Rainbow Electronics ATmega128RFA1 User Manual

Page 60: 13 on, And expects an, Table 9-13 on, Atmega128rfa1

background image

60



8266A-MCU Wireless-12/09

ATmega128RFA1

Table 9-13. Interrupt Handling in Extended Operating Mode

Mode

Interrupt

Description

TRX24_RX_START

Indicates a PHR reception

TRX24_AMI

Issued at address match

RX_AACK

TRX24_RX_END

Signals completion of RX_AACK transaction if
successful

-

A received frame must pass the address filter;

-

The FCS is valid

TX_ARET

TRX24_TX_END

Signals completion of TX_ARET transaction

Both

TRX24_PLL_LOCK

Entering RX_AACK_ON or TX_ARET_ON state from
TRX_OFF state, the TRX24_PLL_LOCK interrupt
signals that the transaction can be started

RX_AACK

For RX_AACK it is recommended to enable the TRX24_RX_END interrupt. This
interrupt is issued only if a frame passes the frame filtering (see section

"Frame

Filtering" on

page 54) and has a valid FCS. This is different to Basic Operating Mode

(see section

"Basic Operating Mode" on page 35

). The use of the other interrupts is

optional.

On reception of a valid PHR a TRX24_RX_START interrupt is issued. The TRX24_AMI
interrupt indicates an address match (see filter rules in section

"Frame Filtering" on

page 54). The completion of a frame reception with a valid FCS is indicated by the
TRX24_RX_END interrupt.

Thus it can happen that a TRX24_RX_START and/or a TRX24_AMI interrupt are
issued, but no TRX24_RX_END interrupt.

The end of an acknowledgment transmission is confirmed by a TRX24_TX_END
interrupt.

TX_ARET

In TX_ARET interrupt TRX24_TX_END is only issued after completing the entire
TX_ARET transaction.

Acknowledgement frames do not issue a TRX24_RX_START, TRX24_AMI or a
TRX24_RX_END interrupt.

All other interrupts as described in section

Table 9-2 on page 34

are also available in

Extended Operating Mode.

9.4.2.7 Register Summary

The following registers (

Table 9-14 below

) are to be configured to control the Extended

Operating Mode:

Table 9-14. Register Summary

Register Name

Description

TRX_STATUS

Radio transceiver status, CCA result

TRX_STATE

Radio transceiver state control, TX_ARET status

TRX_CTRL_1

TX_AUTO_CRC_ON

PHY_CC_CCA

CCA mode control,

Table 9-21 on page 70

CCA_THRES

CCA threshold settings, see

"Overview" on page 70

XAH_CTRL_1

RX_AACK control