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.

  • Resolved

AWR1642: DCA1000+AWR1642,spi connect

Intellectual 385 points

Replies: 18

Views: 571

Part Number: AWR1642

I followed the steps in ppt (mmWave Sensor Raw Data Capture Using the DCA1000 Board and mmWave Studio). When I proceeded to the 'Click the SPI Connect button' step, I did not see 'SPI Disconnect', then I tried erase Flash on xWR14xx/xWR16xx EVM, I followed the steps to re-operate, but the result still does not appear 'SPI Disconnect', what is the reason?This is a screenshot of my current operation, and ouput.

GM: Constructor
GM: Wed Jan 09 10:05:06 2019
RSTD.Transmit("/Settings")
[10:05:06]
[10:05:06] ### Running Startup script: "C:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\Scripts\Startup.lua" ###
[10:05:07] RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
[10:05:07] RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
[10:05:07] Scripter ignored: Attempt to UnBuild() again or before Build.
[10:05:07] RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Clients\\\\LabClient.dll")
[10:05:07] RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
[10:05:07] RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
[10:05:07] RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
[10:05:07] RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
[10:05:07] RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
[10:05:07] RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\RunTime\\SAL.dll")
[10:05:07] RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
[10:05:07] RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
[10:05:07] RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
[10:05:07] RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
[10:05:07] RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
[10:05:07] RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
[10:05:07] RSTD.Transmit("/")
[10:05:07] RSTD.SaveSettings(): Settings saved to "C:\Users\Administrator\AppData\Roaming\RSTD\config.xml"
[10:05:07] RSTD.Build()
[10:05:07] RSTD.SaveSettings(): Settings saved to "C:\Users\Administrator\AppData\Roaming\RSTD\config.xml"
[10:05:07] RSTD.Transmit("/")
[10:05:07] RSTD.AL_Build()
[10:05:07] RSTD.AL_LoadXml()
[10:05:07] RSTD.Transmit("/")
[10:05:07] RSTD.AL_Init()
[10:05:07] RSTD.Clients_Build()
[10:05:07] GM: Init
[10:05:07] GM: Loaded 'C:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\Clients\\LabClient.dll'
[10:05:07] GM: 1 Guest (s) init
[10:05:07] GM: 1 Module(s) init
[10:05:07] GM: 2 Tab (s) init
[10:05:07] RSTD.Client_LoadXml()
[10:05:07] [RadarAPI]: Starting Matlab Engine..
[10:05:11] [RadarAPI]: Matlab Engine Started!
[10:05:14] [RadarAPI]: ar1.LoadSettings('C:\Users\Administrator\AppData\Roaming\RSTD\ar1gui.ini')
[10:05:14] TESTING = false
[10:05:14]
[10:05:14] ***Script completed successfully.***
[10:05:18] [RadarAPI]: Opening Gpio Control Port()
[10:05:18] [RadarAPI]: Status: Passed
[10:05:19] [RadarAPI]: Opening Board Control Port()
[10:05:19] [RadarAPI]: Status: Passed
[10:05:20] [RadarAPI]: ar1.FullReset()
[10:05:20] [RadarAPI]: Status: Passed
[10:05:20] [RadarAPI]: Closing Board Control Port()
[10:05:20] [RadarAPI]: Status: Passed
[10:05:21] [RadarAPI]: Closing Gpio Control Port()
[10:05:21] [RadarAPI]: Status: Passed
[10:05:21] [RadarAPI]: ar1.SOPControl(2)
[10:05:21] [RadarAPI]: Status: Passed
[10:05:22] [RadarAPI]: ar1.Connect(4,115200,1000)
[10:05:23] [RadarAPI]: ar1.Calling_IsConnected()
[10:05:25] [RadarAPI]: ar1.SelectChipVersion("AR1642")
[10:05:25] [RadarAPI]: Status: Passed
[10:05:25] [RadarAPI]: RS232 is not connected ..!!!!
[10:05:25] [RadarAPI]: ar1.frequencyBandSelection("77G")
[10:05:25] [RadarAPI]: ar1.SelectChipVersion("XWR1642")
[10:05:25] [RadarAPI]: Status: Passed
[10:05:25] Device Status : XWR1642/ASIL-B/SOP:2/ES:2
[10:05:26] [RadarAPI]: ar1.SelectChipVersion("AR1642")
[10:05:26] [RadarAPI]: Status: Passed
[10:05:26] [RadarAPI]: ar1.SelectChipVersion("XWR1642")
[10:05:26] [RadarAPI]: Status: Passed
[10:05:26] Device Status : XWR1642/ASIL-B/SOP:2/ES:2
[10:05:26] [RadarAPI]: ar1.SaveSettings('C:\Users\Administrator\AppData\Roaming\RSTD\ar1gui.ini')
[10:05:34] [RadarAPI]: ar1.DownloadBSSFw("C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\radarss\\xwr16xx_radarss.bin")
[10:05:35] [RadarAPI]: Downloading BSS Patch RPRC Binary..
[10:05:42] [RadarAPI]: ar1.GetBSSFwVersion()
[10:05:42] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
[10:05:43] [RadarAPI]: ar1.GetBSSPatchFwVersion()
[10:05:43] [RadarAPI]: BSSPatchFwVersion:(01.02.00.03 (24/10/18))
[10:05:45] [RadarAPI]: ar1.DownloadMSSFw("C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\masterss\\xwr16xx_masterss.bin")
[10:05:45] [RadarAPI]: Downloading MSS RPRC Binary..

  • In reply to wei liu62:

    Hi Wei,

    Can you please press the NRST button on the EVM before starting the procedure from mmWaveStudio?

    Best Regards,
    Anand
  • In reply to Anand Gadiyar:

    I try to press the NRST button on the EVM before starting the procedure from mmWaveStudio,but this method is not used .

    Today,i try to re-flash the FPGA  image ,use the method in pdf (DCA1000EVM Data Capture Card-9.2 FPGA - SPI Flash Programming Mode).But this is also not uesd.

    Is there any other way to solve this problem?

    Best Regards

  • In reply to wei liu62:

    Hi Wei,

    Let us confirm if your EVM is still working. Can you flash the demo image from the mmWave SDK again and try again with the mmWave Demo Visualizer?

    The demo image is available in the following location in the SDK: C:\ti\mmwave_sdk_02_00_00_04\packages\ti\demo\xwr16xx\mmw\xwr16xx_mmw_demo.bin


    If this is still working, then let us debug step-by-step from there.

    Thanks,
    Anand
  • In reply to Anand Gadiyar:

    i flash the demo image from the mmWave SDK again and try again with the mmWave Demo Visualizer.

    this is my mmWave Demo Visualizer window,i think my awr1642 is working.

    Here I have another problem, the REV B is displayed on the 1642EVM, but the REV A is displayed in the uniflash. The ES:2 is displayed in the mmWave Studio. Is there any problem displayed in the uniflash?

    Return to the topic.After I verified that the EVM was working properly, I followed the steps in the manual, including the process of erasing the flash, but the final result still could not connect to the SPI. I am worried if my DCA1000 is damaged?

    Best regards 

  • In reply to Anand Gadiyar:

    In my browsing of other people's questions about "SPI disconnect", one person said "we enabled MCAN and disconnect SPI interface." I want to know where to disconnect SPI interface. I want to check if I have the same problem. (My sw2.5 is CONFIG_VIA_SW)
  • In reply to wei liu62:

    Hi Wei,

    It looks like you have a Rev B EVM. I am checking about how to get the SPI enabled on this version and will get back to you later today.

    Best Regards,
    Anand
  • In reply to Anand Gadiyar:

    Hi Wei,

    On the top side of the EVM, there is a switch S2 that allows selection between CAN and SPI - you can see this switch in the photo you shared.

    Please set this to the SPI position.

    Best Regards,
    Anand
  • In reply to Anand Gadiyar:

    OK,i think i haved solve this problem.Thank you very much.

    Best Regards

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.