按官方文档仅使用A1.1和A1.2,如下:
初始设置的offset和gain如下:
但是AOA测试的返回结果始终在10度左右,无论怎么放置天线:
针对这种情况,我是可以通过调节gain和offset,使结果准确吗?我尝试调试了offset和gain,但并没有达到效果,不知道有什么办法,可以让结果准确??
Viki Shi:
不准确?请确保你的操作符合相关的工作环境要求: e2e.ti.com/…/737944
user5993867:
回复 Viki Shi:
你好:
1. 修改发射功率,我只在passive程序中发现(passive程序不是接受CTE包的吗?):
我直接修改urSetup.common.txPower=0x9330吗?没找到完全匹配的,应该是代码更新的原因。
2. 在我的passive代码中有参考帖中描述的三个函数,基本一致:
3. 应该和第三个无关。
user5993867:
回复 Viki Shi:
我的sdk版本是simplelink_cc2640r2_sdk_2_40_00_32
Alvin Chen:
回复 user5993867:
问一句你插了Boost的板卡了吗?
2.40是具备CTE的。
Reason for placing the CTE after the CRC is to comply with the new BT5.1 specificationMaster
The RTLS master runs a full BLE-Stack and acts as a central device. It will scan and connect to the RTLS slave over BLE. Once a connection is established the RTLS Master will do the following:Share the connection parameters (access address, master sleep clock accuracy, and CRC init) with the PC.
Use the BLE link to share ToF and AoA parameters with the peripheral device.
Implements the ToF master role
Does not send out AoA packets, but configures the slave to do so.Slave
The RTLS slave runs a full BLE-Stack and acts as a peripheral device. This is the device that is to be located. The slave device will advertise and enter a connection with the RTLS Master.Sends data packets with AoA tone embedded using Constant Tone Extension (CTE)
Advertises special string to be detected by rtls_master (covered in detail in Task 3)
Implements ToF slave role
BLE-Stack peripheral role
Wireless/battery operated, not connected to PCPassive
The RTLS passive does not actively participate in the BLE connection between the RTLS master and slave. Instead, it uses the Micro BLE-Stack in connection monitoring mode to follow the connection. To do this, the passive device relies on the Master to distribute the connection parameters once a connection is formed. The passive node does the following:Implement ToF passive role
Receives packets with CTE and performs in-phase and quadrature component (IQ) sampling
Uses Micro BLE-Stack in Connection Monitoring mode to follow connection between master and slave
user5993867:
回复 Alvin Chen:
插了,BOOSTXL-AoA
Alvin Chen:
回复 user5993867:
你移动slave 数值不变吗?
user5993867:
回复 Alvin Chen:
我一般旋转passive
得到的数据基本如上图所示
user5993867:
回复 Alvin Chen:
我旋转passive
得到的数据如上图所示
Alvin Chen:
回复 user5993867:
不确定你是怎么动的 注意的是这个设定是slave 是被located的设备。 你放slave 前后移动看看,大致数据会跟进你对两个设备的角度而变化。
user5993867:
回复 Alvin Chen:
是的,slave 与master连接,master发送连接数据到passive,passive 去定向slave。可是在我旋转passive过程中,角度没有规律可循