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

CC2640R2F-RSM 用IQxel-M8W 怎麼測試 BLE

CC2640R2F-RSM 用IQxel-M8W測試 BLE, 因為IQ只支持 non link 模式,

TI官方是否有工具或者命令支持測試BLE TX/RX?

Viki Shi:

请问具体需要测试蓝牙的哪些参数?

ljf:

回复 Viki Shi:

謝謝您的回復,我們主要想測試RF 性能:
1,Maximum Output Power
2,In-band Spurious Emission
3,MODULATION CHARACTERISTICS
4,frequency offset and drift
5,receiver sensitivity
6,Maximum input signal level

Viki Shi:

回复 ljf:

推荐HCItester搭配其他设备进行测试,下载地址及使用手册请参考:
processors.wiki.ti.com/…/LPRF_BLE_HCITester
www.ti.com/…/swru136b.pdf

ljf:

回复 Viki Shi:

Hi Viki:
1, 目前可以通過以下命令測試1M bps的指標,想請問一下,設置其他速率(125kbps,500kbps,2Mbps )的命令是什麼?

CMD出處:
processors.wiki.ti.com/…/PTM_cc2640

Send this hex command to start Tx test:
01 1E 20 03 xx yy zz
xx = the channel you want to transmit on, any value from 0x00 to 0x27 (BLE channels go from 0 to 39)
yy = length of payload bytes in each test packet, which can be any value from 0x00 to 0x25
zz = code for the type of data in the packet payload. The following values can be used
·0x00 Pseudo-Random bit sequence 9
·0x01 Pattern of alternating bits ‘11110000’
·0x02 Pattern of alternating bits ‘10101010’
·0x03 Pseudo-Random bit sequence 15
·0x04 Pattern of All ‘1’ bits
·0x05 Pattern of All ‘0’ bits
·0x06 Pattern of alternating bits ‘00001111’
·0x07 Pattern of alternating bits ‘0101’

Send this hex command to start Rx test:
01 1D 20 01 xx
xx = the channel you want to receive on, which can be any value from 0x00 to 0x27 (BLE channels go from 0 to 39)
Send this hex command to end Rx or Tx test:
01 1f 20 00
After sending the HCI_LE_Test_End command to the device, the following response will be returned, indicating that the command was received and the test has ended:
04 0e 06 01 1f 20 00 xx xx
xx xx = 00 00 if Tx test was performed
xx xx = Total number of received packets if Rx test was performed.

Kevin Qiu1:

回复 ljf:

使用下面的API,或者用SmartRF Studio 7 中的BLE Mode进行设置/*** Start Enhanced Modem TX Test** Start an enhanced BLE5 continuous transmitter modem test, using either a* modulated or unmodulated carrier wave tone, at the frequency that corresponds* to the specified RF channel for a given PHY (1M, 2M, Coded S2, or Coded S8).* Use @ref HCI_EXT_EndModemTestCmd command to end the test.** The BLE device will transmit at maximum power.** This modem test can be used to satisfy in part radio regulation* requirements as specific in standards such as ARIB STD-T66.** @note A Controller reset will be issued by HCI_EXT_EndModemTestCmd.** @par Corresponding Events* @ref hciEvt_VSCmdComplete_t with cmdOpcode @ref HCI_EXT_ENHANCED_MODEM_TEST_TX** @param cwMode @ref TX_Modulation* @param rfPhy@ref RF_Setup_Phy_Params* @param rfChan Transmit RF channel k=0..39, where BLE F=2402+(k*2MHz).** @return @ref HCI_SUCCESS*/
extern hciStatus_t HCI_EXT_EnhancedModemTestTxCmd( uint8 cwMode,uint8 rfPhy,uint8 rfChan );

ljf:

回复 Kevin Qiu1:

HIkevin:
謝謝您的回復。
關於這個case總共提到兩個工具:
1,HCI tester–這個工具我們打開后發現沒有命令集,工具裡面都是空的。需要TI提供相關命令集,或者命令集下載地址。
2,SmartRF Studio 7–這個工具打開后,界面一直顯示not connect,而且沒找到在哪裡設置COM口。模式也一直處在Offline模式,需要TI 提供工具使用SOP.

Kevin Qiu1:

回复 ljf:

HCI看下这里,里面有用法和命令集:processors.wiki.ti.com/…/LPRF_BLE_HCITester SmartRF Studio 7要用下载器才能连接,software-dl.ti.com/…/prop_01_basic.html也可以看这里的PHY设置C:/ti/simplelink_cc2640r2_sdk_4_10_00_10/docs/ble5stack/ble_user_guide/html/ble-stack-5.x/phy.html

ljf:

回复 Kevin Qiu1:

HI kevin:
能直接告诉我 16进制命令吗? [例如TX CMD: 01 1e 20 03 00 25 00(2402),RX CMD: 01 1D 20 01 xx ]

RX 测试 125kbps,500kbps,2Mbps 的命令是什麼?

Kevin Qiu1:

回复 ljf:

看下面的图,PHY可以在上面的RF PHY修改

ljf:

回复 Kevin Qiu1:

Hi Kevin:

HCI看下这里,里面有用法和命令集:processors.wiki.ti.com/…/LPRF_BLE_HCITester
==》这个文档一直在我司电脑上打不开。可能被限制了。

看下面的图,PHY可以在上面的RF PHY修改
===》这个工具我们缺少 这些命令文档:,如: HCI_EXT_EnhancedmodemTestRxCmd,所以看不到具体参数啊。

1,请问,RX 测试 125kbps,500kbps,2Mbps ,没有像这样的[RX CMD: 01 1D 20 01 xx ]命令吗?这个命令XX代表信道(0-39),
是否是哪个参数代表速率,我修改相应的参数就可以了。

2,另外从上面的图片中蓝色那条指令看, 01 29 fc 02 06 00是coded S2 500kbps 的16进制RX命令吗?

赞(0)
未经允许不得转载:TI中文支持网 » CC2640R2F-RSM 用IQxel-M8W 怎麼測試 BLE
分享到: 更多 (0)