Atmega128rfa1 – Rainbow Electronics ATmega128RFA1 User Manual
Page 97

97
8266A-MCU Wireless-12/09
ATmega128RFA1
The transmission is started by enabling the PLL (TRX_CMD = PLL_ON) and writing the
TX_START command to register TRX_STATE.
Even for CW signal transmission it is required to write valid PSDU data to the Frame
Buffer. For PRBS mode it is recommended to write a frame of maximum length.
The detailed programming sequence is shown in
. The column R/W
informs about writing (W) or reading (R) a register or the Frame Buffer.
Table 9-26. Continuous Transmission Programming Sequence
Step Action
Register
R/
W
Value Description
1
RESET
Reset the transceiver
2
Register Access
IRQ_MASK
W
0x01
Set IRQ mask register, enable
PLL_LOCK interrupt and set
global AVR IRQ enable
3
Register Access
TRX_CTRL_1
W
0x00
Disable TX_AUTO_CRC_ON
4
Register Access
TRX_STATE
W
0x03
Set radio transceiver state
TRX_OFF
5
Register Access
PHY_CC_CCA
W
0x33
Set IEEE 802.15.4 CHANNEL,
e.g. 19
6
Register Access
PHY_TX_PWR
W
0x00
Set TX output power, e.g. to P
max
7
Register Access
TRX_STATUS
R
0x08
Verify TRX_OFF state
8
Register Access
TST_CTRL_DIGI
W
0x0F Enable Continuous Transmission
Test Mode – step # 1
9
(1)
Register Access
TRX_CTRL_2
W
0x03
Enable High Data Rate Mode, 2
Mb/s
10
(1)
Register Access
RX_CTRL
W
0xA7 Configure High Data Rate Mode
11
(2)
Frame Buffer
Write Access
W
Write PSDU data (even for CW
mode), refer to
12
Register Access
PART_NUM
W
0x54
Enable Continuous Transmission
Test Mode – step # 2
13
Register Access
PART_NUM
W
0x46
Enable Continuous Transmission
Test Mode – step # 3
14
Register Access
TRX_STATE
W
0x09
Enable PLL_ON state
15
Interrupt event
R
0x01
Wait for PLL_LOCK interrupt
16
Register Access
TRX_STATE
W
0x02
Initiate Transmission,
enter BUSY_TX state
17
Measurement
Perform measurement
18
Register Access
TRX_CTRL_2
W
0x00
Disable Continuous
Transmission Test Mode
19
RESET
Reset the transceiver
Notes:
1. Only required for CW mode, do not configure for PRBS mode.
2. Frame Buffer content varies for different modulation schemes.
The content of the Frame Buffer has to be defined for Continuous Transmission PRBS
mode or CW mode. To measure the power spectral density (PSD) mask of the
transmitter it is recommended to use a random sequence of maximum length for the
PSDU data.