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.

IWR6843ISK: Connection problem with mmWave Studio

Part Number: IWR6843ISK
Other Parts Discussed in Thread: DCA1000EVM, IWR6843

Hi all!

I'm running the IWR6843 and DCA1000EVM. I'm working with a radar and Capture board I've been using before and it has been working fine. Only new thing is the Laptop I'm working with. I installed MATLAB, CCS and the mmWave Studio and running .lua scripts (one for initial setup and one for the parameter setting and starting the frame). Those lua scripts have been working before as well. 

I attached the output copied from the mmWave Studio Output Tab. Everything seems to work fine until actually running the frame.

Some other times it happened that the RESP TIMEOUT showed after sending the Frame config as well.

Could you please give me any pointers as to what might cause this problem?

It looks like a communication fault but why would it start off working and then stop?

Thank you,

Kind regards,

Beate

GM: Constructor
GM: Thu Mar 14 13:30:24 2019
RSTD.Transmit("/Settings")
[13:30:25]  
[13:30:25]  ### Running Startup script: "C:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\Scripts\Startup.lua" ###
[13:30:25]  RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
[13:30:25]  RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
[13:30:25]  Scripter ignored: Attempt to UnBuild() again or before Build.
[13:30:25]  RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Clients\\\\LabClient.dll")
[13:30:25]  RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
[13:30:25]  RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
[13:30:25]  RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
[13:30:25]  RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
[13:30:25]  RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
[13:30:25]  RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\RunTime\\SAL.dll")
[13:30:25]  RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
[13:30:25]  RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
[13:30:25]  RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
[13:30:25]  RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
[13:30:25]  RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
[13:30:25]  RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
[13:30:25]  RSTD.Transmit("/")
[13:30:25]  RSTD.SaveSettings(): Settings saved to "C:\Users\Plextek User\AppData\Roaming\RSTD\config.xml"
[13:30:25]  RSTD.Build()
[13:30:25]  RSTD.SaveSettings(): Settings saved to "C:\Users\Plextek User\AppData\Roaming\RSTD\config.xml"
[13:30:25]  RSTD.Transmit("/")
[13:30:25]  RSTD.AL_Build()
[13:30:25]  RSTD.AL_LoadXml()
[13:30:25]  RSTD.Transmit("/")
[13:30:25]  RSTD.AL_Init()
[13:30:25]  RSTD.Clients_Build()
[13:30:25]  GM: Init
[13:30:25]  GM: Loaded 'C:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\Clients\\LabClient.dll'
[13:30:25]  GM: 1 Guest (s) init
[13:30:25]  GM: 1 Module(s) init
[13:30:25]  GM: 2 Tab   (s) init
[13:30:25]  RSTD.Client_LoadXml()
[13:30:25]  [RadarAPI]: Starting Matlab Engine..
[13:30:33]  [RadarAPI]: Matlab Engine Started!
[13:30:37]  [RadarAPI]: ar1.LoadSettings('C:\Users\Plextek User\AppData\Roaming\RSTD\ar1gui.ini')
[13:30:37]  TESTING = false
[13:30:37]  
[13:30:37]  ***Script completed successfully.***
[13:31:33]  [RadarAPI]: Opening Gpio Control Port()
[13:31:33]  [RadarAPI]: Status: Passed
[13:31:33]  [RadarAPI]: Opening Board Control Port()
[13:31:33]  [RadarAPI]: Status: Passed
[13:31:34]  [RadarAPI]: ar1.FullReset()
[13:31:34]  [RadarAPI]: Status: Passed
[13:31:35]  [RadarAPI]: Closing Board Control Port()
[13:31:35]  [RadarAPI]: Status: Passed
[13:31:35]  [RadarAPI]: Closing Gpio Control Port()
[13:31:35]  [RadarAPI]: Status: Passed
[13:31:35]  [RadarAPI]: ar1.SOPControl(2)
[13:31:35]  [RadarAPI]: Status: Passed
[13:31:36]  [RadarAPI]: ar1.Connect(4,921600,1000)
[13:31:39]  [RadarAPI]: Warning: Connected with baudrate 115200
[13:31:40]  [RadarAPI]: Warning: Disconnected existing BaudRate
[13:31:40]  [RadarAPI]: Warning: Trying to connect with baudrate 921600
[13:31:41]  [RadarAPI]: ar1.Calling_IsConnected()
[13:31:43]  [RadarAPI]: ar1.SelectChipVersion("IWR6843")
[13:31:43]  [RadarAPI]: Status: Passed
[13:31:43]  [RadarAPI]: RS232 is not connected ..!!!!
[13:31:43]  [RadarAPI]: ar1.frequencyBandSelection("60G")
[13:31:43]  [RadarAPI]: ar1.SelectChipVersion("IWR6843")
[13:31:43]  [RadarAPI]: Status: Passed
[13:31:43]  Device Status : IWR6843/QM/SOP:2/ES:1
[13:31:44]  [RadarAPI]: ar1.SelectChipVersion("IWR6843")
[13:31:44]  [RadarAPI]: Status: Passed
[13:31:44]  [RadarAPI]: ar1.SelectChipVersion("IWR6843")
[13:31:44]  [RadarAPI]: Status: Passed
[13:31:44]  Device Status : IWR6843/QM/SOP:2/ES:1
[13:31:44]  [RadarAPI]: ar1.SaveSettings('C:\Users\Plextek User\AppData\Roaming\RSTD\ar1gui.ini')
[13:31:50]  [RadarAPI]: ar1.ReadRegister(0xffffe214, 0, 31)
[13:31:50]  [RadarAPI]: ar1.ReadRegister(0xffffe214, 0, 31)
[13:31:50]  [RadarAPI]: ar1.ReadRegister(0xffffe210, 0, 31)
[13:31:50]  [RadarAPI]: ar1.frequencyBandSelection("60G")
[13:31:50]  [RadarAPI]: ar1.ReadRegister(0xffffe218, 0, 31)
[13:31:50]  [RadarAPI]: ar1.DownloadBSSFw("C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\radarss\\xwr68xx_radarss.bin")
[13:31:51]  [RadarAPI]: Downloading BSS ROM RPRC Binary..
[13:31:57]  [RadarAPI]: ar1.GetBSSFwVersion()
[13:31:57]  [RadarAPI]: BSSFwVersion:(06.00.05.00 (01/08/18))
[13:31:57]  BSS FW Download Success
[13:31:57]  [RadarAPI]: ar1.DownloadMSSFw("C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\masterss\\xwr68xx_masterss.bin")
[13:31:58]  [RadarAPI]: Downloading MSS RPRC Binary..
[13:32:00]  MSS FW Download Success
[13:32:00]  MSS power up done async event received!
[13:32:00]  [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)
[13:32:00]  [RadarAPI]: Status: Passed
[13:32:00]  Power On Success
[13:32:00]  [RadarAPI]: ar1.RfEnable()
[13:32:00]  BSS power up done async event received!
[13:32:00]  [RadarAPI]: Status: Passed
[13:32:01]  [RadarAPI]: ar1.GetBSSFwVersion()
[13:32:01]  [RadarAPI]: BSSFwVersion:(06.00.05.00 (01/08/18))
[13:32:01]  RF Enable Success
[13:32:01]  [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")
[13:32:01]  [RadarAPI]: passed
[13:32:01]  SelectCaptureDevice Success
[13:32:02]  [RadarAPI]: StatusDCCard Event Registered
[13:32:02]  [RadarAPI]: Status: Passed
[13:32:02]  [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098)
[13:32:02]  [RadarAPI]: Status: Passed
[13:32:02]  [RadarAPI]: SYSTEM_CONNECT_CMD_CODE Async event recieved(9)
[13:32:02]  [RadarAPI]: ConnectRFDCCard Status: Passed
[13:32:02]  [RadarAPI]: Status: Passed
[13:32:02]  [RadarAPI]: READ_FPGA_VERSION_CMD_CODE event recieved(14)
[13:32:02]  [RadarAPI]: Status: Passed
[13:32:02]  CaptureCardConfig_EthInit Success
[13:32:02]  [RadarAPI]: ar1.ConfigureRFDCCardMode(1, 2, 1, 2, 3, 30)
[13:32:02]  [RadarAPI]: Status: Passed
[13:32:02]  [RadarAPI]: CONFIG_FPGA_GEN_CMD_CODE Async event recieved(3)
[13:32:02]  CaptureCardConfig_Mode Success
[13:32:02]  [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(25)
[13:32:02]  [RadarAPI]: Status: Passed
[13:32:02]  [RadarAPI]: CONFIG_PACKET_DATA_CMD_CODE Async event recieved(11)
[13:32:02]  CaptureCardConfig_PacketDelay Success
[13:32:02]  
[13:32:02]  ***Script completed successfully.***
[13:32:10]  [RadarAPI]: ar1.ReadRegister(0xffffe214, 0, 31)
[13:32:10]  [RadarAPI]: ar1.ChanNAdcConfig(1, 0, 0, 1, 1, 1, 1, 2, 1, 0)
[13:32:10]  [RadarAPI]: Status: Passed
[13:32:10]  ChanNAdcConfig Success
[13:32:10]  [RadarAPI]: ar1.LPModConfig(0, 0)
[13:32:10]  [RadarAPI]: Status: Passed
[13:32:10]  Regular mode Cfg Success
[13:32:10]  [RadarAPI]: ar1.RfInit()
[13:32:10]  RF Init async event received!
[13:32:10]  [RadarAPI]: Time stamp, Temperture: 9667,39; APLL Status, Update: 1, 0; SynthVCO1 Status, Update: 1, 1; SynthVCO2 Status, Update: 1, 1; LODist Status, Update: 1, 1; RxADCDC Status, Update: 0, 0; HPFcutoff Status, Update: 0, 0; LPFcutoff Status, Update: 0, 0; PeakDetector Status, Update: 0, 0; TxPower Status, Update: 0, 0; RxGain Status, Update: 0, 0; TxPhase Status, Update: 0, 0; RxIQMM Status, Update: 0, 0; 
[13:32:10]  [RadarAPI]: Status: Passed
[13:32:10]  RfInit Success
[13:32:10]  [RadarAPI]: ar1.DataPathConfig(1, 1, 0)
[13:32:10]  [RadarAPI]: Status: Passed
[13:32:10]  DataPathConfig Success
[13:32:10]  [RadarAPI]: ar1.LvdsClkConfig(1, 1)
[13:32:10]  [RadarAPI]: Status: Passed
[13:32:10]  LvdsClkConfig Success
[13:32:10]  [RadarAPI]: ar1.LVDSLaneConfig(0, 1, 1, 0, 0, 1, 0, 0)
[13:32:10]  [RadarAPI]: Status: Passed
[13:32:10]  LVDSLaneConfig Success
[13:32:10]  [RadarAPI]: ar1.ProfileConfig(0, 60.25, 7, 6.4, 161.73, 0, 0, 0, 0, 0, 0, 9.994, 1, 463, 3000, 0, 0, 30)
[13:32:10]  [RadarAPI]: Status: Passed
[13:32:10]  ProfileConfig Success
[13:32:10]  Single Chirp
[13:32:10]  [RadarAPI]: ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 0, 0)
[13:32:11]  [RadarAPI]: Status: Passed
[13:32:11]  ChirpConfig Success
[13:32:11]  Test Source Already Disabled...!!!
[13:32:11]  [RadarAPI]: Status: Passed
[13:32:11]  [RadarAPI]: ar1.FrameConfig(0, 0, 0, 27, 10, 0, 1)
[13:32:11]  [RadarAPI]: Status: Passed
[13:32:11]  FrameConfig Success
[13:32:11]  [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data_IWR6843_test_1552570331.bin", 1)
[13:32:11]  [RadarAPI]: Status: Passed
[13:32:11]  [RadarAPI]: RECORD_START_CMD_CODE Async event recieved(5)
[13:32:11]  [RadarAPI]: ar1.StartFrame()
[13:32:13]  [RadarAPI]: STS_RECORD_COMPLETED Async event recieved(8)
[13:32:13]  [RadarAPI]: ar1.CaptureCardConfig_StopRecord()
[13:32:13]  [RadarAPI]: Status: Passed
[13:32:13]  [RadarAPI]: RECORD_STOP_CMD_CODE Async event recieved(6)
[13:32:14]  Status: Failed, Error Type: RESP TIMEOUT
[13:32:14]  Continously running capture until stop is requested :) 
[13:32:14]  
[13:32:14]  ***Script completed successfully.***

  • Beate,

    Can you please run without a script, just click through and see if the capture works.

    Alex
  • Hi Alex,
    thanks for your answer! Even just clicking through it will come up with the same result.

    I just tried the same HW (radar & cables) with another computer (which has been working before) and everything works fine.
    So it seems to be the new laptop but I'm clueless as to where the fault could be since it works at first??

    I followed the mmWave Studio User Guide for the installation (as I have done on other computer before where it works fine), installed the right MATLAB Runtime, the visual studio extension and the drivers for the USBs. It's a Windows 10 Pro Laptop (as are the others I've been working with). The firewall is not a problem (the Ethernet connection works fine to the DCA1000EVM).

    Please let me know if you need more info!

    Beate
  • Hi Alex,
    I'm super sorry, my own head stood in my way...
    I was using a lab powersupply when using the radar on the laptop and the limit was set too low so the radar wouldn't get enough power when going into transmit...

    So sorry!

    Beate