另外,這一篇最後,也有說明用 mmWave Studio 吃 captured data 的方法。
C:\ti\mmwave_sdk_03_03_00_03\docs\mmwave_sdk_user_guide.pdf, section 3.3.2 也有說明使用 CLI_Control 的範例。
利用mmWave Demo Visualizer 控制 AWR1642BOOST 送出LVDS,然後用 DCA1000EVM_CLI_Control.exe log data。
也有 json file 的 Example 和說明。
{ "DCA1000Config": { "dataLoggingMode": "multi", "dataTransferMode": "LVDSCapture", "dataCaptureMode": "ethernetStream", "lvdsMode": 2, "dataFormatMode": 3, "packetDelay_us": 10, "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": "C:\\mySavedData", "filePrefix": "datacard_record", "maxRecFileSize_MB": 1024, "sequenceNumberEnable": 1, "captureStopMode": "infinite", "bytesToCapture": 1025, "durationToCapture_ms": 1000, "framesToCapture": 5 }, "dataFormatConfig": { "MSBToggle": 0, "reorderEnable": 1, "laneFmtMap": 0, "dataPortConfig": [ { "portIdx": 0, "dataType": "complex" }, { "portIdx": 1, "dataType": "complex" }, { "portIdx": 2, "dataType": "complex" }, { "portIdx": 3, "dataType": "complex" }, { "portIdx": 4, "dataType": "complex" } ] } } }
This json file should match user's setup and the profile.cfg that is used to configure the mmW demo running on mmWave EVM.
- User should customize "ethernetConfig" block to match their setup
- "dataLoggingMode" in json file should be set to "raw" if header is disabled via
field in lvdsStreamCfg command in profile.cfg. "dataLoggingMode" in json file should be set to "multi" if header is enabled via field in lvdsStreamCfg co mmand in profile.cfg. - "lvdsMode" in json file should be set to 2 since xwr16xx/xwr18xx/xwr68xx device have 2 lvds lanes.
- "dataFormatMode" in json file should match the 12/14/16 bit selection in
field in "adcCfg" command in profile.cfg. As one would realize, value of "dataFormatMode" is ("adcCfg""numADCBits" + 1) . - User should customize "captureConfig" as per their needs.
- "MSBToggle" should be set to 0.
- "reorderEnable" should be set to 1.
- "dataPortConfig" should set all dataType to "complex" since mmW demo configures all CBUFF/LVDS session to be complex.
沒有留言:
張貼留言