beautypg.com

Atmega128rfa1 – Rainbow Electronics ATmega128RFA1 User Manual

Page 103

background image

103


8266A-MCU Wireless-12/09

ATmega128RFA1

command to the TRX_CMD bits of register TRX_STATE. The register is not accessible
in SLEEP state.

Bit 7 – CCA_DONE - CCA Algorithm Status

This bit indicates if a CCA request is completed. This is also indicated by a
TRX24_CCA_ED_DONE interrupt. Note that register bit CCA_DONE is cleared in
response to a CCA_REQUEST.

Table 9-30 CCA_DONE Register Bits

Register Bits

Value

Description

0

CCA calculation not finished

CCA_DONE

1

CCA calculation finished

Bit 6 – CCA_STATUS - CCA Status Result

The result of the CCA measurement is available in register bit CCA_STATUS after a
CCA request is completed. Note that register bit CCA_STATUS is cleared in response
to a CCA_REQUEST.

Table 9-31 CCA_STATUS Register Bits

Register Bits

Value

Description

0

Channel indicated as busy.

CCA_STATUS

1

Channel indicated as idle.

Bit 5 – TST_STATUS - Test mode status

This bit is reserved for internal use. It indicates the status of the test mode.

Table 9-32 TST_STATUS Register Bits

Register Bits

Value

Description

0

Test mode is disabled.

TST_STATUS

1

Test mode is active.

Bit 4:0 – TRX_STATUS4:0 - Transceiver Main Status

The register bits TRX_STATUS signal the current radio transceiver status. Do not try to
initiate

a

further

state

change

while

the

radio

transceiver

is

in

STATE_TRANSITION_IN_PROGRESS state. Values not listed in the following table
are reserved.

Table 9-33 TRX_STATUS Register Bits

Register Bits

Value

Description

0x01

BUSY_RX

0x02

BUSY_TX

0x06

RX_ON

0x08

TRX_OFF

0x09

PLL_ON

0x0F

SLEEP

0x11

BUSY_RX_AACK

0x12

BUSY_TX_ARET

0x16

RX_AACK_ON

0x19

TX_ARET_ON

TRX_STATUS4:0