CWPAN Operation Mode

The radio transceiver can be operated in the chinese 780 MHz band, defined in IEEE 802.15.4c-2009. The configuration parameters for compliant operation in this mode is described in the following sections.

Configure Modulation OQPSK-RC-250
See also section Physical Layer Mode.

useoqpsk = 1,
rcen = 1
or phymode = 0x3c
Using OQPSK-250 modulation with raised cosine filtering with roll-off factor 0.8 (RC-0.8) for pulse shaping and scrambler enabled. These values can be combined with the reset value of register RG_TRX_CTRL_2 into the variable phymode = 0x3c.

gctxoffset = 2 Offset value for the TX output power. For more details refer to table 7-16 (Mode-dependent setting of GC_TX_OFFS) in the AT86RF212 datasheet.

Configure Transmit Power Level
See section Transmit Power Setting.
txpower = {indexvalue} The value for the register RG_PHY_TX_PWR retrieved from table 7-15 (Recommended Mapping of TX Power, Frequency Band, and PHY_TX_PWR) in the AT86RF212 datasheet.

Configure Center Frequency
See section RF Channel Selection.

ccband = 1 The RF channel band 1 allows to adjust the center frequencies from 769.0 up to 794.5 MHz according to $ Fc = 769.0 + 0.1 * ccnumber [MHz] $.
ccnumber = {110,130,150,170} Configuration of center frequencies for CWPAN channels defined on IEEE channel page 5.
ccnumberchannelfrequency [MHz]
110 0780
130 1782
150 2784
170 3786

Use Cases:

CFG_CWPAN

Note:
  1. For configuration of the Physical Layer Mode for OQPSK-250-RC0.8 the radio transceiver needs to be in state TRX_OFF according to section Physical Layer Mode.
  2. The channel parameters can be adjusted in all states listed in section RF Channel Selection.
  3. The configuration of the transmit power can be written in all states listed in section Transmit Power Setting.
inline_mscgraph_33
Code example
    /* AT86RF212::TRX_OFF */
    pm = trx_reg_read(RG_TRX_CTRL_2);
    pm = pm & 0xc0;
    pm = pm | phymode;
    trx_reg_write(RG_TRX_CTRL_2, pm);
    trx_bit_write(SR_GC_TX_OFFS, gctxoffset);
    trx_reg_write(RG_PHY_TX_PWR, txpower);
    trx_bit_write(SR_CC_BAND, ccband);
    trx_bit_write(SR_CC_NUMBER, ccnumber);

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