您好!我正在尝试使用两块LAUNCHXL-CC26X2R1进行蓝牙测向开发,使用的SDK版本为5.40。经过排查,我最终获得了IQ样本。在认真阅读配置天线阵列的文档后,我成功配置了天线阵列并取得了IQ。我配置了三根天线,天线模式为:"aoa_ant_pattern": [0, 1, 2]”,天线板对应的DIO已正确配置。但在阅读IQ数据时,我对IQ和天线模式的对应关系产生了疑问。因此我调查了目前存在的解答和文档,但我仍未完全厘清IQ和天线模式的对应关系。我的疑问如下:
1. 蓝牙CTE包采样在2us模式下,最长采样时间为160us,其中参考周期包含8个IQ样本,剩余时间可采样37个IQ样本,共计45个IQ样本(对应于自动生成的csv文件的sample_idx的0到44)。这45个IQ样本对应于天线0、天线1、天线2的对应关系是怎样的?是否为这个45个样本依次由天线0、天线1、天线2接收?
{ smaple_idx[0]: aoa_ant_pattern[0], smaple_idx[1]: aoa_ant_pattern[1], smaple_idx[2]: aoa_ant_pattern[2], smaple_idx[3]: aoa_ant_pattern[0], smaple_idx[4]: aoa_ant_pattern[1], ... , smaple_idx[44]: aoa_ant_pattern[2] }
2. 在蓝牙协议 Bluetooth Core v5.2, 6/A/5.1中有如下描述:
"The first antenna in the pattern shall be used during the reference period [...]. The second antenna in the pattern shall be used during the first sample slot, the third antenna during the second sample slot, and so on. The same antenna ID may appear more than once in the pattern. [...] If the pattern specified by the Host is exhausted before the last sample slot, it shall be restarted from the beginning..."
换句话说,协议规定了参考周期的8个IQ样本应当由第一根天线(即天线0)接收,第二根天线(即天线1)来接收sample slot的第一个IQ样本(即45个IQ样本中的第9个样本),第三根天线接收sample slot的第二个IQ样本,然后开始循环。如果单独由一根天线接收CTE数据包之前的数据包,则天线与IQ的对应关系如下图所示:

上图中,从编号为3、4、5的天线开始循环,1、2天线并未参与循环(这里天线编号是从1开始的)。我很想知道,在TI的实现中,天线对应于IQ的循环关系是怎样的?
在我的实现中,我使用了天线0、天线1、天线2,如疑问①,循环是从天线0开始的吗?我是否不需要考虑蓝牙协议的规定?如果按照蓝牙协议的规定,天线0接收参考周期的8个IQ样本,那么只有天线1和天线2参与了循环。
3. 其他的小疑问。自动生成的csv文件中,ant_array值为6,但我只配置了3根天线,它们之间有什么关系吗?另外,在自动生成的log中,” 'type': 'Event', 'command': 'RTLS_CMD_AOA_RESULT_RAW' “所在的行中的
