请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:IWR1843AOP 您好!
我想通过设置 PA 回送然后检查是否在适当的距离/速度下获得检测来测试处理链。
我正在使用从 SDK 中的 dfptest_setup.h 复制的以下函数(3.06):
int32_t PALoopBackConfig(const int8_t loopBackEn, const uint16_t frequency_MHz) { int32_t retVal; rlRfPALoopbackCfg_t data = { 0 }; data.paLoopbackFreq = 100U/frequency_MHz; data.paLoopbackEn = loopBackEn; /* Set PA Loop back configuration */ retVal = rlRfSetPALoopbackConfig(RL_DEVICE_MAP_INTERNAL_BSS, &data); /* Check for mmWaveLink API call status */ if(retVal != 0) { /* Error: Link reported an issue. */ CLI_write("Error: rlRfSetPALoopbackConfig retVal=%d\n", retVal); return -1; } CLI_write("Debug: Finished rlRfSetPALoopbackConfig\n"); return 0; }
我将在打开和配置传感器及数据路径之后、启动传感器之前调用 PALoopBackConfig 函数。 该函数无错误地返回。
此时、我预计会看到目标在~9米处(通过对6843 EVK 执行 mmWaveStudio 同样的设置进行确认)、但会继续正常运行。 换句话说、TX 和 RX 路径不会环回、我仍然能够 看到真正的目标、在9米处看不到任何目标。
有任何想法、知道我可能会做错什么?