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.

AWR1843BOOST: Read data from AWR1843 using dca1000 but errors configuring using mmwave studio

Part Number: AWR1843BOOST
Other Parts Discussed in Thread: AWR1843

I am using AWR1843 + DCA1000 and while configuring board using mmwave studio i get below errors 

[20:34:55]  ***Script completed successfully.***

[20:50:57]  

[20:50:57]  &&&&&&&&&&&&&&&&&&&&

[20:50:57]  ***Script FAILED!***

[20:50:57]  &&&&&&&&&&&&&&&&&&&&

[20:50:57]  Exception message is:

[20:50:57]  [RadarAPI]: Error: ReadRegister: Object reference not set to an instance of an object.

[20:50:57]  Trace:

[20:50:57]     at AR1xController.SerialPortWrapper.SendAndRead(String command, String& response, Int32 timeout)

[20:50:57]     at AR1xController.SerialPortWrapper.Read(UInt32 addr, UInt32& val)

[20:50:57]     at AR1xController.SerialPortWrapper.Read(UInt32 addr, UInt32 start_bit, UInt32 end_bit)

[20:50:57]     at AR1xController.AR1xxxWrapper.ReadRegister(Int32 type, UInt32 address, Int32 start_bit, Int32 end_bit, UInt32& value)

[20:58:55]  [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")

[20:58:55]  [RadarAPI]: Status: Passed

[21:00:33]  [RadarAPI]: ar1.GetCaptureCardDllVersion()

[21:00:33]  [RadarAPI]: Sending dll_version command to DCA1000

[21:00:33]  [RadarAPI]: 

[21:00:33]  DLL Version : 1.0

[21:00:33]  [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")

[21:00:33]  [RadarAPI]: Status: Passed

[21:00:54]  [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098)

[21:00:54]  [RadarAPI]: ar1.CaptureCardConfig_Mode(1, 0, 1, 2, 3, 30)

[21:00:54]  [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(500)

[21:00:55]  [RadarAPI]: Sending fpga command to DCA1000

[21:00:55]  [RadarAPI]: 

[21:00:55]  Invalid lvdsMode value (0). [error -4016]

[21:00:55]  [RadarAPI]: Sending record command to DCA1000

[21:01:05]  [RadarAPI]: 

[21:01:05]  Configure Record : 

[21:01:05]  Timeout Error! System disconnected

[21:01:05]  [RadarAPI]: ar1.GetCaptureCardFPGAVersion()

[21:01:05]  [RadarAPI]: Sending fpga_version command to DCA1000

[21:01:15]  [RadarAPI]: 

[21:01:15]  

[21:01:15]  Unable to read FPGA Version. [error -5]

[21:01:15]  

[22:06:50]  [RadarAPI]: ar1.frequencyBandSelection("60G")

[22:06:57]  Invalid combination configuration..!!!!

[22:07:01]  [RadarAPI]: ar1.Connect(4,921600,1000)

[22:07:04]  [RadarAPI]: Error: Connection failed: Calling_ConnectTarget returned 3

[22:07:04]  [RadarAPI]: ar1.Calling_IsConnected()

[22:07:04]  [RadarAPI]: ar1.SaveSettings('C:\Users\royn.CAT\AppData\Roaming\RSTD\ar1gui.ini')

[22:07:41]  [RadarAPI]: ar1.Connect(3,921600,1000)

[22:07:43]  [RadarAPI]: Error: Connection failed: Calling_ConnectTarget returned 3

[22:07:43]  [RadarAPI]: ar1.Calling_IsConnected()

[22:07:43]  [RadarAPI]: ar1.SaveSettings('C:\Users\royn.CAT\AppData\Roaming\RSTD\ar1gui.ini')

[22:08:09]  [RadarAPI]: ar1.Connect(3,921600,1000)

[22:08:12]  [RadarAPI]: Error: Connection failed: Calling_ConnectTarget returned 3

[22:08:12]  [RadarAPI]: ar1.Calling_IsConnected()

[22:08:12]  [RadarAPI]: ar1.SaveSettings('C:\Users\royn.CAT\AppData\Roaming\RSTD\ar1gui.ini')







RS232 and SPI showing disconnected, please help us resolve the issue

I want to read data of the objects detected

  • Hello Mohit,

    For connection to studio, you have to ensure the connectivity status first and populate correct jumpers on the SOP pins. I believe you want to use SOP 2 Mode. Please put jumpers on SOP0 and SOP1 pins and then press the "SET(1)" button. After that, for RS232 connection, please select the correct COM port from the drop down list and then press "Connect(2)". For detailed instructions, please refer to the training video below:

    https://training.ti.com/dca1000-training-video 

    Please let us know if you're still not able to capture after following the instructions.

    Regards,

    Ishita

  • That worked , but still getting this error 

    [05:55:47] [RadarAPI]: Opening Gpio Control Port()
    [05:55:47] [RadarAPI]: Status: Passed
    [05:55:48] [RadarAPI]: Opening Board Control Port()
    [05:55:48] [RadarAPI]: Status: Passed
    [05:55:49] [RadarAPI]: ar1.FullReset()
    [05:55:49] [RadarAPI]: Status: Passed
    [05:55:49] [RadarAPI]: Closing Board Control Port()
    [05:55:49] [RadarAPI]: Status: Passed
    [05:55:49] [RadarAPI]: Closing Gpio Control Port()
    [05:55:49] [RadarAPI]: Status: Passed
    [05:55:49] [RadarAPI]: ar1.SOPControl(2)
    [05:55:49] [RadarAPI]: Status: Passed
    [05:56:41] [RadarAPI]: ar1.Connect(4,921600,1000)
    [05:56:43] [RadarAPI]: Warning: Connected with baudrate 115200
    [05:56:44] [RadarAPI]: Warning: Disconnected existing BaudRate
    [05:56:45] [RadarAPI]: Warning: Trying to connect with baudrate 921600
    [05:56:46] [RadarAPI]: ar1.Calling_IsConnected()
    [05:56:47] [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [05:56:47] [RadarAPI]: Status: Passed
    [05:56:47] [RadarAPI]: ar1.frequencyBandSelection("77G")
    [05:56:47] [RadarAPI]: ar1.SelectChipVersion("XWR1843")
    [05:56:47] [RadarAPI]: Status: Passed
    [05:56:47] Device Status : XWR1843/ASIL-B/SOP:2/ES:2
    [05:56:47] [RadarAPI]: ar1.SaveSettings('C:\Users\royn.CAT\AppData\Roaming\RSTD\ar1gui.ini')
    [06:22:41] [RadarAPI]: ar1.DownloadBSSFw("C:\\ti\\mmwave_studio_02_01_01_00\\rf_eval_firmware\\radarss\\xwr18xx_radarss.bin")
    [06:22:41] [RadarAPI]: Downloading BSS Patch RPRC Binary..
    [06:22:43] [RadarAPI]: ar1.GetBSSFwVersion()
    [06:22:43] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
    [06:22:44] [RadarAPI]: ar1.GetBSSPatchFwVersion()
    [06:22:44] [RadarAPI]: BSSPatchFwVersion:(01.02.05.02 (30/04/19))
    [06:22:48] [RadarAPI]: ar1.DownloadMSSFw("C:\\ti\\mmwave_studio_02_01_01_00\\rf_eval_firmware\\masterss\\xwr18xx_masterss.bin")
    [06:22:48] [RadarAPI]: Downloading MSS RPRC Binary..
    [06:22:50] [RadarAPI]: ar1.GetMSSFwVersion()
    [06:22:50] [RadarAPI]: MSSFwVersion:(01.02.05.02 (16/07/19))
    [06:23:10] [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)
    [06:23:10] Status: Failed, Error Type: RESP TIMEOUT
    [06:23:14] MSS Power Up async event was not received!


  • Hello Mohit,

    Can you check if switch S2 on the EVM is set to "SPI" and not "CAN". (Please refer to AWR1843 EVM user guide to locate the position of the switch. By default, the switch is set to ON position or "CAN").

    Regards,

    Ishita