ti工程师你好
由于天线设计问题,我现在需要将雷达配置为第一个模式tx0发射天线发送,第二个模式剩下三个天线发送,但是始终返回配置失败,请教是否能使用单天线发送,如果可以,能否以demo为例,指明修哪里,感谢各位工程师百忙之中抽空解答
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
ti工程师你好
由于天线设计问题,我现在需要将雷达配置为第一个模式tx0发射天线发送,第二个模式剩下三个天线发送,但是始终返回配置失败,请教是否能使用单天线发送,如果可以,能否以demo为例,指明修哪里,感谢各位工程师百忙之中抽空解答
1.我们将TX0 天线的阵列设计为指向天线 其余为非指向天线,所以不能在一个模式中同时发送,需要一个模式发TX0,后面模式发其余三个天线
2.配置代码
a).在mmw_cli_HECR.c中配置为
sensorStop
flushCfg
dfeDataOutputMode 3
channelCfg 15 15 0
adcCfg 2 0
adcbufCfg -1 1 0 0 1
lowPower 0 0
profileCfg 0 77 267 7 57.14 0 0 70 1 384 13349 0 0 30
profileCfg 1 77 250 7 57.14 0 0 60 1 192 10000 0 0 30
chirpCfg 0 5 0 0 0 0 0 14
chirpCfg 6 11 1 0 0 0 0 1
advFrameCfg 2 0 0 1 0 2
subFrameCfg 0 0 0 6 16 200 0 1 1 200
subFrameCfg 1 0 6 6 64 200 0 1 1 200
guiMonitor -1 2 1 0 0 0 1
cfarCfg 0 1 3 16 0 0 1 24.0 0 7 0 1
cfarCfg 0 0 3 16 0 0 1 15.0 0 7 0 1
cfarCfg 1 1 3 16 0 0 1 24.0 0 7 0 1
cfarCfg 1 0 3 16 0 0 1 15.0 0 7 0 1
compressionCfg 0 1 0 0.5 8
compressionCfg 1 1 0 0.5 8
intfMitigCfg 0 15 18
intfMitigCfg 1 15 18
localMaxCfg 0 6 40
localMaxCfg 1 6 40
antennaCalibParams 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
measureRangeBiasAndRxChanPhase 0 1.5 0.2
analogMonitor 0 0
calibData 0 0 0
aoaFovCfg -1 -90 90 -90 90
sensorStart
b).在mmwdemo_rfparserDDMA.c中配置为
MmwDemo_RFParserHwAttr MmwDemo_RFParserHwCfg =
{
SOC_ADCBUF_SIZE,
0x0,
0xF
};
c).在objectdetection.h中配置为
#ifdef SOC_AWR2944
#define MAX_NUM_AZIM_TX 4
#define MAX_NUM_ELEV_TX 0
#define MAX_NUM_RX 4
d)错误打印信息为
Error: DPM Report 4 received with error:-40121 arg0:0x64 arg1:0x84e6c4
[Cortex_R5_0] Error: DPM Report 4 received with error:-40121 arg0:0x64 arg1:0x1025bf98
ASSERT: 0.191275s: C:/ti/high_end_corner_radar/src/2944/demo/mss/mss_main.c:MmwDemo_DPC_ObjectDetection_reportFxn:2262: 0 failed !!!
你好,
从射频配置来说,这样的配置是没有问题的。但是对于这个demo软件,默认demo是按照DDMA的配置来实现的,所有的数据搬移,数据处理都是和DDMA处理配合的,所以你只修改配置,代码是无法正常运行的。
你可以参考这个demo实现的中文应用文档说明:
Thanks,
Chris