Physical Layer Mode

The radio transceiver supports BPSK and O-QPSK modulation at different data rates, described in section 7.1 (Physical Layer Modes) and table 7-5 (Register 0x0C (TRX_CTRL_2) Bit Alignment) of the AT86RF212 datasheet.

Note:
In order to change the physical layer mode, the radio transceiver has to be in state TRX_OFF (see also section Transitions to State TRX_OFF).
Parameters:
useoqpsk values {0,1}, see table below.
submode values {0,1}, see table below.
oqpskrate values {0,1,2}, see table below.
scramen scrambler configuration for O-QPSK_{400,1000}; values { 0: disabled, 1: enabled (default)}.
rcen transmit signal pulse shaping for O-QPSK_{250,500,1000}; values {0 : half-sine filtering (default), 1 : RC-0.8 filtering}.
gctxoffset offset value for the TX output power. Since this transmit power configuration parameter depends on the selected modulation, it is set in this sequence to the values {3} for BPSK and {2} for O-QPSK. For more details refer to table 7-16 (Mode-dependent setting of GC_TX_OFFS) in the AT86RF212 datasheet.
Note:
The parameters scramen and rcen shall be set according to table 7-5 (Register 0x0C (TRX_CTRL_2) Bit Alignment) of the AT86RF212 datasheet in order to configure standard compliant modes.

Combinations of PHY Layer Mode Parameters

(see also table 7-5 (Register 0x0C (TRX_CTRL_2) Bit Alignment) of the AT86RF212 datasheet)

Modeuseoqpsksubmodeoqpskrate
BPSK_2000X
BPSK_4001X
O-QPSK_100100
O-QPSK_200101
O-QPSK_400102
O-QPSK_250110
O-QPSK_500111
O-QPSK_1000112

Use Cases:


SET_PHY_MODE

The modulation and PSDU data rate of the radio transceiver can be set using the following sequence.

inline_mscgraph_8
Code example

GET_PHY_MODE

inline_mscgraph_9
Code example
    /* AT86RF212::[ACTIVE] */
    useoqpsk = trx_bit_read(SR_BPSK_OQPSK);
    submode = trx_bit_read(SR_SUB_MODE);
    oqpskrate = trx_bit_read(SR_OQPSK_DATA_RATE);
    scramen = trx_bit_read(SR_OQPSK_SCRAM_EN);
    rcen = trx_bit_read(SR_OQPSK_SUB1_RC_EN);
    gctxoffset = trx_bit_read(SR_GC_TX_OFFS);

Generated on Mon Aug 17 13:34:59 2009 for SWPM AT86RF212 by  doxygen 1.5.6