一、实验目的
1.对读取RSSI的理解
二、说明
RSSI
The radio has a built-in received signal-strength indication (RSSI), which calculates an 8-bit signed digital
value that can be read from a register or automatically appended to received frames. The RSSI value is
the result of averaging the received power over eight symbol periods (128 μs) as specified by IEEE
802.15.4 [1].
The RSSI value is a 2s-complement signed number on a logarithmic scale with 1-dB steps.
233
SWRU191F–April 2009–Revised April 2014
CC253x Radio
Submit Documentation Feedback
Copyright © 2009–2014, Texas Instruments Incorporated
RXFIFO Access
www.ti.com
The status bit RSSI_VALID should be checked before reading the RSSI value register. RSSI_VALID
indicates that the RSSI value in the register is in fact valid, which means that the receiver has been
enabled for at least eight symbol periods.
To find the actual signal power P at the RF pins with reasonable accuracy, an offset must be added to the
RSSI value.
P = RSSI – OFFSET [dBm]
For example, with an offset of 73 dB, reading an RSSI value of –10 from the RSSI register means that the
RF input power is approximately –83 dBm. For the correct offset value to use, see the data sheet
(Appendix C).
There are two ways the radio can update the RSSI register after it has first become valid. If
FRMCTRL0.ENERGY_SCAN = 0 (default), the RSSI register contains the latest value available, but if this bit
is set to 1, a peak search is performed, and the RSSI register contains the largest value since the energy
scan was enabled
根据上图,可以看出:
1.调用读取RSSI的值时,实际上是读取RSSI的寄存器,至于RSSI的值的更新是在接受到最后一个数据包时会更新,根据最后一次接受数据来确定距离;
2.在每次通讯的时候RSSI都会更新,这么说连事件的时候也会更新RSSI,所以RSSI的更新速率是取决于连接间隔 当然要考虑上潜伏时间;