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.

DCA1000EVM: DCA1000EVM捕获数据问题

Part Number: DCA1000EVM
Other Parts Discussed in Thread: IWR6843AOPEVM,

我使用的设备是IWR6843AOPEVM Rev G + DCA1000EVM 捕获原始的ADC数据

数据捕获过程中能够正常使用 但是少了一半的帧

正常捕获后的数据大小为 4 x 3 x 128 x 256 x Frames x 4bits

我捕获的ADC数据大小会小一半

调用rawDataReader.m 验证也是只有一半的帧(No of Freams 为25

每帧里面数据格式正常

附上xx.mmwave.json文件

{
  "configGenerator": {
    "createdBy": "mmWaveStudio",
    "createdOn": "2022-09-19T16:45:59.0609566+08:00",
    "isConfigIntermediate": 1
  },
  "currentVersion": {
    "jsonCfgVersion": {
      "major": 0,
      "minor": 4,
      "patch": 0
    },
    "DFPVersion": {
      "major": 1,
      "minor": 2,
      "patch": 0
    },
    "SDKVersion": {
      "major": 3,
      "minor": 0,
      "patch": 0
    },
    "mmwavelinkVersion": {
      "major": 1,
      "minor": 2,
      "patch": 0
    }
  },
  "lastBackwardCompatibleVersion": {
    "DFPVersion": {
      "major": 1,
      "minor": 1,
      "patch": 0
    },
    "SDKVersion": {
      "major": 2,
      "minor": 0,
      "patch": 0
    },
    "mmwavelinkVersion": {
      "major": 1,
      "minor": 1,
      "patch": 0
    }
  },
  "regulatoryRestrictions": {
    "frequencyRangeBegin_GHz": 77,
    "frequencyRangeEnd_GHz": 81,
    "maxBandwidthAllowed_MHz": 4000,
    "maxTransmitPowerAllowed_dBm": 12
  },
  "systemConfig": {
    "summary": "This is a comments field not passed to device",
    "sceneParameters": {
      "ambientTemperature_degC": 20,
      "maxDetectableRange_m": 10,
      "rangeResolution_cm": 5,
      "maxVelocity_kmph": 26,
      "velocityResolution_kmph": 2,
      "measurementRate": 10,
      "typicalDetectedObjectRCS": 1
    }
  },
  "mmWaveDevices": [
    {
      "mmWaveDeviceId": 0,
      "rfConfig": {
        "waveformType": "legacyFrameChirp",
        "MIMOScheme": "TDM",
        "rlCalibrationDataFile": "",
        "rlChanCfg_t": {
          "rxChannelEn": "0xF",
          "txChannelEn": "0x7",
          "cascading": 0,
          "cascadingPinoutCfg": "0x0"
        },
        "rlAdcOutCfg_t": {
          "fmt": {
            "b2AdcBits": 2,
            "b8FullScaleReducFctr": 0,
            "b2AdcOutFmt": 1
          }
        },
        "rlLowPowerModeCfg_t": {
          "lpAdcMode": 0
        },
        "rlProfiles": [
          {
            "rlProfileCfg_t": {
              "profileId": 0,
              "pfVcoSelect": "0x0",
              "pfCalLutUpdate": "0x0",
              "startFreqConst_GHz": 60.0000000044704,
              "idleTimeConst_usec": 100.0,
              "adcStartTimeConst_usec": 6.0,
              "rampEndTime_usec": 60.0,
              "txOutPowerBackoffCode": "0x0",
              "txPhaseShifter": "0x0",
              "freqSlopeConst_MHz_usec": 29.982000350952148,
              "txStartTime_usec": 0.0,
              "numAdcSamples": 256,
              "digOutSampleRate": 10000,
              "hpfCornerFreq1": 0,
              "hpfCornerFreq2": 0,
              "rxGain_dB": "0x1E"
            }
          }
        ],
        "rlChirps": [
          {
            "rlChirpCfg_t": {
              "chirpStartIdx": 0,
              "chirpEndIdx": 0,
              "profileId": 0,
              "startFreqVar_MHz": 0.0,
              "freqSlopeVar_KHz_usec": 0.0,
              "idleTimeVar_usec": 0.0,
              "adcStartTimeVar_usec": 0.0,
              "txEnable": "0x1"
            }
          },
          {
            "rlChirpCfg_t": {
              "chirpStartIdx": 1,
              "chirpEndIdx": 1,
              "profileId": 0,
              "startFreqVar_MHz": 0.0,
              "freqSlopeVar_KHz_usec": 0.0,
              "idleTimeVar_usec": 0.0,
              "adcStartTimeVar_usec": 0.0,
              "txEnable": "0x4"
            }
          },
          {
            "rlChirpCfg_t": {
              "chirpStartIdx": 2,
              "chirpEndIdx": 2,
              "profileId": 0,
              "startFreqVar_MHz": 0.0,
              "freqSlopeVar_KHz_usec": 0.0,
              "idleTimeVar_usec": 0.0,
              "adcStartTimeVar_usec": 0.0,
              "txEnable": "0x2"
            }
          }
        ],
        "rlFrameCfg_t": {
          "chirpEndIdx": 2,
          "chirpStartIdx": 0,
          "numLoops": 128,
          "numFrames": 25,
          "framePeriodicity_msec": 80.0,
          "triggerSelect": 1,
          "numDummyChirpsAtEnd": 0,
          "frameTriggerDelay": 0.0
        },
        "rlBpmChirps": [],
        "rlRfPhaseShiftCfgs": [],
        "rlRfProgFiltConfs": [],
        "rlRfLdoBypassCfg_t": {
          "ldoBypassEnable": 3,
          "supplyMonIrDrop": 0,
          "ioSupplyIndicator": 0
        },
        "rlLoopbackBursts": [],
        "rlDynChirpCfgs": [],
        "rlDynPerChirpPhShftCfgs": []
      },
      "rawDataCaptureConfig": {
        "rlDevDataFmtCfg_t": {
          "iqSwapSel": 0,
          "chInterleave": 1
        },
        "rlDevDataPathCfg_t": {
          "intfSel": 1,
          "transferFmtPkt0": "0x1",
          "transferFmtPkt1": "0x0",
          "cqConfig": 0,
          "cq0TransSize": 0,
          "cq1TransSize": 0,
          "cq2TransSize": 0
        },
        "rlDevLaneEnable_t": {
          "laneEn": "0xF"
        },
        "rlDevDataPathClkCfg_t": {
          "laneClkCfg": 1,
          "dataRate_Mbps": 600
        },
        "rlDevLvdsLaneCfg_t": {
          "laneFmtMap": 0,
          "laneParamCfg": "0x1"
        }
      },
      "monitoringConfig": {
      }
    }
  ],
  "processingChainConfig": {
    "detectionChain": {
      "name": "TI_GenericChain",
      "detectionLoss": 1,
      "systemLoss": 1,
      "implementationMargin": 2,
      "detectionSNR": 12,
      "theoreticalRxAntennaGain": 9,
      "theoreticalTxAntennaGain": 9
    }
  }
}

and adc_data_LogFile.txt

19-Sep-2022 16:45:57: IsFPGA:,0,0,
19-Sep-2022 16:45:57: C:\ti\mmwave_studio_02_01_01_00\mmWaveStudio\RunTime,0,
19-Sep-2022 16:45:59: API:select_capture_device,DCA1000,0,
19-Sep-2022 16:46:19: API:select_chip_version,IWR6843,0,
19-Sep-2022 16:46:19: API:select_chip_version,IWR6843,0,
19-Sep-2022 16:46:41: API:ChannelConfig,7,15,0,
19-Sep-2022 16:46:41: API:AdcOutConfig,2,1,0,
19-Sep-2022 16:46:41: API:DataFmtConfig,15,2,1,0,1,0,
19-Sep-2022 16:46:42: API:LowPowerConfig,0,0,0,
19-Sep-2022 16:46:45: API:DataPathConfig,1,1,0,2,0,
19-Sep-2022 16:46:46: API:LvdsClkConfig,1,1,0,
19-Sep-2022 16:46:46: TSW1400 Sampling rate : 600000000 7500000,0,
19-Sep-2022 16:46:46: API:SetHsiClock,9,0,
19-Sep-2022 16:46:47: API:LaneConfig,15,0,
19-Sep-2022 16:46:47: API:LvdsLaneConfig,0,1,0,
19-Sep-2022 16:46:48: API:ProfileConfig,0,1491308089,10000,600,6000,0,0,828,0,256,10000,0,0,30,0,
19-Sep-2022 16:46:48: API:ChirpConfig,0,0,0,0,0,0,0,1,0,
19-Sep-2022 16:46:48: API:ChirpConfig,1,1,0,0,0,0,0,4,0,
19-Sep-2022 16:46:48: API:ChirpConfig,2,2,0,0,0,0,0,2,0,
19-Sep-2022 16:46:50: API:EnableTestSource,0,1,0,
19-Sep-2022 16:46:50: API:FrameConfig,0,2,10,128,20000000,0,512,0,
19-Sep-2022 16:46:50: API:AdvancedFrameConfig,1,0,0,0,3,128,20000000,0,1,1,20000000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
19-Sep-2022 16:46:52: API:select_capture_device,DCA1000,0,
19-Sep-2022 16:46:57: API:SensorStart,0,
19-Sep-2022 16:47:02: API:update_num_adc_files_and_frames,1,10,1,0,
19-Sep-2022 17:07:01: API:update_num_adc_files_and_frames,1,10,1,0,
19-Sep-2022 17:07:59: The logfile name is ,0,0,0,

and adc_data_raw_logfile.csv

Start record configuration : 

Log mode : Raw
LVDS lane mode : 2 lane
Record stop mode : Infinite
Max file size (MB) : 1024


Raw Data :
Out of sequence count - 0
Out of sequence seen from 0 to 0
First Packet ID - 1
Last Packet ID - 13504
Number of received packets - 13504
Number of zero filled packets - 0
Number of zero filled bytes - 0
Capture start time - Tue Sep 20 10:36:49 2022
Capture end time - Tue Sep 20 10:36:53 2022
Duration(sec) - 4

捕获完数据后为提示一个这个信息:(我设置成4帧 也只是只有一半

no of files captured:1,total no of frames for each device:4