State Machine Reset

PHY_STATE_RESET

This command sequence is executed in order to reset the state machine of the radio transceiver to state TRX_OFF. With this procedure any transaction in progress (e.g. if the radio transceiver is in one of the [BUSY] states) is canceled immediately.

All other register values (channel, power, ...) of the radio transceiver will not be affected by this procedure.

In order to ensure, that the radio transceiver is not in one of the *_NOCLK states, the pin TRX_PIN_SLP_TR is set to LOW, before CMD_FORCE_TRX_OFF is written.

inline_mscgraph_6
Code example
    trx_pinset_slptr(0);
    delay_us(6);
    trx_bit_write(SR_TRX_CMD, CMD_FORCE_TRX_OFF);
    delay_us(6);
    state = trx_bit_read(SR_TRX_STATUS);
    ASSERT(state==TRX_OFF);

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