Transitions to/from State SLEEP [15]

This section describes how the state SLEEP is entered and left. The following state transitions are defined:


PHY_STATE_TRX_OFF__SLEEP

After setting the pin TRX_PIN_SLP_TR = HIGH, the radio transceiver delivers another 35 clock cycles on the pin TRX_PIN_CLKM before it reaches the SLEEP state. With the default configuration of 1 MHz, the state transition happens within 35 us (see also section CLKM Frequency Change).

inline_mscgraph_43
Code example
    trx_pinset_slptr(1);
    delay_us(35);
    ASSERT(trxstat==SLEEP);

PHY_STATE_SLEEP__TRX_OFF

After setting the pin TRX_PIN_SLP_TR = LOW, the radio transceiver needs typically 880 us (refer to AT86RF230 data sheet) for wakeup. If the MCU is active during this transition, the software may poll the sub register SR_TRX_STATUS until the state TRX_OFF is reached.

inline_mscgraph_44
Code example
    trx_pinset_slptr(0);
    delay_us(880);
    trxstat = trx_bit_read(SR_TRX_STATUS);
    ASSERT(trxstat==TRX_OFF);

Generated on Fri Aug 10 16:10:05 2007 for SWPM AT86RF230 Rev. A by  doxygen 1.5.2