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.

AWR1642BOOST: RESP timeout in AWR1642BOOST

Part Number: AWR1642BOOST


Hello Everyone

I am working on the Radar System from TI and when trying to capture the raw data using the TSW1400, I followed all the instructions mentioned in the user guide but when i read the point of hitting (TSW1400 ARM) I got the following error:

[RadarAPI]: Error:
[11:11:54]
[11:11:54] ... MWMCR::EvaluateFunction error ...
[11:11:54] 14-Aug-2017 11:11:54: Frame Config has not been populated,1,
[11:11:54] Error in => setup_for_triggered_capture_max_30_frames.m at line 6.
[11:11:54]
[11:11:54] ... Matlab M-code Stack Trace ...
[11:11:54] at
[11:11:54] file C:\Users\mlatief\AppData\Local\Temp\mlatief\mcrCache8.5.1\Matlab0\Logging\log_status.m, name log_status, line 32.
[11:11:54] at
[11:11:54] file C:\Users\mlatief\AppData\Local\Temp\mlatief\mcrCache8.5.1\Matlab0\MatlabPostPr\setup_for_triggered_capture_max_30_frames.m, name setup_for_triggered_capture_max_30_frames, line 6.
[11:11:54]
[11:11:54]
[11:11:54] Trace:
[11:11:54] at MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(String functionName, Int32 numArgsOut, Int32 numArgsIn, MWArray[] argsIn)
[11:11:54] at MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(String functionName, MWArray[] argsIn)
[11:11:54] at MatlabPostProcGui.MatlabPostProcGUIClass.setup_for_triggered_capture_max_30_frames(MWArray FilePathWithName)
[11:11:54] at AR1xController.frmAR1Main.iStartTSW1400IF()

So, Can you please guide me to what could be the problem here?

Regards.

Mustafa

  • Hello Mustafa,

    This seems like error during post-processing step that happens after the capture of raw data is performed.
    However you have mentioned that this error occurs prior to TSW1400 ARM step - indicating that the error happens before capture.

    Wanted to make sure that 'Post process' Step is not performed prior to data capture.



    Thank you,
    Vaibhav
  • Hello Vaibhav

    Yes, i am sure this happened before the post process, i got the error directly after hitting "AWR 1400 ARM".

    Regards

    Mustafa

  • Hello Mustafa,
    Can you confirm you have set the frame configuration in the radar studio before you start the transmission?

    Regards,
    Vivek
  • Hello Vivek

    is there any special configuration to the frames?

    and yes, I followed all the instructions in the manual and still get this message "RESP timeout" after hitting set in the ADC config tab inside the StaticConfig window.

    Hope you can help me with it.

    Thanks and best regards

    Mustafa

  • Hello Mustafa,
    Can you share the complete log file from the beginning (just like you have shared an error snippet)? If you are getting an error at ADC config itself then the frame config etc. would not have passed.
    Just to double check, you are using the AWR1642BOOST board along with the Devpack and TSW1400 boards, is that right? Could you also confirm the power supply you are using has >2.5A rating ?

    regards,
    Vivek
  • Hello Vivek

    here is the entire log:

    GM: Constructor
    GM: Wed Aug 16 09:52:51 2017
    RSTD.Transmit("/Settings")
    [09:52:51]
    [09:52:51] ### Running Startup script: "C:\ti\mmwave_dfp_00_07_00_04\rf_eval\radarstudio\Scripts\Startup.lua" ###
    [09:52:51] RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
    [09:52:51] RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
    [09:52:51] Scripter ignored: Attempt to UnBuild() again or before Build.
    [09:52:51] RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\ti\\mmwave_dfp_00_07_00_04\\rf_eval\\radarstudio\\Clients\\\\LabClient.dll")
    [09:52:51] RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
    [09:52:51] RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
    [09:52:51] RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
    [09:52:51] RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
    [09:52:51] RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
    [09:52:51] RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\ti\\mmwave_dfp_00_07_00_04\\rf_eval\\radarstudio\\RunTime\\SAL.dll")
    [09:52:51] RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
    [09:52:52] RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
    [09:52:52] RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
    [09:52:52] RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
    [09:52:52] RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
    [09:52:52] RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
    [09:52:52] RSTD.Transmit("/")
    [09:52:52] RSTD.SaveSettings(): Settings saved to "C:\Users\mlatief\AppData\Roaming\RSTD\config.xml"
    [09:52:52] RSTD.Build()
    [09:52:52] RSTD.SaveSettings(): Settings saved to "C:\Users\mlatief\AppData\Roaming\RSTD\config.xml"
    [09:52:52] RSTD.Transmit("/")
    [09:52:52] RSTD.AL_Build()
    [09:52:52] RSTD.AL_LoadXml()
    [09:52:52] RSTD.Transmit("/")
    [09:52:52] RSTD.AL_Init()
    [09:52:52] RSTD.Clients_Build()
    [09:52:52] GM: Init
    [09:52:52] GM: Loaded 'C:\ti\mmwave_dfp_00_07_00_04\rf_eval\radarstudio\Clients\\LabClient.dll'
    [09:52:52] GM: 1 Guest (s) init
    [09:52:52] GM: 1 Module(s) init
    [09:52:52] GM: 2 Tab (s) init
    [09:52:52] RSTD.Client_LoadXml()
    [09:52:52] [RadarAPI]: Starting Matlab Engine..
    [09:53:49] [RadarAPI]: Matlab Engine Started!
    [09:53:53] [RadarAPI]: ar1.LoadSettings('C:\Users\mlatief\AppData\Roaming\RSTD\ar1gui.ini')
    [09:53:53] TESTING = false
    [09:53:53]
    [09:53:53] ***Script completed successfully.***
    [09:54:38] [RadarAPI]: Opening Gpio Control Port()
    [09:54:38] [RadarAPI]: Status: Passed
    [09:54:39] [RadarAPI]: Opening Board Control Port()
    [09:54:39] [RadarAPI]: Status: Passed
    [09:54:40] [RadarAPI]: ar1.FullReset()
    [09:54:40] [RadarAPI]: Status: Passed
    [09:54:40] [RadarAPI]: Closing Board Control Port()
    [09:54:40] [RadarAPI]: Status: Passed
    [09:54:40] [RadarAPI]: Closing Gpio Control Port()
    [09:54:40] [RadarAPI]: Status: Passed
    [09:54:40] [RadarAPI]: ar1.SOPControl(2)
    [09:54:40] [RadarAPI]: Status: Passed
    [09:54:43] [RadarAPI]: ar1.Connect(4,115200,1000)
    [09:54:44] [RadarAPI]: ar1.Calling_IsConnected()
    [09:54:45] [RadarAPI]: ar1.SelectChipVersion("XWR1642")
    [09:54:45] [RadarAPI]: Status: Passed
    [09:54:45] [RadarAPI]: ar1.SelectChipVersion("XWR1642")
    [09:54:45] [RadarAPI]: Status: Passed
    [09:54:45] [RadarAPI]: ar1.SaveSettings('C:\Users\mlatief\AppData\Roaming\RSTD\ar1gui.ini')
    [09:54:50] [RadarAPI]: ar1.GetTemperatureSensorData()
    [09:54:50] [RadarAPI]: Status: Passed
    [09:54:50] [RadarAPI]: Status: Passed
    [09:54:50] [RadarAPI]: Status: Passed
    [09:54:50] [RadarAPI]: Status: Passed
    [09:54:51] [RadarAPI]: ar1.DownloadBSSFw("C:\\ti\\mmwave_dfp_00_07_00_04\\rf_eval\\rf_eval_firmware\\radarss\\xwr16xx_radarss_rprc.bin")
    [09:54:52] [RadarAPI]: Downloading BSS ROM RPRC Binary..
    [09:55:55] [RadarAPI]: ar1.DownloadMSSFw("C:\\ti\\mmwave_dfp_00_07_00_04\\rf_eval\\rf_eval_firmware\\masterss\\xwr16xx_masterss_rprc.bin")
    [09:55:55] [RadarAPI]: Downloading MSS RPRC Binary..
    [09:56:41] [RadarAPI]: Unknown Async event recieved(0)
    [09:56:41] [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)
    [09:56:41] [RadarAPI]: Status: Passed
    [09:56:41] [RadarAPI]: ar1.SaveSettings('C:\Users\mlatief\AppData\Roaming\RSTD\ar1gui.ini')
    [09:56:55] [RadarAPI]: ar1.ChanNAdcConfig(1, 0, 0, 1, 1, 1, 1, 2, 2, 0)
    [09:56:56] [RadarAPI]: Status: Failed, Error Type: RESP TIMEOUT
    [09:57:07] [RadarAPI]: ar1.ChanNAdcConfig(1, 1, 0, 1, 1, 1, 1, 2, 2, 0)
    [09:57:08] [RadarAPI]: Status: Failed, Error Type: RESP TIMEOUT
    [09:57:28] [RadarAPI]: ar1.EnableTestSource(1)
    [09:57:28] [RadarAPI]: Status: Failed, Error Type: RESP TIMEOUT
    [09:57:28] [RadarAPI]: ar1.AdvanceFrameConfig(4, 0, 0, 0, 1, 128, 8000000, 0, 1, 1, 8000000, 0, 0, 1, 128, 8000000, 0,1, 1, 8000000, 0, 0, 1, 128, 8000000, 0, 1, 1, 8000000, 0, 0, 1, 128,8000000, 0, 1, 1, 8000000, 10, 1, 0, 4, 128, 0, 1, 128, 0, 1, 128,0, 1, 128, 0, 1)
    [09:57:29] [RadarAPI]: Status: Failed, Error Type: RESP TIMEOUT
    [09:58:06] [RadarAPI]: ar1.EnableTestSource(1)
    [09:58:06] [RadarAPI]: Status: Failed, Error Type: RESP TIMEOUT
    [09:58:06] [RadarAPI]: ar1.AdvanceFrameConfig(4, 0, 0, 0, 1, 128, 8000000, 0, 1, 1, 8000000, 0, 0, 1, 128, 8000000, 0,1, 1, 8000000, 0, 0, 1, 128, 8000000, 0, 1, 1, 8000000, 0, 0, 1, 128,8000000, 0, 1, 1, 8000000, 10, 1, 0, 4, 128, 0, 1, 128, 0, 1, 128,0, 1, 128, 0, 1)
    [09:58:07] [RadarAPI]: Status: Failed, Error Type: RESP TIMEOUT
    [09:58:20] [RadarAPI]: ar1.ChanNAdcConfig(1, 1, 0, 1, 1, 1, 1, 2, 2, 0)
    [09:58:21] [RadarAPI]: Status: Failed, Error Type: RESP TIMEOUT
    [09:58:25] [RadarAPI]: ar1.LPModConfig(0, 0)
    [09:58:26] [RadarAPI]: Status: Failed, Error Type: RESP TIMEOUT
    [09:58:34] [RadarAPI]: ar1.SetCalMonFreqLimitConfig(77,81)
    [09:58:35] [RadarAPI]: Status: Failed, Error Type: RESP TIMEOUT
    [09:58:38] [RadarAPI]: ar1.RfInit()
    [09:58:39] [RadarAPI]: Status: Failed, Error Type: RESP TIMEOUT
    [09:59:48] [RadarAPI]: ar1.DataPathConfig(1, 1, 0)
    [09:59:49] [RadarAPI]: Status: Failed, Error Type: RESP TIMEOUT
    [10:10:19] [RadarAPI]: ar1.ChanNAdcConfig(1, 1, 0, 1, 1, 1, 1, 2, 2, 0)
    [10:10:20] [RadarAPI]: Status: Failed, Error Type: RESP TIMEOUT
    [10:10:27] [RadarAPI]: ar1.ChanNAdcConfig(1, 0, 0, 1, 0, 0, 0, 2, 2, 0)
    [10:10:28] [RadarAPI]: Status: Failed, Error Type: RESP TIMEOUT
    [09:40:18] RSTD.ShowLogFile()

    and about your other questions:

    - yes I am using AWR1642BOOST board with DEVPack and TSW1400 boards.

    - yes, I am using a power supply with the following ratings: 5v 3a 8 feet long.

    Thanks again and hope these info. can help you understand my issue better.

    best regards.

    Mustafa

  • Hello Mustafa,
    From log looks like after you do the "SPI connect" you are not doing the "RF Power up". Could you make sure you do that step as well before you go to the ADC config.

    Regards,
    Vivek
  • Hello Mustafa,
    Also a 8ft cable might have a lot of IR drop across it. Would recommend using a shorter cable.

    Regards,
    Vivek