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

AWR6843: AWR6843 RF monitor

Part Number:AWR6843Other Parts Discussed in Thread: AWR1642

       TI 工程师你好,最近在调试AWR6843 射频监控功能遇到一些疑问:

      设置某些监控函数,发现设置不了,但是在AWR1642上运行是可以正常配置的;

AWR6843运行2个监控配置函数出现如下错误,配置函数见附录:

Error: rlRfDigMonEnableConfig retVal=250

Error: rlRfAnaMonConfig retVal=281

通过查看驱动中错误码如下:

/*! Monitoring config APIs */

#define RL_RET_CODE_DEVICE_NOT_ASILB_TYPE             (250U)

/* Device type is not ASILB */

#define RL_RET_CODE_ANALOG_MONITOR_NOT_SUPPORTED      (281U)

按照错误码的说法:就是AWR6843  的 Device type is not ASILB;并且不支持rlRfAnaMonConfig监控?为什么AWR1642是可以的,AWR6843是把这些监控功能去掉了吗?

AWR6843手册上说明是ASILB的,这有些矛盾?

附录运行函数如下:

1、int32_t Mmw_digMonEnableConfig(void)
{
int32_t retVal;
rlMonDigEnables_t data = { 0 };
/* Each bit(0-31) represents different digital monitor enable configuration */
data.enMask = (0 << 0) | (1 << 1) | (0 << 2) | (1 << 3) | (0 << 4)
| (0 << 5) | (1 << 6) | (1 << 7) | (1 << 8) | (1 << 9) | (1 << 10)
| (1 << 11) | (0 << 12) | (0 << 13) | (0 << 14) | (0 << 15)
| (1 << 16) | (1 << 17) | (0 << 18) | (1 << 19) | (1 << 20)
| (0 << 21) | (0 << 22) | (0 << 23) | (1 << 24) | (1 << 25)
| (1 << 26) | (0 << 27) | (0 << 28) | (0 << 29) | (0 << 30)
| (0 << 31);
data.testMode = 0;
/* Digital monitoring configuration */
retVal = rlRfDigMonEnableConfig(RL_DEVICE_MAP_INTERNAL_BSS, &data);
/* Check for mmWaveLink API call status */
if (retVal != 0)
{
#ifdef DEBUG
/* Error: Link reported an issue. */
printf("Error: rlRfDigMonEnableConfig retVal=%d\n", retVal);
#endif
return -1;
}

2、int32_t Mmw_setRfAnaMonConfig(void)
{
int32_t retVal;
/* Each bit(0-31) represents different analog monitor enable configuration */
rlMonAnaEnables_t data = { (1 << 0) | (1 << 1) | (1 << 2) | (1 << 3) | (1 << 4) | (1 << 5)
| (0 << 6) | (1 << 7) | (1 << 8) | (0 << 9) | (1 << 10)
| (0 << 11) | (0 << 12) | (0 << 13) | (1 << 14) | (1 << 15)
| (1 << 16) | (1 << 17) | (0 << 18) | (1 << 19) | (1 << 20)
| (0 << 21) | (1 << 22) | (1 << 23) | (0 << 24) | (0 << 25)
| (1 << 26) | (0 << 27) | (0 << 28) | (0 << 29) | (0 << 30)
| (0 << 31),
0x00 };
/* rlMonAnaEnables_t data = { (1 << 0) | (0 << 1) | (0 << 2) | (0 << 3)
| (0 << 4) | (0 << 5) | (0 << 6)
| (0 << 7) | (0 << 8) | (0 << 9)
| (0 << 10) | (0 << 11) | (0 << 12)
| (0 << 13) | (0 << 14) | (0 << 15)
| (0 << 16) | (0 << 17) | (0 << 18)
| (0 << 19) | (0 << 20) | (0 << 21)
| (0 << 22) | (0 << 23) | (1 << 24)
| (1 << 25) | (0 << 26) | (0 << 27)
| (0 << 28) | (0 << 29) | (0 << 30)
| (0 << 31),
0x00 };*/
/* Set channel configuration */
retVal = rlRfAnaMonConfig(RL_DEVICE_MAP_INTERNAL_BSS, &data);
/* Check for mmWaveLink API call status */
if (retVal != 0)
{
#ifdef DEBUG
/* Error: Link reported an issue. */
printf("Error: rlRfAnaMonConfig retVal=%d\n", retVal);
#endif
return -1;
}
#ifdef DEBUG
printf("Debug: Finished rlRfAnaMonConfig configurations to BSS\n");
#endif
return 0;
}
#ifdef DEBUG
printf("Debug: Finished rlRfDigMonEnableConfig configurations to BSS\n");
#endif
return 0;
}

Katherine Wang:

已为您联系TI工程师,稍后给您回复

赞(0)
未经允许不得转载:TI中文支持网 » AWR6843: AWR6843 RF monitor
分享到: 更多 (0)

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