Part Number:DCA1000EVM
CLI工具DCA1000EVM_CLI_Control.exe捕获数据,在json中配置captureStopMode为infinite可正常运行,但是当captureStopMode为frames报错就会报错:Record stopping using number of frames is valid only in raw mode. [error -4064]
很奇怪,是什么原因呢?确定dataLoggingMode设置是raw。
报错的完整json文件如下:
{
"DCA1000Config": {
"dataLoggingMode": "raw",
"dataTransferMode": "LVDSCapture",
"dataCaptureMode": "ethernetStream",
"lvdsMode": 2,
"dataFormatMode": 3,
"packetDelay_us": 25,
"ethernetConfig": {
"DCA1000IPAddress": "192.168.33.180",
"DCA1000ConfigPort": 4096,
"DCA1000DataPort": 4098
},
"ethernetConfigUpdate": {
"systemIPAddress": "192.168.33.30",
"DCA1000IPAddress": "192.168.33.180",
"DCA1000MACAddress": "12.34.56.78.90.12",
"DCA1000ConfigPort": 4096,
"DCA1000DataPort": 4098
},
"captureConfig": {
"fileBasePath": "D:\\ti\\data\\ti_radar\\20211112t152950",
"filePrefix": "adc_data",
"maxRecFileSize_MB": 1024,
"sequenceNumberEnable": 1,
"captureStopMode": "frames",
"bytesToCapture": 4000,
"durationToCapture_ms": 4000,
"framesToCapture": 1
},
"dataFormatConfig": {
"MSBToggle": 0,
"laneFmtMap": 0,
"reorderEnable": 1,
"dataPortConfig": [
{
"portIdx": 0,
"dataType": "real"
},
{
"portIdx": 1,
"dataType": "complex"
},
{
"portIdx": 2,
"dataType": "real"
},
{
"portIdx": 3,
"dataType": "real"
},
{
"portIdx": 4,
"dataType": "complex"
}
]
}
}
}
Nancy Wang:
参考以下帖子看一下是否有帮助:
e2e.ti.com/…/dca1000evm-record-stopping-using-number-of-frames-is-valid-only-in-raw-mode