Reset

PHY_RESET

This command sequence is executed to do a radio transceiver reset, where all registers gets initialized with their default values. It assumes, that the radio transceiver is in one of the [READY] states.

After reset, all interrupts will be disabled (RG_IRQ_MASK = 0) and a dummy read of the register RG_IRQ_STATUS is done, in order to clear any pending interrupts.

This routine will be used to bring the radio transceiver into a known state in case of a fatal error.

inline_mscgraph_5
Code example
    trx_pinset_reset(0);
    trx_pinset_slptr(0);
    delay_us(6);
    trx_pinset_reset(1);
    trx_reg_write(RG_IRQ_MASK, 0);
    irqs = trx_reg_read(RG_IRQ_STATUS);
    delay_us(120);
    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