beautypg.com

3 radio transceiver identification, Table 9-2 on, Atmega128rfa1 – Rainbow Electronics ATmega128RFA1 User Manual

Page 34

background image

34



8266A-MCU Wireless-12/09

ATmega128RFA1

Table 9-2. Interrupt Description in Basic Operating Mode

IRQ Vector
Number/
Priority

(1)

IRQ Name

Description

Section

64

TRX24_AWAKE

Indicates radio transceiver reached TRX_OFF
state RESET, or SLEEP states

"TRX_OFF – Clock State" on page 36

63

TRX24_TX_END

Indicates the completion of a frame
transmission

"Frame Transmit Procedure" on page 84

62

TRX24_XAH_AMI

Indicates address matching

"Frame Filtering" on page 54

61

TRX24_CCA_ED_DONE

Indicates the end of a CCA or ED
measurement

"Energy Detection (ED)" on page 68

60

TRX24_RX_END

Indicates the completion of a frame reception

"Frame Transmit Procedure" on page 84

59

TRX24_RX_START

Indicates the start of a PSDU reception. The
TRX_STATE changes to BUSY_RX, the PHR
is ready to be read from Frame Buffer

"Frame Receive Procedure" on page 84

58

TRX24_PLL_UNLOCK

Indicates PLL unlock. If the radio transceiver
is in BUSY_TX / BUSY_TX_ARET state, the
PA is turned off immediately

"Interrupt Handling" on page 83

57

TRX24_PLL_LOCK

Indicates PLL lock

"Interrupt Handling" on page 83

Note:

1. The lowest IRQ Number has the highest priority.

During startup from SLEEP or RESET, the radio transceiver issues an TRX24_AWAKE
interrupt when it enters state TRX_OFF.

If the microcontroller initiates an energy-detect (ED) or clear-channel-assessment
(CCA) measurement, the completion of the measurement is indicated by interrupt
TRX24_CCA_ED_DONE, refer to sections

"Energy Detection (ED)" on page 68

and

"Clear Channel Assessment (CCA)" on page 70

for details.

After RESET all interrupts are disabled. During radio transceiver initialization it is
recommended to enable AWAKE to be notified once the TRX_OFF state is entered.
Note that the TRX24_AWAKE interrupt can usually not be seen when the transceiver
enters TRX_OFF state after RESET, because register IRQ_MASK is reset to mask all
interrupts. In this case, state TRX_OFF is normally entered before the microcontroller
could modify the register.

The interrupt handling in Extended Operating Mode is described in section

"Interrupt

Handling" on page 59

.

9.3.3 Radio Transceiver Identification

The ATmega128RFA1 Transceiver module can be identified by four registers
(PART_NUM, VERSION_NUM, MAN_ID_0, MAN_ID_1). One register contains a
unique part number and one register the corresponding version number. Two additional
registers contain the JTAG manufacture ID. The transceiver identification registers are
provided for compatibility to the transceiver only device.

A unique device identification is also possible with the three AVR signature bytes. For
details about accessing this information refer to

"Signature Bytes" on page 466

.