【BLE4.0】CC254x-读取RSSI的理解

一、实验目的

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的更新速率是取决于连接间隔 当然要考虑上潜伏时间;

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值