RSSI Measurement

This section describes, how the value for the received signal strength indication (RSSI) can be obtained for the current channel. The RSSI value is a generic radio receiver technology metric. It is updated internally in the radio transceiver every 2 us and can be read from the register RG_PHY_RSSI, which has a valid range from 0 ... 28. The actual RF input power is calculated by:

There are the following two methods defined:


PHY_GET_RSSI

The RSSI value can be read from the sub register SR_RSSI whenever the radio transceiver is in one of the [RX_BASIC] states.

Note:
It is also possible to read the RSSI value in RX_AACK_ON but not in BUSY_RX_AACK. In this state it is not possible to determine if the radio transceiver is internally in receive mode or transmit mode (for sending the ACK frame).
inline_mscgraph_45
Code example
    rssi = trx_bit_read(SR_RSSI);
    proc_rssi(rssi);

PHY_GET_FRAME_RSSI

The RSSI value for the currently received frame can be read from the sub register SR_RSSI right after the TRX_IRQ_RX_START interrupt and before the corresponding TRX_IRQ_TRX_END interrupt.

inline_mscgraph_46
Code example
    /* TRX_IRQ_RX_START occurs here */
    rssi = trx_bit_read(SR_RSSI);
    proc_rssi(rssi);
    /* TRX_IRQ_TRX_END occurs here */

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