Transmit and Receive Interrupts

The end of any transmit or receive operation is signalled by the interrupt TRX_IRQ_TRX_END. In the basic operating mode receive state RX_ON, the interrupt TRX_IRQ_RX_START additionaly signals the detection of a SFD.


PHY_EVENT_TRX_END__BUSY_TX

The end of a basic operating mode transmission is signaled with the interrupt TRX_IRQ_TRX_END. After the interrupt has occured, the radio transceiver changes its state per default to PLL_ON or to one of the [CMD] states, which was requested during the state BUSY_TX (see section State Changes).

inline_mscgraph_16
Code example
    /* TRX_IRQ_TRX_END occurs here */
    cause = trx_reg_read(RG_IRQ_STATUS);

PHY_EVENT_TRX_END__BUSY_TX_ARET

The end of a TX_ARET transaction is signaled with the interrupt TRX_IRQ_TRX_END. After the interrupt has occured, the radio transceiver changes its state per default to TX_ARET_ON or to one of the [CMD] states, which was requested during state BUSY_TX_ARET (see section State Changes).

inline_mscgraph_17
Code example
    /* TRX_IRQ_TRX_END occurs here */
    cause = trx_reg_read(RG_IRQ_STATUS);

PHY_EVENT_RX_START

The interrupt TRX_IRQ_RX_START signals that the radio transceiver has received a valid SFD and that a basic operating mode frame reception is currently in progress. After the interrupt has occured, the RSSI value can be read in order to get a representative value for the current frame reception (see PHY_GET_FRAME_RSSI).

inline_mscgraph_18
Code example
    /* TRX_IRQ_RX_START occurs here */
    cause = trx_reg_read(RG_IRQ_STATUS);

PHY_EVENT_TRX_END__BUSY_RX

The interrupt TRX_IRQ_TRX_END occurs at the end of a basic operating mode frame reception. After the interrupt has occured, the radio transceiver changes its state per default to RX_ON or to one of the [CMD] states, which was requested during the state BUSY_RX (see section State Changes).

inline_mscgraph_19
Code example
    /* TRX_IRQ_TRX_END occurs here */
    cause = trx_reg_read(RG_IRQ_STATUS);

PHY_EVENT_TRX_END__BUSY_RX_AACK

The end of a RX_AACK transaction, is only signaled with the interrupt TRX_IRQ_TRX_END, if the received frame matches the settings in the address filter and has a valid FCS. After the interrupt has occured, the radio transceiver changes its state per default to RX_AACK_ON or to one of the [CMD] states, which was requested during the state BUSY_RX_AACK (see section State Changes).

inline_mscgraph_20
Code example
    /* TRX_IRQ_TRX_END occurs here */
    cause = trx_reg_read(RG_IRQ_STATUS);

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