Other Parts Discussed in Thread: DCA1000EVM,
Tool/software:
Good day!
I am getting some false reflections on my current setup. The constant nature of these reflections seem to suggest I misconfigured the data format of my capture. I have the format set to "Comple1x". Is there any configuration that I missed?
Setup:
- Capture card: DCA1000EVM
- Sensor module: AWR2243BOOST REV A
- mmWave Studio: 02_01_01_0
- Firmaware version: 02_02_05_00
Configured via Lua script
--BSS and MSS firmware download info = debug.getinfo(1,'S'); file_path = (info.source); file_path = string.gsub(file_path, "@",""); file_path = string.gsub(file_path, "DataCaptureDemo_AWR2244.lua",""); fw_path = "C:\\Users\\LaptopPC\\Downloads\\mmwave_dfp_02_02_05_00\\rf_eval\\rf_eval_firmware" --Export bit operation file bitopfile = file_path.."\\".."bitoperations.lua" dofile(bitopfile) ar1.frequencyBandSelection("77G") --ADC_Data file path data_path = file_path.."..\\PostProc" adc_data_path = data_path.."\\test_data.bin" -- Download Firmware BSS_FW = fw_path.."\\radarss\\xwr2xxx_radarss_rprc.bin" MSS_FW = fw_path.."\\masterss\\xwr22xx_masterss_rprc.bin" -- Download BSS Firmware if (ar1.DownloadBSSFw(BSS_FW) == 0) then WriteToLog("BSS FW Download Success\n", "green") else WriteToLog("BSS FW Download failure\n", "red") end -- Download MSS Firmware if (ar1.DownloadMSSFw(MSS_FW) == 0) then WriteToLog("MSS FW Download Success\n", "green") else WriteToLog("MSS FW Download failure\n", "red") end -- SPI Connect if (ar1.PowerOn(1, 1000, 0, 0) == 0) then WriteToLog("Power On Success\n", "green") else WriteToLog("Power On failure\n", "red") end -- RF Power UP if (ar1.RfEnable() == 0) then WriteToLog("RF Enable Success\n", "green") else WriteToLog("RF Enable failure\n", "red") end if (ar1.ChanNAdcConfig(1, 1, 1, 1, 1, 1, 1, 2, 1, 0) == 0) then WriteToLog("ChanNAdcConfig Success\n", "green") else WriteToLog("ChanNAdcConfig failure\n", "red") end ar1.RfLdoBypassConfig(3) ar1.LPModConfig(0, 0) if (ar1.RfInit() == 0) then WriteToLog("RfInit Success\n", "green") else WriteToLog("RfInit failure\n", "red") end RSTD.Sleep(1000) if (ar1.DataPathConfig(1, 1, 0) == 0) then WriteToLog("DataPathConfig Success\n", "green") else WriteToLog("DataPathConfig failure\n", "red") end if (ar1.LvdsClkConfig(1, 1) == 0) then WriteToLog("LvdsClkConfig Success\n", "green") else WriteToLog("LvdsClkConfig failure\n", "red") end if (ar1.LVDSLaneConfig(0, 1, 1, 1, 1, 1, 0, 0) == 0) then WriteToLog("LVDSLaneConfig Success\n", "green") else WriteToLog("LVDSLaneConfig failure\n", "red") end if (ar1.SetTestSource(4, 3, 0, 0, 0, 0, -327, 0, -327, 327, 327, 327, -2.5, 327, 327, 0, 0, 0, 0, -327, 0, -327, 327, 327, 327, -95, 0, 0, 0.5, 0, 1, 0, 1.5, 0, 0, 0, 0, 0, 0, 0) == 0) then WriteToLog("Test Source Configuration Success\n", "green") else WriteToLog("Test Source Configuration failure\n", "red") end if(ar1.ProfileConfig(0, 77, 100, 6, 60, 0, 0, 0, 0, 0, 0, 29.982, 0, 256, 10000, 0, 0, 30) == 0) then WriteToLog("ProfileConfig Success\n", "green") else WriteToLog("ProfileConfig failure\n", "red") end if (ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 1, 0) == 0) then WriteToLog("ChirpConfig Success\n", "green") else WriteToLog("ChirpConfig failure\n", "red") end if (ar1.EnableTestSource(1) == 0) then WriteToLog("Enabling Test Source Success\n", "green") else WriteToLog("Enabling Test Source failure\n", "red") end if (ar1.FrameConfig(0, 0, 8, 128, 40, 0, 0, 1) == 0) then WriteToLog("FrameConfig Success\n", "green") else WriteToLog("FrameConfig failure\n", "red") end -- select Device type if (ar1.SelectCaptureDevice("DCA1000") == 0) then WriteToLog("SelectCaptureDevice Success\n", "green") else WriteToLog("SelectCaptureDevice failure\n", "red") end --DATA CAPTURE CARD API if (ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098) == 0) then WriteToLog("CaptureCardConfig_EthInit Success\n", "green") else WriteToLog("CaptureCardConfig_EthInit failure\n", "red") end if (ar1.CaptureCardConfig_Mode(1, 1, 1, 2, 3, 30) == 0) then WriteToLog("CaptureCardConfig_Mode Success\n", "green") else WriteToLog("CaptureCardConfig_Mode failure\n", "red") end if (ar1.CaptureCardConfig_PacketDelay(25) == 0) then WriteToLog("CaptureCardConfig_PacketDelay Success\n", "green") else WriteToLog("CaptureCardConfig_PacketDelay failure\n", "red") end --Start Record ADC data ar1.CaptureCardConfig_StartRecord(adc_data_path, 1) RSTD.Sleep(1000) --Trigger frame ar1.StartFrame() RSTD.Sleep(5000) --Post process the Capture RAW ADC data ar1.StartMatlabPostProc(adc_data_path) WriteToLog("Please wait for a few seconds for matlab post processing .....!!!! \n", "green") RSTD.Sleep(10000)