AWR1843BOOST输出原始ADC数据

Other Parts Discussed in Thread: AWR1843BOOST, DCA1000EVM, IWR1843BOOST

我们在使用TI的毫米波雷达套件,型号是AWR1843BOOST+DCA1000EVM,想输出原始的四路ADC数据,按照操作了一遍,没输出成功。

想问下:

1.我们目前只需要输出四路raw adc data,需要看哪几个手册。我想看下我们有没有哪里遗漏了。

2.是不是烧录好了C:\ti\mmwave_automotive_toolbox_<版本号>\labs路径下对应DEMO里.bin文件,使用mmwave studio配置输出信息就可以了?

  • 1、请参考培训视频:
    training.ti.com/dca1000-training-video
    2、参考以下链接,lab中的demo都有user guide。
    dev.ti.com/.../node
  • 您好,这些我都已经看过了。
    我们使用DCA1000EVM和WAR1843BOOST连接电脑,FTDI、RS232、SPI都已经连接成功,BSS固件和MSS固件都已经成功烧录,StaticConfig里面,RFInit按钮已经显示RFInit done,DataConfig完全按照教程手册步骤执行,SensorConfig的执行步骤也是完全按照教程手册执行,我们的问题在:
    1.SensorConfig选项卡下,Browse浏览按钮是不是就是选择用户要存储数据的二进制文件路径?这个二进制文件是不是需要用户自己创建一个空的二进制文件?
    2.我们自己创建了一个空的二进制文件,选择好以后,点击左边Setup DCA1000按钮,连接好以后显示采集卡FPGA版本号等信息,然后点击DCA ARM,再点击Trigger Frame,这时电脑会卡住一分钟左右,然后如果按照手册再点击PostProc,就可以显示出后处理FFT数据等绘图框,我们点击以后没有任何显示。
    根据mmwave studio里面前几个对话框的显示,说明连接以及通讯是没有问题的,但是SensorConfig不能显示后处理绘图的数据,所以不知道在哪个地方出了问题。
    麻烦您帮忙看一下,感谢回答!
  • 按照默认步骤操作,会自动在“mmwave_studio_ \mmWaveStudio\PostProc路径下创建adc_data.bin,请在默认步骤下执行看看。

  • 您好!
    我在路径C:\ti\mmwave_studio_02_01_01_00\mmWaveStudio\PostProc下没有找到adc_data.bin文件,所以自己创建了一个空的adc_data.bin文件,然后在mmwave studio的SensorConfig对话框下选择C:\ti\mmwave_studio_02_01_01_00\mmWaveStudio\PostProc\adc_data.bin,重复PPT手册上册操作,点击DCA ARM,再点击Trigger Frame,这时电脑仍然会卡住一分钟左右,再点击PostProc,出现的现象和之前一样,仍旧没有弹出数据后处理绘图框。
    1.您可否告知我您使用的mmwave studio版本和其他开发所需主要软件的版本信息。
    2.您可否告知您从连接板卡到电脑直至绘图框弹出的一系列步骤,简要操作步骤。

    对您的回答,我们感激不尽,非常感谢!
  • 输出信息如下:

    GM: Constructor
    GM: Sun May 16 11:03:15 2021
    RSTD.Transmit("/Settings")
    [11:03:15]
    [11:03:15] ### Running Startup script: "C:\ti\mmwave_studio_02_01_01_00\mmWaveStudio\Scripts\Startup.lua" ###
    [11:03:15] RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
    [11:03:15] RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
    [11:03:15] Scripter ignored: Attempt to UnBuild() again or before Build.
    [11:03:15] RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\Clients\\\\LabClient.dll")
    [11:03:15] RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
    [11:03:15] RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
    [11:03:15] RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
    [11:03:15] RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
    [11:03:15] RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
    [11:03:15] RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\RunTime\\SAL.dll")
    [11:03:15] RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
    [11:03:15] RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
    [11:03:15] RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
    [11:03:15] RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
    [11:03:15] RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
    [11:03:15] RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
    [11:03:15] RSTD.Transmit("/")
    [11:03:15] RSTD.SaveSettings(): Settings saved to "C:\Users\Administrator\AppData\Roaming\RSTD\config.xml"
    [11:03:15] RSTD.Build()
    [11:03:15] RSTD.SaveSettings(): Settings saved to "C:\Users\Administrator\AppData\Roaming\RSTD\config.xml"
    [11:03:15] RSTD.Transmit("/")
    [11:03:15] RSTD.AL_Build()
    [11:03:15] RSTD.AL_LoadXml()
    [11:03:15] RSTD.Transmit("/")
    [11:03:15] RSTD.AL_Init()
    [11:03:15] RSTD.Clients_Build()
    [11:03:15] GM: Init
    [11:03:15] GM: Loaded 'C:\ti\mmwave_studio_02_01_01_00\mmWaveStudio\Clients\\LabClient.dll'
    [11:03:15] GM: 1 Guest (s) init
    [11:03:15] GM: 1 Module(s) init
    [11:03:15] GM: 2 Tab (s) init
    [11:03:15] RSTD.Client_LoadXml()
    [11:03:15] [RadarAPI]: ar1.selectRadarMode(0)
    [11:03:15] [RadarAPI]: Status: Passed
    [11:03:15] Matlab Runtime Engine is installed
    [11:03:15] [RadarAPI]: Starting Matlab Engine..
    [11:03:18] [RadarAPI]: Matlab Engine Started!
    [11:03:20] [RadarAPI]: ar1.selectCascadeMode(0)
    [11:03:20] [RadarAPI]: Status: Passed
    [11:03:20] [RadarAPI]: ar1.LoadSettings('C:\Users\Administrator\AppData\Roaming\RSTD\ar1gui.ini')
    [11:03:20] TESTING = false
    [11:03:20] RstdNet: Port 2777: Listening..
    [11:03:20]
    [11:03:20] ***Script completed successfully.***
    [11:03:22] [RadarAPI]: ar1.frequencyBandSelection("77G")
    [11:03:23] [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [11:03:23] [RadarAPI]: Status: Passed
    [11:03:23] [RadarAPI]: ar1.deviceVariantSelection("XWR1843")
    [11:03:23] [RadarAPI]: Status: Passed
    [11:03:25] [RadarAPI]: Opening Gpio Control Port()
    [11:03:25] [RadarAPI]: Status: Passed
    [11:03:26] [RadarAPI]: Opening Board Control Port()
    [11:03:26] [RadarAPI]: Status: Passed
    [11:03:27] [RadarAPI]: ar1.FullReset()
    [11:03:27] [RadarAPI]: Status: Passed
    [11:03:28] [RadarAPI]: Closing Board Control Port()
    [11:03:28] [RadarAPI]: Status: Passed
    [11:03:28] [RadarAPI]: Closing Gpio Control Port()
    [11:03:28] [RadarAPI]: Status: Passed
    [11:03:28] [RadarAPI]: ar1.SOPControl(2)
    [11:03:28] [RadarAPI]: Status: Passed
    [11:03:28] [RadarAPI]: ar1.Connect(11,115200,1000)
    [11:03:29] [RadarAPI]: ar1.Calling_IsConnected()
    [11:03:31] [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [11:03:31] [RadarAPI]: Status: Passed
    [11:03:31] [RadarAPI]: ar1.SelectChipVersion("XWR1843")
    [11:03:31] [RadarAPI]: Status: Passed
    [11:03:31] Device Status : XWR1843/ASIL-B/SOP:2/ES:2
    [11:03:31] [RadarAPI]: ar1.SaveSettings('C:\Users\Administrator\AppData\Roaming\RSTD\ar1gui.ini')
    [11:03:34] [RadarAPI]: ar1.DownloadBSSFw("C:\\ti\\mmwave_studio_02_01_01_00\\rf_eval_firmware\\radarss\\xwr18xx_radarss.bin")
    [11:03:34] [RadarAPI]: Downloading BSS Patch RPRC Binary..
    [11:03:42] [RadarAPI]: ar1.GetBSSFwVersion()
    [11:03:42] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
    [11:03:42] [RadarAPI]: ar1.GetBSSPatchFwVersion()
    [11:03:42] [RadarAPI]: BSSPatchFwVersion:(01.02.05.02 (30/04/19))
    [11:03:44] [RadarAPI]: ar1.DownloadMSSFw("C:\\ti\\mmwave_studio_02_01_01_00\\rf_eval_firmware\\masterss\\xwr18xx_masterss.bin")
    [11:03:44] [RadarAPI]: Downloading MSS RPRC Binary..
    [11:03:55] [RadarAPI]: ar1.GetMSSFwVersion()
    [11:03:55] [RadarAPI]: MSSFwVersion:(01.02.05.02 (16/07/19))
    [11:03:57] [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)
    [11:03:57] [RadarAPI]: Status: Passed
    [11:03:57] MSS power up done async event received!
    [11:03:58] [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [11:03:58] [RadarAPI]: Status: Passed
    [11:03:58] [RadarAPI]: ar1.SelectChipVersion("XWR1843")
    [11:03:58] [RadarAPI]: Status: Passed
    [11:03:58] Device Status : XWR1843/ASIL-B/SOP:2/ES:2
    [11:03:58] [RadarAPI]: ar1.RfEnable()
    [11:03:58] [RadarAPI]: Status: Passed
    [11:03:58] BSS power up done async event received!
    [11:03:59] [RadarAPI]: ar1.GetMSSFwVersion()
    [11:03:59] [RadarAPI]: MSSFwVersion:(01.02.05.02 (16/07/19))
    [11:03:59] [RadarAPI]: ar1.GetBSSFwVersion()
    [11:03:59] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
    [11:04:00] [RadarAPI]: ar1.GetBSSPatchFwVersion()
    [11:04:00] [RadarAPI]: BSSPatchFwVersion:(01.02.05.02 (30/04/19))
    [11:04:13] [RadarAPI]: ar1.ChanNAdcConfig(1, 1, 0, 1, 1, 1, 1, 2, 1, 0)
    [11:04:14] [RadarAPI]: Status: Passed
    [11:04:16] [RadarAPI]: ar1.LPModConfig(0, 1)
    [11:04:16] [RadarAPI]: Status: Passed
    [11:04:17] [RadarAPI]: ar1.RfInit()
    [11:04:17] [RadarAPI]: Status: Passed
    [11:04:17] RF Init async event received!
    [11:04:17] [RadarAPI]: Time stamp, Temperture: 18848,38; APLL Status, Update: 1, 0; SynthVCO1 Status, Update: 1, 1; SynthVCO2 Status, Update: 1, 1; LODist Status, Update: 1, 1; RxADCDC Status, Update: 1, 1; HPFcutoff Status, Update: 1, 1; LPFcutoff Status, Update: 1, 1; PeakDetector Status, Update: 1, 1; TxPower Status, Update: 1, 1; RxGain Status, Update: 1, 1; TxPhase Status, Update: 1, 1; RxIQMM Status, Update: 1, 1;
    [11:04:21] [RadarAPI]: ar1.DataPathConfig(513, 1216644097, 0)
    [11:04:21] [RadarAPI]: Status: Passed
    [11:04:26] [RadarAPI]: ar1.LvdsClkConfig(1, 1)
    [11:04:26] [RadarAPI]: Status: Passed
    [11:04:39] [RadarAPI]: ar1.LVDSLaneConfig(0, 1, 1, 0, 0, 1, 0, 0)
    [11:04:39] [RadarAPI]: Status: Passed
    [11:04:44] [RadarAPI]: ar1.ProfileConfig(0, 77, 100, 6, 60, 0, 0, 0, 0, 0, 0, 29.982, 0, 256, 10000, 0, 0, 30)
    [11:04:44] [RadarAPI]: Status: Passed
    [11:04:46] [RadarAPI]: ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 0, 0)
    [11:04:46] [RadarAPI]: Status: Passed
    [11:04:47] Test Source Already Disabled...!!!
    [11:04:47] [RadarAPI]: ar1.DisableTestSource(0)
    [11:04:47] [RadarAPI]: Status: Passed
    [11:04:47] [RadarAPI]: ar1.FrameConfig(0, 0, 8, 128, 40, 0, 0, 1)
    [11:04:47] [RadarAPI]: Status: Passed
    [11:04:52] [RadarAPI]: ar1.GetCaptureCardDllVersion()
    [11:04:52] [RadarAPI]: Sending dll_version command to DCA1000
    [11:04:52] [RadarAPI]:
    [11:04:52] DLL Version : 1.0
    [11:04:52] [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")
    [11:04:52] [RadarAPI]: Status: Passed
    [11:04:53] [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098)
    [11:04:53] [RadarAPI]: ar1.CaptureCardConfig_Mode(1, 2, 1, 2, 3, 30)
    [11:04:53] [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(25)
    [11:04:54] [RadarAPI]: Sending fpga command to DCA1000
    [11:04:54] [RadarAPI]:
    [11:04:54] FPGA Configuration command : Success
    [11:04:54] [RadarAPI]: Sending record command to DCA1000
    [11:04:54] [RadarAPI]:
    [11:04:54] Configure Record command : Success
    [11:04:54] [RadarAPI]: ar1.GetCaptureCardFPGAVersion()
    [11:04:54] [RadarAPI]: Sending fpga_version command to DCA1000
    [11:04:54] [RadarAPI]:
    [11:04:54]
    [11:04:54] FPGA Version : 2.8 [Record]
    [11:04:54]
    [11:04:56] [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\PostProc\\adc_data.bin", 1)
    [11:04:56] [RadarAPI]: Sending start_record command to DCA1000
    [11:05:01] [RadarAPI]: ar1.StartFrame()
    [11:05:01] [RadarAPI]: Status: Passed
    [11:05:01] Frame start async event received!
    [11:05:02] Frame End async event received!
    [11:05:02] [RadarAPI]: Frame Ended
    [11:06:16] [RadarAPI]:
    [11:06:16] Start Record command : Success
    [11:06:16]
    [11:06:16] Record Process :
    [11:06:16] Timeout Error! System disconnected
    [11:06:16]
    [11:06:16] Record stop is done successfully
    [11:06:16] [RadarAPI]:
    [11:06:16] Start Record command : Success
    [11:06:16]
    [11:06:16] Record Process :
    [11:06:16] Timeout Error! System disconnected
    [11:06:16]
    [11:06:16] Record stop is done successfully
    [11:06:21] [RadarAPI]: ar1.StartMatlabPostProc("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\PostProc\\adc_data.bin")
    [11:06:21] [RadarAPI]: No of files Captured: 1, Total no of frames for each device : 8
    [11:06:21] [RadarAPI]: Error:
    [11:06:21]
    [11:06:21] ... MWMCR::EvaluateFunction error ...
    [11:06:21] Output argument "adc_file_name" (and maybe others) not assigned during call to "calc_rel_offset_and_file_name".
    [11:06:21] Error in => process_adc_data.m at line 79.
    [11:06:21]
    [11:06:21] ... Matlab M-code Stack Trace ...
    [11:06:21] at
    [11:06:21] file C:\Users\ADMINI~1\AppData\Local\Temp\Administrator\mcrCache8.5.1\Matlab0\Processing_functions\read_adc_data.m, name read_adc_data_16xx, line 528.
    [11:06:21] at
    [11:06:21] file C:\Users\ADMINI~1\AppData\Local\Temp\Administrator\mcrCache8.5.1\Matlab0\Processing_functions\read_adc_data.m, name read_adc_data, line 27.
    [11:06:21] at
    [11:06:21] file C:\Users\ADMINI~1\AppData\Local\Temp\Administrator\mcrCache8.5.1\Matlab0\MatlabPostPr\process_adc_data.m, name process_adc_data, line 79.
    [11:06:21]
    [11:06:21]
    [11:06:21] Trace:
    [11:06:21] 在 MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(String functionName, Int32 numArgsOut, Int32 numArgsIn, MWArray[] argsIn)
    [11:06:21] 在 MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(Int32 numArgsOut, String functionName, MWArray[] argsIn)
    [11:06:21] 在 MatlabPostProcGui.MatlabPostProcGUIClass.process_adc_data(MWArray adc_file_name, MWArray force_cont_stream_mode)
    [11:06:21] 在 AR1xController.frmAR1Main.iStartMtlabPostProc()

  • 我在尝试解决图中红色的错误,如果您有解决思路还请告知,谢谢!

  • mmWave Studio 02.01.00.00

    mmwave_sdk_03_03_00_03

    IWR1843BOOST ES2.0

    我就是按照以下ppt中的步骤操作的,您的dump file框在默认操作下是空白的吗?

    training.ti.com/.../mmwave_sensor_raw_data_capture_using_dca1000_v02.pdf