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.

IWR1843BOOST: The new evm board can't be connected to PC

Part Number: IWR1843BOOST
Other Parts Discussed in Thread: IWR1843, AWR2243, UNIFLASH

Hello, I get a new IWR1843 Boost EVM board this afternoon, and I have learned dsp and arm are integrated in 1843.

First, I try to use mmWave SDK without DCA1000 EVM, I use the USB cable to connect borad and PC, the version of  mmWave SDK and Demo Visualizer are 03_05_00_04 and mmWave_Demo_Visualizer/ver/3.5.0/, the connection is failed, there are two COM ports, Class Application/User UART is OK while Class Auxiliary Data Port can't be connected.

After that, I use DCA1000 EVM and AWR2243 Boost to capture data, it works well, I think DCA1000 EVM is OK.

Then I use DCA1000 EVM to make sure will the IWR1843 EVM borad capture data successfully. I set the SOP to 101(Flashing Mode) and reboot it. UniFlash returns flash has been format successfully. After that, I set SOP to 011(Debug Mode) and reboot board. I use mmWave Studio 02_01_01_00 to capture data. And when the procedure run to SPI, it reports error. And I notice that DS1 Nerr glows. According to the handbook, it seems there are some hardware problems with this board. I have called TI support center, they need a inspection report from E2E forum. So can you help me to find what happened to this borad?

GM: Constructor
GM: Fri Mar 04 17:09:24 2022
RSTD.Transmit("/Settings")
[17:09:24]
[17:09:24] ### Running Startup script: "C:\ti\mmwave_studio_02_01_01_00\mmWaveStudio\Scripts\Startup.lua" ###
[17:09:24] RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
[17:09:24] RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
[17:09:24] Scripter ignored: Attempt to UnBuild() again or before Build.
[17:09:24] RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\Clients\\\\LabClient.dll")
[17:09:24] RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
[17:09:24] RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
[17:09:24] RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
[17:09:24] RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
[17:09:24] RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
[17:09:24] RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\RunTime\\SAL.dll")
[17:09:24] RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
[17:09:24] RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
[17:09:24] RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
[17:09:24] RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
[17:09:24] RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
[17:09:24] RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
[17:09:24] RSTD.Transmit("/")
[17:09:24] RSTD.SaveSettings(): Settings saved to "C:\Users\li137\AppData\Roaming\RSTD\config.xml"
[17:09:24] RSTD.Build()
[17:09:24] RSTD.SaveSettings(): Settings saved to "C:\Users\li137\AppData\Roaming\RSTD\config.xml"
[17:09:24] RSTD.Transmit("/")
[17:09:24] RSTD.AL_Build()
[17:09:24] RSTD.AL_LoadXml()
[17:09:24] RSTD.Transmit("/")
[17:09:24] RSTD.AL_Init()
[17:09:24] RSTD.Clients_Build()
[17:09:24] GM: Init
[17:09:24] GM: Loaded 'C:\ti\mmwave_studio_02_01_01_00\mmWaveStudio\Clients\\LabClient.dll'
[17:09:24] GM: 1 Guest (s) init
[17:09:24] GM: 1 Module(s) init
[17:09:24] GM: 2 Tab (s) init
[17:09:24] RSTD.Client_LoadXml()
[17:09:25] [RadarAPI]: ar1.selectRadarMode(0)
[17:09:25] [RadarAPI]: Status: Passed
[17:09:25] Matlab Runtime Engine is installed
[17:09:25] [RadarAPI]: Starting Matlab Engine..
[17:09:29] [RadarAPI]: Matlab Engine Started!
[17:09:31] [RadarAPI]: ar1.selectCascadeMode(0)
[17:09:31] [RadarAPI]: Status: Passed
[17:09:31] [RadarAPI]: ar1.LoadSettings('C:\Users\li137\AppData\Roaming\RSTD\ar1gui.ini')
[17:09:31] TESTING = false
[17:09:31] RstdNet: Port 2777: Listening..
[17:09:31]
[17:09:31] ***Script completed successfully.***
[17:09:35] [RadarAPI]: Opening Gpio Control Port()
[17:09:35] [RadarAPI]: Status: Passed
[17:09:36] [RadarAPI]: Opening Board Control Port()
[17:09:36] [RadarAPI]: Status: Passed
[17:09:37] [RadarAPI]: ar1.FullReset()
[17:09:37] [RadarAPI]: Status: Passed
[17:09:38] [RadarAPI]: Closing Board Control Port()
[17:09:38] [RadarAPI]: Status: Passed
[17:09:38] [RadarAPI]: Closing Gpio Control Port()
[17:09:38] [RadarAPI]: Status: Passed
[17:09:38] [RadarAPI]: ar1.SOPControl(2)
[17:09:38] [RadarAPI]: Status: Passed
[17:09:41] [RadarAPI]: ar1.Connect(16,115200,1000)
[17:09:42] [RadarAPI]: ar1.Calling_IsConnected()
[17:09:43] [RadarAPI]: ar1.SelectChipVersion("AR1642")
[17:09:43] [RadarAPI]: Status: Passed
[17:09:43] [RadarAPI]: ar1.SelectChipVersion("AR1642")
[17:09:43] [RadarAPI]: Status: Passed
[17:09:43] [RadarAPI]: ar1.deviceVariantSelection("XWR1843")
[17:09:43] [RadarAPI]: Status: Passed
[17:09:43] [RadarAPI]: ar1.frequencyBandSelection("77G")
[17:09:43] [RadarAPI]: ar1.SelectChipVersion("XWR1843")
[17:09:43] [RadarAPI]: Status: Passed
[17:09:44] Device Status : XWR1843/QM/SOP:2/ES:2
[17:09:44] [RadarAPI]: ar1.SaveSettings('C:\Users\li137\AppData\Roaming\RSTD\ar1gui.ini')
[17:10:03] [RadarAPI]: ar1.ReadRegister(0xffffe214, 0, 31)
[17:10:03] [RadarAPI]: ar1.ReadRegister(0xffffe210, 0, 31)
[17:10:03] [RadarAPI]: ar1.ReadRegister(0xffffe218, 0, 31)
[17:10:03] [RadarAPI]: ar1.DownloadBSSFw("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\radarss\\xwr18xx_radarss.bin")
[17:10:03] [RadarAPI]: Downloading BSS Patch RPRC Binary..
[17:10:11] [RadarAPI]: ar1.GetBSSFwVersion()
[17:10:11] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
[17:10:12] [RadarAPI]: ar1.GetBSSPatchFwVersion()
[17:10:12] [RadarAPI]: BSSPatchFwVersion:(01.02.05.02 (30/04/19))
[17:10:12] BSS FW Download Success
[17:10:12] [RadarAPI]: ar1.DownloadMSSFw("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\masterss\\xwr18xx_masterss.bin")
[17:10:12] [RadarAPI]: Downloading MSS RPRC Binary..
[17:10:23] [RadarAPI]: ar1.GetMSSFwVersion()
[17:10:23] [RadarAPI]: MSSFwVersion:(01.02.05.02 (16/07/19))
[17:10:23] MSS FW Download Success
[17:10:55] [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)
[17:10:55] Status: Failed, Error Type: RESP TIMEOUT
[17:11:00] MSS Power Up async event was not received!

  • Hello Xiayu, 

    Thankyou for reaching out on TI E2E forums. 

    Can you please ensure the switch S2 is set to 'SPI' and not “CAN” on the EVM. You can refer to the EVM user guide to locate the position or for any further details. 

    I can see the switch in your picture and I think it's in the middle at the moment. 

    Regards,

    Ishita

  • Oh sorry, I noticed this switch but forgot to change it. Now I set it at SPI, and mmWave Studio can get raw adc data. I use DataCapture_Demo to get raw adc data, however, the result seems to be somewhat problematic compared with the collection environment.

    [21:22:06] [RadarAPI]: ar1.PowerOff()
    [21:22:06] [RadarAPI]: Status: Passed
    [21:22:06] [RadarAPI]: Opening Gpio Control Port()
    [21:22:06] [RadarAPI]: Status: Passed
    [21:22:07] [RadarAPI]: Opening Board Control Port()
    [21:22:07] [RadarAPI]: Status: Passed
    [21:22:08] [RadarAPI]: ar1.FullReset()
    [21:22:08] [RadarAPI]: Status: Passed
    [21:22:08] [RadarAPI]: Closing Board Control Port()
    [21:22:08] [RadarAPI]: Status: Passed
    [21:22:08] [RadarAPI]: Closing Gpio Control Port()
    [21:22:08] [RadarAPI]: Status: Passed
    [21:22:08] [RadarAPI]: ar1.SOPControl(2)
    [21:22:08] [RadarAPI]: Status: Passed
    [21:22:15] [RadarAPI]: ar1.Connect(16,115200,1000)
    [21:22:16] [RadarAPI]: ar1.Calling_IsConnected()
    [21:22:17] [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [21:22:17] [RadarAPI]: Status: Passed
    [21:22:17] [RadarAPI]: ar1.SelectChipVersion("XWR1843")
    [21:22:17] [RadarAPI]: Status: Passed
    [21:22:17] Device Status : XWR1843/QM/SOP:2/ES:2
    [21:22:17] [RadarAPI]: ar1.SaveSettings('C:\Users\li137\AppData\Roaming\RSTD\ar1gui.ini')
    [21:22:26] [RadarAPI]: ar1.ReadRegister(0xffffe214, 0, 31)
    [21:22:26] [RadarAPI]: ar1.ReadRegister(0xffffe210, 0, 31)
    [21:22:26] [RadarAPI]: ar1.ReadRegister(0xffffe218, 0, 31)
    [21:22:26] [RadarAPI]: ar1.DownloadBSSFw("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\radarss\\xwr18xx_radarss.bin")
    [21:22:26] [RadarAPI]: Downloading BSS Patch RPRC Binary..
    [21:22:34] [RadarAPI]: ar1.GetBSSFwVersion()
    [21:22:34] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
    [21:22:35] [RadarAPI]: ar1.GetBSSPatchFwVersion()
    [21:22:35] [RadarAPI]: BSSPatchFwVersion:(01.02.05.02 (30/04/19))
    [21:22:35] BSS FW Download Success
    [21:22:35] [RadarAPI]: ar1.DownloadMSSFw("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\masterss\\xwr18xx_masterss.bin")
    [21:22:35] [RadarAPI]: Downloading MSS RPRC Binary..
    [21:22:46] [RadarAPI]: ar1.GetMSSFwVersion()
    [21:22:46] [RadarAPI]: MSSFwVersion:(01.02.05.02 (16/07/19))
    [21:22:46] MSS FW Download Success
    [21:22:47] MSS power up done async event received!
    [21:22:47] [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)
    [21:22:47] [RadarAPI]: Status: Passed
    [21:22:47] Power On Success
    [21:22:48] [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [21:22:48] [RadarAPI]: Status: Passed
    [21:22:48] [RadarAPI]: ar1.SelectChipVersion("XWR1843")
    [21:22:48] [RadarAPI]: Status: Passed
    [21:22:48] Device Status : XWR1843/QM/SOP:2/ES:2
    [21:22:48] [RadarAPI]: ar1.RfEnable()
    [21:22:48] BSS power up done async event received!
    [21:22:48] [RadarAPI]: Status: Passed
    [21:22:48] [RadarAPI]: ar1.GetMSSFwVersion()
    [21:22:48] [RadarAPI]: MSSFwVersion:(01.02.05.02 (16/07/19))
    [21:22:49] [RadarAPI]: ar1.GetBSSFwVersion()
    [21:22:49] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
    [21:22:50] [RadarAPI]: ar1.GetBSSPatchFwVersion()
    [21:22:50] [RadarAPI]: BSSPatchFwVersion:(01.02.05.02 (30/04/19))
    [21:22:50] RF Enable Success
    [21:22:50] [RadarAPI]: ar1.ChanNAdcConfig(1, 1, 0, 1, 1, 1, 1, 2, 1, 0)
    [21:22:50] [RadarAPI]: Status: Passed
    [21:22:50] ChanNAdcConfig Success
    [21:22:50] [RadarAPI]: ar1.LPModConfig(0, 0)
    [21:22:50] [RadarAPI]: Status: Passed
    [21:22:50] Regualar mode Cfg Success
    [21:22:50] [RadarAPI]: ar1.RfInit()
    [21:22:50] RF Init async event received!
    [21:22:50] [RadarAPI]: Time stamp, Temperture: 2098,39; 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;
    [21:22:50] [RadarAPI]: Status: Passed
    [21:22:50] RfInit Success
    [21:22:51] [RadarAPI]: ar1.DataPathConfig(1, 1, 0)
    [21:22:51] [RadarAPI]: Status: Passed
    [21:22:51] DataPathConfig Success
    [21:22:51] [RadarAPI]: ar1.LvdsClkConfig(1, 1)
    [21:22:51] [RadarAPI]: Status: Passed
    [21:22:51] LvdsClkConfig Success
    [21:22:51] [RadarAPI]: ar1.LVDSLaneConfig(0, 1, 1, 0, 0, 1, 0, 0)
    [21:22:51] [RadarAPI]: Status: Passed
    [21:22:51] LVDSLaneConfig Success
    [21:22:51] [RadarAPI]: 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)
    [21:22:51] [RadarAPI]: Status: Passed
    [21:22:51] Test Source Configuration Success
    [21:22:51] [RadarAPI]: ar1.ProfileConfig(0, 77, 100, 6, 60, 0, 0, 0, 0, 0, 0, 29.982, 0, 256, 5000, 0, 0, 30)
    [21:22:51] [RadarAPI]: Status: Passed
    [21:22:51] ProfileConfig Success
    [21:22:51] [RadarAPI]: ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 1, 0)
    [21:22:51] [RadarAPI]: Status: Passed
    [21:22:51] ChirpConfig Success
    [21:22:51] [RadarAPI]: ar1.EnableTestSource(1)
    [21:22:51] [RadarAPI]: Status: Passed
    [21:22:51] Enabling Test Source Success
    [21:22:51] Test Source Already Enabled...!!!
    [21:22:51] [RadarAPI]: ar1.EnableTestSource(1)
    [21:22:51] [RadarAPI]: Status: Passed
    [21:22:51] [RadarAPI]: ar1.FrameConfig(0, 0, 8, 128, 40, 0, 0, 1)
    [21:22:52] [RadarAPI]: Status: Passed
    [21:22:52] FrameConfig Success
    [21:22:52] [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")
    [21:22:52] [RadarAPI]: Status: Passed
    [21:22:52] SelectCaptureDevice Success
    [21:22:52] [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "c:22:38:4e:5a:c", 4096, 4098)
    [21:22:52] [RadarAPI]: Sending fpga command to DCA1000
    [21:22:52] [RadarAPI]:
    [21:22:52] FPGA Configuration command : Success
    [21:22:52] [RadarAPI]: Sending fpga_version command to DCA1000
    [21:22:52] [RadarAPI]:
    [21:22:52]
    [21:22:52] FPGA Version : 2.8 [Record]
    [21:22:52]
    [21:22:52] CaptureCardConfig_EthInit Success
    [21:22:52] [RadarAPI]: ar1.CaptureCardConfig_Mode(1, 2, 1, 2, 3, 30)
    [21:22:52] [RadarAPI]: Sending fpga command to DCA1000
    [21:22:52] [RadarAPI]:
    [21:22:52] FPGA Configuration command : Success
    [21:22:52] CaptureCardConfig_Mode Success
    [21:22:52] [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(25)
    [21:22:52] [RadarAPI]: Sending fpga command to DCA1000
    [21:22:52] [RadarAPI]:
    [21:22:52] FPGA Configuration command : Success
    [21:22:52] [RadarAPI]: Sending record command to DCA1000
    [21:22:52] [RadarAPI]:
    [21:22:52] Configure Record command : Success
    [21:22:52] CaptureCardConfig_PacketDelay Success
    [21:22:52] [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin", 1)
    [21:22:52] [RadarAPI]: Sending start_record command to DCA1000
    [21:22:52] [RadarAPI]: Status: Passed
    [21:22:53] [RadarAPI]: ar1.StartFrame()
    [21:22:53] [RadarAPI]: Status: Passed
    [21:22:53] Frame start async event received!
    [21:22:53] Frame End async event received!
    [21:22:53] [RadarAPI]: Frame Ended
    [21:22:58] Please wait for a few seconds for matlab post processing .....!!!!
    [21:22:58] [RadarAPI]: ar1.StartMatlabPostProc("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin")
    [21:22:58] [RadarAPI]: No of files Captured: 1, Total no of frames for each device : 8
    [21:23:08]
    [21:23:08] ***Script completed successfully.***

  • Hello Xiayu, 

    The result is as expected, according to the configuration you ran. 

    You have enabled a "Test Source" in your RF configuration, which means the device will simulate an artificial object at the programmed coordinates and show you the plots according to that. In your case, The test source is enabled at a distance of 4m in the x-axis, and 3m (yaxis) and hence you're seeing an object at 5m in your plot. 

    [21:22:51] [RadarAPI]: 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)

    In case you want to capture the objects in your real time environment, you will have to disable the test source object in the demo script. 

    Regards,

    Ishita

  • OK, thank you Ishita. I have solved this problem and now it works well. I think there are still many things about mmWave radar I need to study.

  • Hi Xiayu,

    Good to hear that. 

    Please feel free to reach out for any further concerns. 

    Have a good day!

    Regards,

    Ishita