TI中文支持网
TI专业的中文技术问题搜集分享网站

LAUNCHXL-CC2640R2: Can rfPaceketErrorRate sample work at 5 Mbps propietary mode?

Part Number:LAUNCHXL-CC2640R2Other Parts Discussed in Thread: CC2640R2F, CC1310

In this question as the following,LAUNCHXL-CC2640R2 can work at  5 Mbps propietary mode. It is a CarrierWave sample:

e2e.ti.com/…/launchxl-cc2640r2-about-proprietary-5mbps

I found rfPaceketErrorRate's custom mode is a propietary mode,but It only work at 250kbps(Tx) and 150Kbps(Rx).

 rfPacketErrorRate_CC2640R2_LAUNCHXL_tirtos_ccs.rar

Can rfPaceketErrorRate sample work at 5 Mbps propietary mode? What shuld I change in rfPaceketErrorRate sample?

Kevin Qiu1:

在SDK中没有提供5Mbps的程序, rfPaceketErrorRate 例程中CC2640r2f不支持HS mode,但它应该可以在专有模式下支持5Mbps

5Mbps的前导码和同步字等都会很长,看起来2Mbps似乎是更好的选择

,

ye lucy:

非常感谢kevin的回复。

我们产品的应用场景,需要5Mbps的传输速率,2Mbps太小了,不够用。

请问可以提供专有模式下5Mbps的应用例程吗?  或者提供一下专有模式5Mbps场景的rf配置?

,

Kevin Qiu1:

参考之前的代码:

2068.rfPacketErrorRate_5Mbps.zip

,

ye lucy:

谢谢Kevin。

因为刚接触Ti,对代码了解不深。所以有几个问题问一下:

1. 2068.rfPacketErrorRate_5Mbps.zip 是 基于simplelink_academy_cc2640r2sdk运行,还是基于simplelink_academy_cc13x0sdk运行的?

2. 2068.rfPacketErrorRate_5Mbps.zip是一个完整的例程吗?我试了一下,跑不起来。

3. 还是仅仅参考里面5Mbps场景的rf配置?把这部分配置移植到CC2640R2F的rfPacketErrorRate例程里运行?

,

Kevin Qiu1:

是基于cc2640r2的,这是很早之前写的代码,SDK更新了很多个版本,现在使用需要修改

5Mbps只是作为测试,正式的SDK中并没有此示例

ye lucy 说:3. 还是仅仅参考里面5Mbps场景的rf配置?把这部分配置移植到CC2640R2F的rfPacketErrorRate例程里运行?

可以

,

ye lucy:

非常感谢kevin的支持和回复。

我们今天在另外一对CC1310板子上,在跑rfPacketErrorRate例程(无间隔、包长254)时,看到得到如下的发送速率和接收速率。为什么接收端的TP(2126500bps),只有发送端的DR(4000000bps)一半呢?

如果包长选择更小值,TP值也会更小。

我本来的理解,应该是TP(bps)= 单位时长内接收到的bits数/单位时长(second),如果误码率为0的情况下,应该和DR是相等的。看了Rx.c里面的算法,挺复杂的,和我想的不一样。

例程中的算法如下:

********************************************************************************************

 nBitsDeltaTimeUs = 32UL – nFracBits;            if(nBitsDeltaTimeUs >= LOG2_100MILLION)            {                // deltaTimeUs is two orders of magnitude larger that 10^6                // Throughput_I = (N_bits * 2^nFracBits)/(delT_us/10^6))                //              = Throughput_I / 2^nFracBits                // Shift N_bits up to occupy the MSbs and then divide by               

// (delT_us/10^6) which is at least 6 bits wide                //   log2(1e8)-log2(1e6) = 6.643856189774724                throughputI = (nBits << nFracBits)/ (deltaTimeUs / 1000000UL);                throughputQ = throughputI & ((1 << nFracBits) – 1);                throughputI = throughputI >> nFracBits;            }            else            {                // deltaTimeUs is smaller or comparable to 10^8                // Throughput_I = (N_bits * 2^NFRAC)/(delT_us/10^6)                //              = (N_bits)* (round(10^6*2^NFRAC)/delT_us)                //

              = (N_bits)* ((10^6*2^NFRAC + delT_us/2)/delT_us)                //              = Throughput_I / 2^nFracBits                throughputI = nBits * (((1000000UL << NFRACBITS) + (deltaTimeUs >> 1))/deltaTimeUs);                throughputQ = throughputI & ((1 << NFRACBITS) – 1);                throughputI = throughputI >> NFRACBITS;            }

************************************************************************************************

请问一下:

1. Rx的算法原理是什么?

2. 最理想的情况,在Tx的Dr为4Mbps时,Rx的TP能达到多少?

,

Kevin Qiu1:

数据不一样涉及吞吐量和带宽,编码会影响吞吐量,关于编码吞吐量算法目前没有具体的说明文档,我需要和Team确认下

另外你的初始问题

ye lucy 说:rfPaceketErrorRate 样本可以在 5 Mbps 专有模式下工作吗?

已得到解决,请将此贴标记为问题已解决

CC1310 HS mode算法问题属于另一个问题了,为方便其他人查找,建议你重开一个新帖

,

ye lucy:

好的,谢谢kevin。

我另外发 一个新帖问这个问题。

赞(0)
未经允许不得转载:TI中文支持网 » LAUNCHXL-CC2640R2: Can rfPaceketErrorRate sample work at 5 Mbps propietary mode?
分享到: 更多 (0)

© 2024 TI中文支持网   网站地图 鲁ICP备2022002796号-1