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: + DCA 1000 EVM ; Problems with Advanced Frame Config

Part Number: AWR1642BOOST
Other Parts Discussed in Thread: AWR1642
Hi TI team !
I am using AWR1642BOOST (ES2.0) + DCA1000 EVM, mmwave Studio 2.0.0.2 for acquiring adcData. I am using 16-bit ADC data in 2x Complex format for one Tx and two Rx. I have  tried to collect the data for 450 frames, with 4.4ms interframe time. I have used two sub-frames in one frame; one frame had 32 chirps and the 2nd subframe had 35 chirps. Both types of chirps had 26us chirp time for 64 adc samples/chirp.
I tried to get the output on the GUI by using the PostProc utility of mmwave Studio. It SEEMS that it worked fine when I got the following figures:
 
FIGURE 1
 
FIGURE 2
We can see above 450 frames and sub-frame one having 32 chirps and sub-frame 2 having 35 chirps.
Now, I request your guidance on the following problems I am facing and the following queries. I earnestly request you to please reply each individual question separately:
 
1)   I am acquiring the adcData matrix produced by the DCA1000 EVM + mmwave Studio 2.0.0.2 for the above setup. I am using the MATLAB script provided by TI in the document mmwave Radar Device ADC Raw Data Capture (swra581b.pdf), for this purpose. For a use case of 2 Rx, the adcData produced by this MATLAB code should have a dimension of m x n, where 
m = 2 rows ( for 2 Rx)   and
n = 64 adc samples / chirp  x  (  (32 chirps/subframe1 +35/subframe2 = ) 67 chirps / frames )  x  450 frames = 64 x 67 x 450 = 1929600 columns
Some times, not always, I obtain SUPPOSEDLY correct results from PostProc , as shown in Figure 1 and 2 above, and the adcData matrix also has correct number dimensions as calculated above.
However, many times, the adcData matrix for this case (by using above TI provided MATLAB code) gives a matrix having dimension of 2 x 2048 , instead of 2 x 1929600. Can you please help ?
2)   A connected fact is that after when the above error has occurred, then, after that, when I try to re-capture the adc data,  then RESP TIMEOUT Error occurs.
Many times, when I do one operation of configuring the AWR1642+DCA1000 EVM system, configuring the device and especially using the AdvFrameConfig tab, arming the DCA1000, triggering, pressing the PostProc button, then I see that supposedly correct PosrProc Grpahs are displayed. 
However, when I again use the AdvFrameConfig or even if I use commands in SensorConfig tab, the I get the RESP TIMEOUT error. As a result, I need to restart both the hardware items and the mmwave Studio which is a time consuming and redundant task. In fact, I have to restart the hardware and mmwave studio for each new individual setting if I use AdvFrameConfig tab. Can you please help  ?
Please note that this RESP TIMEOUT Error occurs when already the adcData matirx has had wrong size, although, prior to that, SUPPOSEDLY, PostProc has had produced correct GUI graphs. I am getting the following error message at mmwave Studio output console, though I dont recall whether the first error line was the same always , or not :
[21:42:11]  [RadarAPI]: ar1.DisableTestSource(0)
[21:42:11]  Status: Failed, Error Type: RESP TIMEOUT
3)  Both of the above problems dont occur if I dont use AdvFrameConfig and if I only use SensorConfig tab and just use one chirp, say 32 chirps/frame and same 450 frames. Then the size of adcData matrix remains correct and the RESP TIMEOUT error also does not occur.
Moreover, above two errors (para 1 & 2) are arising intermittently, sometime they occur, some time they dont occur.
4)  As I stated earlier, I am using mmwave Studio 2.0.0.2 with DCA1000 FPGA file version 2.7. I have re-programmed DCA1000 with same version 2.7 file but still the problem persists.
5)   I hope that the version of mmwave SDK has nothing to do with it, therefore, I have not re-programmed AWR1642BOOST for mmwave SDK. I hope it does not make any difference, please comment.
6)   Some queries about AdvFrameConfig  in mmwave Studio 2.0.0.2 :
Please refer above information in the start of this question. Then pls refer AdvFrameConfig
a)  What is the correct way to assign 32 chirps to subframe-1. Should I use NumChirps = 32 and  NumLoops = 1 ? Or should I use NumChirps = 1 and NumLoops = 32 ? Both these options are identical or not? If not then what is the difference ?
b) At the top of AdvFrameConfig, number of Frames are defined . Say I need 450 frames. If I set Number of frames = 450 here then do I also need to set to number of frames as 450 in frames sub-tab of SensorConfig tab ?
And how to set number of chirp loops in Frame sub-tab of SensorCOnfig tab, in this case. I set the number fo chirp loops to 1 in this case and I set the Advance Frame Config after this command so I assume that the Advance Frame Config overwrites the Frame Sub-tab of SensorConfig tab.
c)  Related to b) is that I think the reply is yes, because interframe time is set in SensorConfig (and not in AdvFrameConfig) so I think I must set frames = 450 , both in AdvSensorConfig tab and in SensorConfig tab.
7)  For certain reasons, I was not willing to use mmwave Studio 2.1.1.0. However, in the face of this issue, after above attempts, I programmed the DCA1000 with version 2.8 of FPGA file and tried to use mmwave Studio 2.1.1.0 with Advanced Frame Config. This time a new error occurred. I am using the following chirp configuration in all cases:
 
FIGURE 3
 
Now when I tried to program 450 frames with each frame having subframe1 of 32 chirps and subframe2 of 35 chirps, (as I tired earlier with mmwave Studio 2.0.0.2) , then now mmwave Studio 2.1.1.0 gave a new error when I attempted to use Advanced Frame Config. The following figure shows the situation and the error is
Error Type: CHIRP USED IN THE FRAME IS NOT CONFIGURED BY AWR_CHIRP_CONF_SET_SB 
 
FIGURE 4
Please advise how can I resolve this error in mmwave Studio 2.1.1.0 for using Advanced Frame Config. I think that in Figure 3 , in Profile ID 0, i have set the the Chirp configuration in SensorConfig tab and I am using the same chirp in both subframes of all 450 frames so  I should not be getting this error. I repeat that I did the same but I did not this get this error in mmwave Studio 2.0.0.2, although, there, intermittently, the two other errors of corrupting of adcData matrix and RESP TIMEOUT Error, occurred. But at least this earlier stage passed and Advanced Frame Config tab passed the parameters successfully. But with mmwave Studio 2.1.1.0, even the step of Advanced Frame Config passing the parameters is not being succeeded.
Note that, the single chirp operations are going fine in mmwave Studio 2.1.1.0.
8)  Please note that I have searched this TI e2e forum but I did not find similar issues therefore then I submitted this query.  I have also referred Radar Interface Control Document Version 1.7, Table 5.22 for guidance. But could not resolve the issue.
9)  Please advise that is Version 1.7 , the latest version of Radar Interface Control Document? If not, then please provide the latest version of Radar Interface Control Document.
10)  In terms of grand summary, I have the following problem/desire and I request you to please advise any possible way to resolve/accomplish that:
a)  I wish to use chirp configuration as shown in figure 3 (for example).
b)  I wish to transmit, say, 3 sets of the single chirp configuration defined in (a) above. Means that all chirps will be identical in all three sets but the numbers of chirps in 3 sets will be different. The ttotal number of all transmitted sets can be, say, 450.
c)  I can use burst, subframe, frame or any other way to from three sets of same chirps but having different number of chirps in each set. I will use each set as a CPI to get 2D FFT of chirps contained in one set. And  I wish the inter-set time to be as small as possible.
d)  I still consider myself novice at TI mmwave EVMs so your step by step guidance will be highly appreciated, please, if possible. Moreover, I dont wish to use lua etc and I prefer to use mmwave Studio GUI it is more easy and fast so please try to advise accordingly.
Thanks in advance and regards.
  • Hi,

    I am trying to put spaces in the text so that it can be read easily but I dont know what is the problem.

    I regret the inconvenience you  will have in reading this but that is website related and beyond my control.

    More thanks in advance for your extra effort to read it.

    Best regards

  • Hello Badar,

    If I just glance through your issue, I see you're using mmWave studio 02_00_00_02 and DCA1000 FPGA version 2.7

    We actually recommend using FPGA version 2.8 because there were some bug fixes related to the the RESP TIMEOUT error you're facing with FW version 2.7, so I guess it would be best to upgrade to version 2.8.

    Now also, the error you're getting with mmWave studio 02_01_01_00, points to the fact that you've not configured the chirps. So here I just want to confirm a small thing, did you press two "set" buttons on the sensorConfig tab? i.e one for the profile config and another one for the chirp config which is to the bottom left of the tab? and only after pressing these two "set" buttons, you move the the Advance Frame Config tab.

    Can you confirm once on this?

    Also, the latest DFP package we have is mmWave DFP 01_02_06_03 (https://software-dl.ti.com/ra-processors/esd/MMWAVE-DFP/01_02_06_03/index_FDS.html 

  • Hi Ishita,

    Thank you for your reply.

    1)   Thank you for the latest link to the Radar Interface Control Document.

    2)   I was already thinking that earlier mmwave Studio might have issue. Therefore, although, I had some limitation and I did not want to do that, but as I wrote and you know, now I am working on mmwave Studio 2.1.1.0 with rev 2.8 FPGA on DCA 1000.

    3)  I tried again and  I confirm that I pressed the 1st set button for Profile Config and I pressed the 2nd set button for Chirp Config , both of them located in Sensor Config tab and only after that, I moved to Advanced Frame Config tab. 

    But the problem persists.

    It is a long long text but I am still pasting the output console text below, which might give you and idea about problem.

    GM: Constructor
    GM: Mon Nov 02 18:04:13 2020
    RSTD.Transmit("/Settings")
    [18:04:14]
    [18:04:14] ### Running Startup script: "C:\ti\mmwave_studio_02_01_01_00\mmWaveStudio\Scripts\Startup.lua" ###
    [18:04:14] RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
    [18:04:14] RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
    [18:04:14] Scripter ignored: Attempt to UnBuild() again or before Build.
    [18:04:14] RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\Clients\\\\LabClient.dll")
    [18:04:14] RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
    [18:04:14] RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
    [18:04:14] RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
    [18:04:14] RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
    [18:04:14] RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
    [18:04:14] RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\RunTime\\SAL.dll")
    [18:04:14] RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
    [18:04:14] RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
    [18:04:14] RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
    [18:04:14] RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
    [18:04:14] RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
    [18:04:14] RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
    [18:04:14] RSTD.Transmit("/")
    [18:04:14] RSTD.SaveSettings(): Settings saved to "C:\Users\Admin\AppData\Roaming\RSTD\config.xml"
    [18:04:14] RSTD.Build()
    [18:04:14] RSTD.SaveSettings(): Settings saved to "C:\Users\Admin\AppData\Roaming\RSTD\config.xml"
    [18:04:14] RSTD.Transmit("/")
    [18:04:14] RSTD.AL_Build()
    [18:04:15] RSTD.AL_LoadXml()
    [18:04:15] RSTD.Transmit("/")
    [18:04:15] RSTD.AL_Init()
    [18:04:15] RSTD.Clients_Build()
    [18:04:15] GM: Init
    [18:04:15] GM: Loaded 'C:\ti\mmwave_studio_02_01_01_00\mmWaveStudio\Clients\\LabClient.dll'
    [18:04:15] GM: 1 Guest (s) init
    [18:04:15] GM: 1 Module(s) init
    [18:04:15] GM: 2 Tab (s) init
    [18:04:15] RSTD.Client_LoadXml()
    [18:04:15] [RadarAPI]: ar1.selectRadarMode(0)
    [18:04:15] [RadarAPI]: Status: Passed
    [18:04:15] Matlab Runtime Engine is installed
    [18:04:15] [RadarAPI]: Starting Matlab Engine..
    [18:04:46] [RadarAPI]: Matlab Engine Started!
    [18:04:49] [RadarAPI]: ar1.selectCascadeMode(0)
    [18:04:49] [RadarAPI]: Status: Passed
    [18:04:49] [RadarAPI]: ar1.LoadSettings('C:\Users\Admin\AppData\Roaming\RSTD\ar1gui.ini')
    [18:04:50] TESTING = false
    [18:04:50] RstdNet: Port 2777: Listening..
    [18:04:50]
    [18:04:50] ***Script completed successfully.***
    [18:08:19] [RadarAPI]: ar1.frequencyBandSelection("77G")
    [18:08:20] [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [18:08:20] [RadarAPI]: Status: Passed
    [18:08:20] [RadarAPI]: ar1.deviceVariantSelection("XWR1642")
    [18:08:20] [RadarAPI]: Status: Passed
    [18:08:33] [RadarAPI]: Opening Gpio Control Port()
    [18:08:33] [RadarAPI]: Status: Passed
    [18:08:34] [RadarAPI]: Opening Board Control Port()
    [18:08:34] [RadarAPI]: Status: Passed
    [18:08:35] [RadarAPI]: ar1.FullReset()
    [18:08:35] [RadarAPI]: Status: Passed
    [18:08:36] [RadarAPI]: Closing Board Control Port()
    [18:08:36] [RadarAPI]: Status: Passed
    [18:08:36] [RadarAPI]: Closing Gpio Control Port()
    [18:08:36] [RadarAPI]: Status: Passed
    [18:08:36] [RadarAPI]: ar1.SOPControl(2)
    [18:08:36] [RadarAPI]: Status: Passed
    [18:08:44] [RadarAPI]: ar1.Connect(4,921600,1000)
    [18:08:47] [RadarAPI]: Warning: Connected with baudrate 115200
    [18:08:48] [RadarAPI]: Warning: Disconnected existing BaudRate
    [18:08:48] [RadarAPI]: Warning: Trying to connect with baudrate 921600
    [18:08:50] [RadarAPI]: ar1.Calling_IsConnected()
    [18:08:51] [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [18:08:51] [RadarAPI]: Status: Passed
    [18:08:51] [RadarAPI]: ar1.SelectChipVersion("XWR1642")
    [18:08:51] [RadarAPI]: Status: Passed
    [18:08:51] Device Status : XWR1642/ASIL-B/SOP:2/ES:2
    [18:08:51] [RadarAPI]: ar1.SaveSettings('C:\Users\Admin\AppData\Roaming\RSTD\ar1gui.ini')
    [18:08:55] [RadarAPI]: ar1.DownloadBSSFw("C:\\ti\\mmwave_studio_02_01_01_00\\rf_eval_firmware\\radarss\\xwr16xx_radarss.bin")
    [18:08:56] [RadarAPI]: Downloading BSS Patch RPRC Binary..
    [18:08:58] [RadarAPI]: ar1.GetBSSFwVersion()
    [18:08:58] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
    [18:08:58] [RadarAPI]: ar1.GetBSSPatchFwVersion()
    [18:08:58] [RadarAPI]: BSSPatchFwVersion:(01.02.05.02 (30/04/19))
    [18:09:01] [RadarAPI]: ar1.DownloadMSSFw("C:\\ti\\mmwave_studio_02_01_01_00\\rf_eval_firmware\\masterss\\xwr16xx_masterss.bin")
    [18:09:01] [RadarAPI]: Downloading MSS RPRC Binary..
    [18:09:03] [RadarAPI]: ar1.GetMSSFwVersion()
    [18:09:03] [RadarAPI]: MSSFwVersion:(01.02.05.02 (16/07/19))
    [18:09:06] [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)
    [18:09:06] [RadarAPI]: Status: Passed
    [18:09:06] MSS power up done async event received!
    [18:09:08] [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [18:09:08] [RadarAPI]: Status: Passed
    [18:09:08] [RadarAPI]: ar1.SelectChipVersion("XWR1642")
    [18:09:08] [RadarAPI]: Status: Passed
    [18:09:08] Device Status : XWR1642/ASIL-B/SOP:2/ES:2
    [18:09:08] [RadarAPI]: ar1.RfEnable()
    [18:09:08] [RadarAPI]: Status: Passed
    [18:09:08] BSS power up done async event received!
    [18:09:09] [RadarAPI]: ar1.GetMSSFwVersion()
    [18:09:09] [RadarAPI]: MSSFwVersion:(01.02.05.02 (16/07/19))
    [18:09:09] [RadarAPI]: ar1.GetBSSFwVersion()
    [18:09:09] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
    [18:09:10] [RadarAPI]: ar1.GetBSSPatchFwVersion()
    [18:09:10] [RadarAPI]: BSSPatchFwVersion:(01.02.05.02 (30/04/19))
    [18:09:17] [RadarAPI]: ar1.ChanNAdcConfig(1, 0, 0, 1, 1, 0, 0, 2, 1, 0)
    [18:09:17] [RadarAPI]: Status: Passed
    [18:09:18] [RadarAPI]: ar1.LPModConfig(0, 0)
    [18:09:18] [RadarAPI]: Status: Failed, Error Type: REGULAR ADC MODE NOT SUPPORTED IN 5 MHz PART VARIANT DEVICE
    [18:09:19] [RadarAPI]: ar1.RfInit()
    [18:09:19] [RadarAPI]: Status: Passed
    [18:09:19] RF Init async event received!
    [18:09:20] [RadarAPI]: Time stamp, Temperture: 11032,36; 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: 0, 0; RxIQMM Status, Update: 1, 1;
    [18:09:30] [RadarAPI]: ar1.DataPathConfig(513, 1216644097, 0)
    [18:09:30] [RadarAPI]: Status: Passed
    [18:09:32] [RadarAPI]: ar1.LvdsClkConfig(1, 1)
    [18:09:32] [RadarAPI]: Status: Passed
    [18:09:35] [RadarAPI]: ar1.LVDSLaneConfig(0, 1, 1, 0, 0, 1, 0, 0)
    [18:09:35] [RadarAPI]: Status: Passed
    [18:10:09] [RadarAPI]: ar1.ProfileConfig(0, 77, 6, 6, 20, 0, 0, 0, 0, 0, 0, 99.022, 1, 64, 5500, 0, 0, 30)
    [18:10:09] [RadarAPI]: Status: Passed
    [18:10:11] [RadarAPI]: ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 0, 0)
    [18:10:11] [RadarAPI]: Status: Passed
    [18:10:13] Test Source Already Disabled...!!!
    [18:10:13] [RadarAPI]: ar1.DisableTestSource(0)
    [18:10:14] [RadarAPI]: Status: Passed
    [18:10:14] [RadarAPI]: ar1.FrameConfig(0, 0, 8, 1, 4.4, 0, 0, 1)
    [18:10:14] [RadarAPI]: Status: Passed
    [18:10:17] [RadarAPI]: ar1.GetCaptureCardDllVersion()
    [18:10:17] [RadarAPI]: Sending dll_version command to DCA1000
    [18:10:18] [RadarAPI]:
    [18:10:18] DLL Version : 1.0
    [18:10:18] [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")
    [18:10:18] [RadarAPI]: Status: Passed
    [18:10:19] [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098)
    [18:10:19] [RadarAPI]: ar1.CaptureCardConfig_Mode(1, 2, 1, 2, 3, 30)
    [18:10:19] [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(25)
    [18:10:20] [RadarAPI]: Sending fpga command to DCA1000
    [18:10:20] [RadarAPI]:
    [18:10:20] FPGA Configuration command : Success
    [18:10:20] [RadarAPI]: Sending record command to DCA1000
    [18:10:20] [RadarAPI]:
    [18:10:20] Configure Record command : Success
    [18:10:20] [RadarAPI]: ar1.GetCaptureCardFPGAVersion()
    [18:10:20] [RadarAPI]: Sending fpga_version command to DCA1000
    [18:10:20] [RadarAPI]:
    [18:10:20]
    [18:10:20] FPGA Version : 2.8 [Record]
    [18:10:20]
    [18:12:23] [RadarAPI]: ar1.DisableTestSource(0)
    [18:12:23] [RadarAPI]: Status: Passed
    [18:12:23] [RadarAPI]: ar1.AdvanceFrameConfig(2, 1536, 0, 0, 32, 1, 166400, 0, 1, 1, 166400, 0, 0, 35, 1, 182000, 0,1, 1, 182000, 0, 0, 1, 128, 8000000, 0, 1, 1, 8000000, 0, 0, 1, 128,8000000, 0, 1, 1, 8000000, 450, 1, 0, 2, 32, 128, 1, 35, 128, 1, 128,1, 1, 128, 1, 1)
    [18:12:23] Status: Failed, Error Type: CHIRP USED IN THE FRAME IS NOT CONFIGURED BY AWR_CHIRP_CONF_SET_SB

    ==================================

    Thanks and regards

     

  • Hello Badar,

    Thanks for sending the the studio log. It is definitely useful as now I understand what you're trying to do.

    There are a couple of points here:

    1. As you're using AWR1642 device variant, please note that only Low Power ADC mode is supported. As you can see in your studio log, you have got an error with Regular Mode. It shows the status as "failed".

    Hence Please select "Low Power ADC" in the LP mode command on StaticConfig Tab. I have highlighted that for you below as well.

    2. From your pasted log, I also see you're following a wrong sequence for configuring advance frames. Below is the correct sequence :

    • You can configure the DCA1000 capture card first by pressing the "Set up DCA1000" button. Although it's not necessary to to configure this first, but we usually prefer this before we start with the chirp settings or completely after that.
    • Now we can start with the chirp configurations: First you configure the Chirp profile in the "SensorConfig" Tab. (This is done correctly by you)
    • Second is the "chirp" configuration. (correctly done by you)
    • Now you need to directly jump to the "AdvFrameConfig" Tab and configure the burst/subframes and frames. Please note while using Advance frames, you need not configure the legacy frames in the SensorConfig Tab.
    • Now in order to capture the data, press the "DCA1000 ARM" button in the "SensorConfig" Tab and after waiting for around 1 sec, press "Trigger frames".

    You were getting the chirp configuration missing error because you were configuring both Advance and legacy frames. Please follow the correct sequence and let us know if you're facing any other problem. 

    Hope this helps.

    Regards,

    Ishita

  • Hi Ishita,

    Thank you very much for your detailed study of the code. I acted as you advised but the problem persists, so far. Please have a looK at the following notes and please note again that I am using AWR1642BOOST (ES2.0) + DCA1000 EVM on mmwave Studio 2.1.1.0, version 2.8 DCA FPGA file.

    1)  I have been using Low Power ADC mode because I have studied in some TI mmwave documents that suggest Regular ADC power mode for xwr16xx devices (you may refer mmwave SDK 3.4.0.3 having mmwave SDK User Guide Release 3.4, Document Version 1.0 , page 23). In addition, I have been getting this error message for quite a while as I was using regular ADC mode but as it was not in red color so I did not bother much about it. And more importantly, I was not facing any problem and even in spite f this black color error message, things were working fine. 

    However, still, on your advice, I just now used Low Power ADC mode but the problem persists.

    2)  I was configuring DCA1000 EVM after configuring the profile, the chirp and the frame. This is the sequence that is advised in User Guide for mmwave Studio 2.1.1.0, figure 9.3. However, as per your advice, I have attempted by first clicking the DCA Setup and then clicking the Profile Config, then Chirp Config and then went to Advanced Frame Config but the problem persists.

    3)  I have another query that if I just use Advanced Frame Config and if I just dont use Frame sub-tab in Sensor Config (and I did the same recently after your advice) then how, when and where the inter-frame time period will be set ?

    4)  I further think that even if I had pressed the frame sub-tab in Sensor Config tab and after thaT if I had used Advanced Frame Config tab then the later would have over ridden the previous frame config , except the values one that are not entered in the later i.e. Advanced Frame Config, for example, I dont see inter frame time setting in Advanced Frame Config tab. However, this is just my thought, may be you can comment further. But I did exactly as you advised.

    5) Following are output console logs. The first one is with Low Power ADC and 2nd one with Regular ADC mode. In both cases, I have followed the sequence that you have advised about the DCA1000 setup and Profile Config, Chirp config and then Advanced Frame Config. In both cases, I got the same error. In a small hope, even after observing that the error had occurred in Advanced Frame Config, I even tried DCA1000 ARM and then Triggered, but in vain.

    6)  Please advise further, thanks and regards.

    OUTPUT LOG with LOW POWER ADC

    GM: Constructor
    GM: Tue Nov 03 11:36:09 2020
    RSTD.Transmit("/Settings")
    [11:36:10] 
    [11:36:10] ### Running Startup script: "C:\ti\mmwave_studio_02_01_01_00\mmWaveStudio\Scripts\Startup.lua" ###
    [11:36:10] RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
    [11:36:10] RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
    [11:36:10] Scripter ignored: Attempt to UnBuild() again or before Build.
    [11:36:10] RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\Clients\\\\LabClient.dll")
    [11:36:10] RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
    [11:36:10] RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
    [11:36:10] RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
    [11:36:11] RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
    [11:36:11] RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
    [11:36:11] RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\RunTime\\SAL.dll")
    [11:36:11] RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
    [11:36:11] RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
    [11:36:11] RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
    [11:36:11] RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
    [11:36:11] RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
    [11:36:11] RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
    [11:36:11] RSTD.Transmit("/")
    [11:36:11] RSTD.SaveSettings(): Settings saved to "C:\Users\Admin\AppData\Roaming\RSTD\config.xml"
    [11:36:11] RSTD.Build()
    [11:36:11] RSTD.SaveSettings(): Settings saved to "C:\Users\Admin\AppData\Roaming\RSTD\config.xml"
    [11:36:11] RSTD.Transmit("/")
    [11:36:11] RSTD.AL_Build()
    [11:36:11] RSTD.AL_LoadXml()
    [11:36:11] RSTD.Transmit("/")
    [11:36:11] RSTD.AL_Init()
    [11:36:11] RSTD.Clients_Build()
    [11:36:11] GM: Init
    [11:36:11] GM: Loaded 'C:\ti\mmwave_studio_02_01_01_00\mmWaveStudio\Clients\\LabClient.dll'
    [11:36:11] GM: 1 Guest (s) init
    [11:36:11] GM: 1 Module(s) init
    [11:36:11] GM: 2 Tab (s) init
    [11:36:11] RSTD.Client_LoadXml()
    [11:36:11] [RadarAPI]: ar1.selectRadarMode(0)
    [11:36:11] [RadarAPI]: Status: Passed
    [11:36:11] Matlab Runtime Engine is installed
    [11:36:11] [RadarAPI]: Starting Matlab Engine..
    [11:36:39] [RadarAPI]: Matlab Engine Started!
    [11:36:43] [RadarAPI]: ar1.selectCascadeMode(0)
    [11:36:43] [RadarAPI]: Status: Passed
    [11:36:43] [RadarAPI]: ar1.LoadSettings('C:\Users\Admin\AppData\Roaming\RSTD\ar1gui.ini')
    [11:36:44] TESTING = false
    [11:36:44] RstdNet: Port 2777: Listening..
    [11:36:44] 
    [11:36:44] ***Script completed successfully.***
    [11:36:52] [RadarAPI]: ar1.frequencyBandSelection("77G")
    [11:36:53] [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [11:36:53] [RadarAPI]: Status: Passed
    [11:36:53] [RadarAPI]: ar1.deviceVariantSelection("XWR1642")
    [11:36:53] [RadarAPI]: Status: Passed
    [11:37:10] [RadarAPI]: Opening Gpio Control Port()
    [11:37:10] [RadarAPI]: Status: Passed
    [11:37:11] [RadarAPI]: Opening Board Control Port()
    [11:37:11] [RadarAPI]: Status: Passed
    [11:37:12] [RadarAPI]: ar1.FullReset()
    [11:37:12] [RadarAPI]: Status: Passed
    [11:37:13] [RadarAPI]: Closing Board Control Port()
    [11:37:13] [RadarAPI]: Status: Passed
    [11:37:13] [RadarAPI]: Closing Gpio Control Port()
    [11:37:13] [RadarAPI]: Status: Passed
    [11:37:13] [RadarAPI]: ar1.SOPControl(2)
    [11:37:13] [RadarAPI]: Status: Passed
    [11:37:15] [RadarAPI]: ar1.Connect(4,921600,1000)
    [11:37:17] [RadarAPI]: Warning: Connected with baudrate 115200
    [11:37:18] [RadarAPI]: Warning: Disconnected existing BaudRate
    [11:37:19] [RadarAPI]: Warning: Trying to connect with baudrate 921600
    [11:37:20] [RadarAPI]: ar1.Calling_IsConnected()
    [11:37:21] [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [11:37:21] [RadarAPI]: Status: Passed
    [11:37:21] [RadarAPI]: ar1.SelectChipVersion("XWR1642")
    [11:37:21] [RadarAPI]: Status: Passed
    [11:37:22] Device Status : XWR1642/ASIL-B/SOP:2/ES:2
    [11:37:22] [RadarAPI]: ar1.SaveSettings('C:\Users\Admin\AppData\Roaming\RSTD\ar1gui.ini')
    [11:37:24] [RadarAPI]: ar1.DownloadBSSFw("C:\\ti\\mmwave_studio_02_01_01_00\\rf_eval_firmware\\radarss\\xwr16xx_radarss.bin")
    [11:37:24] [RadarAPI]: Downloading BSS Patch RPRC Binary..
    [11:37:26] [RadarAPI]: ar1.GetBSSFwVersion()
    [11:37:26] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
    [11:37:27] [RadarAPI]: ar1.GetBSSPatchFwVersion()
    [11:37:27] [RadarAPI]: BSSPatchFwVersion:(01.02.05.02 (30/04/19))
    [11:37:28] [RadarAPI]: ar1.DownloadMSSFw("C:\\ti\\mmwave_studio_02_01_01_00\\rf_eval_firmware\\masterss\\xwr16xx_masterss.bin")
    [11:37:28] [RadarAPI]: Downloading MSS RPRC Binary..
    [11:37:30] [RadarAPI]: ar1.GetMSSFwVersion()
    [11:37:30] [RadarAPI]: MSSFwVersion:(01.02.05.02 (16/07/19))
    [11:37:33] [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)
    [11:37:33] [RadarAPI]: Status: Passed
    [11:37:33] MSS power up done async event received!
    [11:37:37] [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [11:37:37] [RadarAPI]: Status: Passed
    [11:37:37] [RadarAPI]: ar1.SelectChipVersion("XWR1642")
    [11:37:37] [RadarAPI]: Status: Passed
    [11:37:37] Device Status : XWR1642/ASIL-B/SOP:2/ES:2
    [11:37:37] [RadarAPI]: ar1.RfEnable()
    [11:37:37] BSS power up done async event received!
    [11:37:37] [RadarAPI]: Status: Passed
    [11:37:38] [RadarAPI]: ar1.GetMSSFwVersion()
    [11:37:38] [RadarAPI]: MSSFwVersion:(01.02.05.02 (16/07/19))
    [11:37:38] [RadarAPI]: ar1.GetBSSFwVersion()
    [11:37:38] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
    [11:37:39] [RadarAPI]: ar1.GetBSSPatchFwVersion()
    [11:37:39] [RadarAPI]: BSSPatchFwVersion:(01.02.05.02 (30/04/19))
    [11:37:55] [RadarAPI]: ar1.ChanNAdcConfig(1, 0, 0, 1, 1, 0, 0, 2, 2, 0)
    [11:37:56] [RadarAPI]: Status: Passed
    [11:38:01] [RadarAPI]: ar1.LPModConfig(0, 1)
    [11:38:01] [RadarAPI]: Status: Passed
    [11:38:03] [RadarAPI]: ar1.RfInit()
    [11:38:03] RF Init async event received!
    [11:38:03] [RadarAPI]: Status: Passed
    [11:38:03] [RadarAPI]: Time stamp, Temperture: 25828,38; 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: 0, 0; RxIQMM Status, Update: 1, 1; 
    [11:38:10] [RadarAPI]: ar1.DataPathConfig(513, 1216644097, 0)
    [11:38:10] [RadarAPI]: Status: Passed
    [11:38:12] [RadarAPI]: ar1.LvdsClkConfig(1, 1)
    [11:38:13] [RadarAPI]: Status: Passed
    [11:38:18] [RadarAPI]: ar1.LVDSLaneConfig(0, 1, 1, 0, 0, 1, 0, 0)
    [11:38:18] [RadarAPI]: Status: Passed
    [11:38:24] [RadarAPI]: ar1.GetCaptureCardDllVersion()
    [11:38:24] [RadarAPI]: Sending dll_version command to DCA1000
    [11:38:25] [RadarAPI]: 
    [11:38:25] DLL Version : 1.0
    [11:38:25] [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")
    [11:38:25] [RadarAPI]: Status: Passed
    [11:38:26] [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098)
    [11:38:26] [RadarAPI]: ar1.CaptureCardConfig_Mode(1, 2, 1, 2, 3, 30)
    [11:38:26] [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(25)
    [11:38:27] [RadarAPI]: Sending fpga command to DCA1000
    [11:38:27] [RadarAPI]: 
    [11:38:27] FPGA Configuration command : Success
    [11:38:27] [RadarAPI]: Sending record command to DCA1000
    [11:38:27] [RadarAPI]: 
    [11:38:27] Configure Record command : Success
    [11:38:27] [RadarAPI]: ar1.GetCaptureCardFPGAVersion()
    [11:38:27] [RadarAPI]: Sending fpga_version command to DCA1000
    [11:38:28] [RadarAPI]: 
    [11:38:28] 
    [11:38:28] FPGA Version : 2.8 [Record]
    [11:38:28] 
    [11:39:11] [RadarAPI]: ar1.ProfileConfig(0, 77, 6, 6, 20, 0, 0, 0, 0, 0, 0, 99.022, 1, 64, 5500, 0, 0, 48)
    [11:39:11] [RadarAPI]: Status: Passed
    [11:39:14] [RadarAPI]: ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 0, 0)
    [11:39:14] [RadarAPI]: Status: Passed
    [11:40:14] [RadarAPI]: ar1.DisableTestSource(0)
    [11:40:14] [RadarAPI]: Status: Passed
    [11:40:14] [RadarAPI]: ar1.AdvanceFrameConfig(2, 1536, 0, 0, 32, 1, 166400, 0, 1, 1, 166400, 0, 0, 35, 1, 182000, 0,1, 1, 182000, 0, 0, 1, 128, 8000000, 0, 1, 1, 8000000, 0, 0, 1, 128,8000000, 0, 1, 1, 8000000, 450, 1, 0, 2, 32, 128, 1, 35, 128, 1, 128,1, 1, 128, 1, 1)
    [11:40:15] Status: Failed, Error Type: CHIRP USED IN THE FRAME IS NOT CONFIGURED BY AWR_CHIRP_CONF_SET_SB 
    [11:40:24] [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\PostProc\\adc_data.bin", 1)
    [11:40:24] [RadarAPI]: Sending start_record command to DCA1000
    [11:40:28] [RadarAPI]: ar1.StartFrame()
    [11:40:28] Status: Failed, Error Type: NO VALID FRAME CONFIGURATION API WAS ISSUED AND FRAMES ARE STARTED

    OUTPUT LOG with REGULALR POWER ADC

    GM: Constructor
    GM: Tue Nov 03 12:07:48 2020
    RSTD.Transmit("/Settings")
    [12:07:48] 
    [12:07:48] ### Running Startup script: "C:\ti\mmwave_studio_02_01_01_00\mmWaveStudio\Scripts\Startup.lua" ###
    [12:07:48] RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
    [12:07:48] RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
    [12:07:48] Scripter ignored: Attempt to UnBuild() again or before Build.
    [12:07:48] RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\Clients\\\\LabClient.dll")
    [12:07:48] RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
    [12:07:48] RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
    [12:07:48] RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
    [12:07:48] RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
    [12:07:48] RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
    [12:07:48] RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\RunTime\\SAL.dll")
    [12:07:48] RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
    [12:07:48] RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
    [12:07:48] RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
    [12:07:48] RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
    [12:07:48] RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
    [12:07:48] RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
    [12:07:48] RSTD.Transmit("/")
    [12:07:48] RSTD.SaveSettings(): Settings saved to "C:\Users\Admin\AppData\Roaming\RSTD\config.xml"
    [12:07:48] RSTD.Build()
    [12:07:48] RSTD.SaveSettings(): Settings saved to "C:\Users\Admin\AppData\Roaming\RSTD\config.xml"
    [12:07:48] RSTD.Transmit("/")
    [12:07:48] RSTD.AL_Build()
    [12:07:48] RSTD.AL_LoadXml()
    [12:07:48] RSTD.Transmit("/")
    [12:07:48] RSTD.AL_Init()
    [12:07:48] RSTD.Clients_Build()
    [12:07:48] GM: Init
    [12:07:48] GM: Loaded 'C:\ti\mmwave_studio_02_01_01_00\mmWaveStudio\Clients\\LabClient.dll'
    [12:07:48] GM: 1 Guest (s) init
    [12:07:48] GM: 1 Module(s) init
    [12:07:48] GM: 2 Tab (s) init
    [12:07:48] RSTD.Client_LoadXml()
    [12:07:49] [RadarAPI]: ar1.selectRadarMode(0)
    [12:07:49] [RadarAPI]: Status: Passed
    [12:07:49] Matlab Runtime Engine is installed
    [12:07:49] [RadarAPI]: Starting Matlab Engine..
    [12:07:55] [RadarAPI]: Matlab Engine Started!
    [12:07:58] [RadarAPI]: ar1.selectCascadeMode(0)
    [12:07:58] [RadarAPI]: Status: Passed
    [12:07:58] [RadarAPI]: ar1.LoadSettings('C:\Users\Admin\AppData\Roaming\RSTD\ar1gui.ini')
    [12:07:59] TESTING = false
    [12:07:59] RstdNet: Port 2777: Listening..
    [12:07:59] 
    [12:07:59] ***Script completed successfully.***
    [12:08:03] [RadarAPI]: ar1.frequencyBandSelection("77G")
    [12:08:04] [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [12:08:04] [RadarAPI]: Status: Passed
    [12:08:04] [RadarAPI]: ar1.deviceVariantSelection("XWR1642")
    [12:08:04] [RadarAPI]: Status: Passed
    [12:08:20] [RadarAPI]: Opening Gpio Control Port()
    [12:08:20] [RadarAPI]: Status: Passed
    [12:08:21] [RadarAPI]: Opening Board Control Port()
    [12:08:21] [RadarAPI]: Status: Passed
    [12:08:22] [RadarAPI]: ar1.FullReset()
    [12:08:22] [RadarAPI]: Status: Passed
    [12:08:22] [RadarAPI]: Closing Board Control Port()
    [12:08:22] [RadarAPI]: Status: Passed
    [12:08:23] [RadarAPI]: Closing Gpio Control Port()
    [12:08:23] [RadarAPI]: Status: Passed
    [12:08:23] [RadarAPI]: ar1.SOPControl(2)
    [12:08:23] [RadarAPI]: Status: Passed
    [12:08:24] [RadarAPI]: ar1.Connect(4,921600,1000)
    [12:08:26] [RadarAPI]: Warning: Connected with baudrate 115200
    [12:08:27] [RadarAPI]: Warning: Disconnected existing BaudRate
    [12:08:28] [RadarAPI]: Warning: Trying to connect with baudrate 921600
    [12:08:29] [RadarAPI]: ar1.Calling_IsConnected()
    [12:08:30] [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [12:08:30] [RadarAPI]: Status: Passed
    [12:08:30] [RadarAPI]: ar1.SelectChipVersion("XWR1642")
    [12:08:30] [RadarAPI]: Status: Passed
    [12:08:31] Device Status : XWR1642/ASIL-B/SOP:2/ES:2
    [12:08:31] [RadarAPI]: ar1.SaveSettings('C:\Users\Admin\AppData\Roaming\RSTD\ar1gui.ini')
    [12:08:32] [RadarAPI]: ar1.DownloadBSSFw("C:\\ti\\mmwave_studio_02_01_01_00\\rf_eval_firmware\\radarss\\xwr16xx_radarss.bin")
    [12:08:33] [RadarAPI]: Downloading BSS Patch RPRC Binary..
    [12:08:35] [RadarAPI]: ar1.GetBSSFwVersion()
    [12:08:35] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
    [12:08:36] [RadarAPI]: ar1.GetBSSPatchFwVersion()
    [12:08:36] [RadarAPI]: BSSPatchFwVersion:(01.02.05.02 (30/04/19))
    [12:08:38] [RadarAPI]: ar1.DownloadMSSFw("C:\\ti\\mmwave_studio_02_01_01_00\\rf_eval_firmware\\masterss\\xwr16xx_masterss.bin")
    [12:08:38] [RadarAPI]: Downloading MSS RPRC Binary..
    [12:08:41] [RadarAPI]: ar1.GetMSSFwVersion()
    [12:08:41] [RadarAPI]: MSSFwVersion:(01.02.05.02 (16/07/19))
    [12:08:47] [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)
    [12:08:47] [RadarAPI]: Status: Passed
    [12:08:47] MSS power up done async event received!
    [12:08:51] [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [12:08:51] [RadarAPI]: Status: Passed
    [12:08:51] [RadarAPI]: ar1.SelectChipVersion("XWR1642")
    [12:08:51] [RadarAPI]: Status: Passed
    [12:08:51] Device Status : XWR1642/ASIL-B/SOP:2/ES:2
    [12:08:51] [RadarAPI]: ar1.RfEnable()
    [12:08:51] [RadarAPI]: Status: Passed
    [12:08:51] BSS power up done async event received!
    [12:08:52] [RadarAPI]: ar1.GetMSSFwVersion()
    [12:08:52] [RadarAPI]: MSSFwVersion:(01.02.05.02 (16/07/19))
    [12:08:52] [RadarAPI]: ar1.GetBSSFwVersion()
    [12:08:52] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
    [12:08:53] [RadarAPI]: ar1.GetBSSPatchFwVersion()
    [12:08:53] [RadarAPI]: BSSPatchFwVersion:(01.02.05.02 (30/04/19))
    [12:09:03] [RadarAPI]: ar1.ChanNAdcConfig(1, 0, 0, 1, 1, 0, 0, 2, 2, 0)
    [12:09:04] [RadarAPI]: Status: Passed
    [12:09:05] [RadarAPI]: ar1.LPModConfig(0, 0)
    [12:09:05] [RadarAPI]: Status: Failed, Error Type: REGULAR ADC MODE NOT SUPPORTED IN 5 MHz PART VARIANT DEVICE
    [12:09:06] [RadarAPI]: ar1.RfInit()
    [12:09:06] RF Init async event received!
    [12:09:06] [RadarAPI]: Status: Passed
    [12:09:06] [RadarAPI]: Time stamp, Temperture: 14671,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: 0, 0; RxIQMM Status, Update: 1, 1; 
    [12:09:09] [RadarAPI]: ar1.DataPathConfig(513, 1216644097, 0)
    [12:09:09] [RadarAPI]: Status: Passed
    [12:09:12] [RadarAPI]: ar1.LvdsClkConfig(1, 1)
    [12:09:12] [RadarAPI]: Status: Passed
    [12:09:15] [RadarAPI]: ar1.LVDSLaneConfig(0, 1, 1, 0, 0, 1, 0, 0)
    [12:09:15] [RadarAPI]: Status: Passed
    [12:09:22] [RadarAPI]: ar1.GetCaptureCardDllVersion()
    [12:09:22] [RadarAPI]: Sending dll_version command to DCA1000
    [12:09:22] [RadarAPI]: 
    [12:09:22] DLL Version : 1.0
    [12:09:22] [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")
    [12:09:22] [RadarAPI]: Status: Passed
    [12:09:24] [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098)
    [12:09:24] [RadarAPI]: ar1.CaptureCardConfig_Mode(1, 2, 1, 2, 3, 30)
    [12:09:24] [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(25)
    [12:09:24] [RadarAPI]: Sending fpga command to DCA1000
    [12:09:24] [RadarAPI]: 
    [12:09:24] FPGA Configuration command : Success
    [12:09:24] [RadarAPI]: Sending record command to DCA1000
    [12:09:25] [RadarAPI]: 
    [12:09:25] Configure Record command : Success
    [12:09:25] [RadarAPI]: ar1.GetCaptureCardFPGAVersion()
    [12:09:25] [RadarAPI]: Sending fpga_version command to DCA1000
    [12:09:25] [RadarAPI]: 
    [12:09:25] 
    [12:09:25] FPGA Version : 2.8 [Record]
    [12:09:25] 
    [12:09:55] [RadarAPI]: ar1.ProfileConfig(0, 77, 6, 6, 20, 0, 0, 0, 0, 0, 0, 99.022, 1, 64, 5500, 0, 0, 48)
    [12:09:55] [RadarAPI]: Status: Passed
    [12:09:56] [RadarAPI]: ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 0, 0)
    [12:09:56] [RadarAPI]: Status: Passed
    [12:10:57] [RadarAPI]: ar1.DisableTestSource(0)
    [12:10:57] [RadarAPI]: Status: Passed
    [12:10:57] [RadarAPI]: ar1.AdvanceFrameConfig(2, 1536, 0, 0, 32, 1, 166400, 0, 1, 1, 166400, 0, 0, 35, 1, 182000, 0,1, 1, 182000, 0, 0, 1, 128, 8000000, 0, 1, 1, 8000000, 0, 0, 1, 128,8000000, 0, 1, 1, 8000000, 450, 1, 0, 2, 32, 128, 1, 35, 128, 1, 128,1, 1, 128, 1, 1)
    [12:10:57] Status: Failed, Error Type: CHIRP USED IN THE FRAME IS NOT CONFIGURED BY AWR_CHIRP_CONF_SET_SB 
    [12:11:06] [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\PostProc\\adc_data.bin", 1)
    [12:11:06] [RadarAPI]: Sending start_record command to DCA1000
    [12:11:10] [RadarAPI]: ar1.StartFrame()
    [12:11:10] Status: Failed, Error Type: NO VALID FRAME CONFIGURATION API WAS ISSUED AND FRAMES ARE STARTED-

    =================================================================================================================

  • Hello Badar,

    Now let us consider your subframe 1.

    You said you want 32 chirps in that frame. Does that mean that you want 32 different chirp from chirp index 0 to 31 or do you want chirp 0 to be repeated 32 times? I'm asking this because these are two different configurations and this is the reason you're getting the error. Let me explain a bit more about this.

    In the SensorConfig Tab, you issue the API ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 0, 0). This means you're only configuring chirp 0. Whereas in contradiction to this, in the AdvFrameConfig Tab, you are entering "NumChirps" as 32 and "NumLoops" as 1 (which points to the direction that you are configuring 32 chirps here, but you have defined only chirp 0 in the "SensorConfig" Tab. This is the reason you're getting the Error Type: CHIRP USED IN THE FRAME IS NOT CONFIGURED BY AWR_CHIRP_CONF_SET_SB. 

    This is because Chirp 1 to Chirp 31 are not defined by you.

    1. One solution to this is, just correct your input in the AdvFrameConfig Tab. Make NumChirps as 1 and NumLoops as 32.

    2. Second solution, keep your inputs in the AdvFrameConfig Tab same but change your Chirp Config in SensorConfig Tab : ar1.ChirpConfig(0, 31, 0, 0, 0, 0, 0, 1, 0, 0)

    I guess this was a confusion due to understanding of the Advance Frame Parameters. You can refer to the mmWave DFP user guide.pdf (Chapter 11.1) to understand about programming the parameters.

    Hope the information was clear.

    Regards,

    Ishita 

  • Hello Ishita,

    Thank you very much for your very valuable advice and guidance. Yes, the problem was due to my confusion in Advance Frame Config and for me not consulting Radar Interface Control Document (ICD). The TI database does not show this document conspicuously; it is buried in DFP (for xwr144x) and therefore many like me do not refer it. I suggest that TI may consider placing this document and advising the users to consult this at a prominent place on their mmwave webpages.

    Any way, the problem is almost solved. However, there are a few relevant minor queries and one relatively big query, so I request your guidance on following before we start to close this thread.

    1)  Yes, for example for subframe 1, I wish to use same single chirp, 32 times in one single subframe.

    2)  By using the method 1 advised by you above, I was able to resolve the issue, thank you. Your advice for consulting section 11.1 of ICD was very helpful and I was able to set , hopefully, correct times using section 11.1 and table 5.29 of ICD (Rev 1.11).

    3)   For my own notes and for others :  As the correct times, parameters and chirp configs were sent, then the system worked well even when I set Regular ADC power (instead of low power) and even when I set the DCA1000 after profile and chirp config in Sensor Tab.

    4)  Please refer table 11.2 of ICD which states : " The minimum inter burst idle time required in normal bursts with legacy chirps configured in a advanced frame configuration API with inter burst power save disabled "

    Sometimes, I forgot to disable this power save option. However, this still, it did not cause a fatal red error. On the other hand, when I did not set the correct burst time etc in subframes, it continued to give fatal red errors till i read ICD in detail and solved that. 

    My question is that can you comment that what will happen if the power save function is not disabled and the set time is based on the supposition that power save has been disabled. In this case, ideally, the set burst time, for example, is less than the time that should have been set considering that power save has not been disabled. In that case, can we still expect to get correct results or will some chirps be clipped ? 

    Just a query, if you can comment.

    5)  In legacy frame in Sensor Config tab, It is well known that it is advisable to have the frame duty cycle to be less than 50% of total active chirps time contained in that frame. However, in table 5.29 of ICD (Rev 1.11), there is no such advise. In fact, only a minimum inter subframe time is suggested for SF1_PERIOD as " PERIOD ≥ Sum total time of all bursts + InterSubFrame-Blank Tme "  where InterSubFrameBlankTime  ≥ 300 μs typical .

    Can we assume that the above advise for less than 50% duty cycle for legacy frames is not applicable for sub-frames / frames using Advanced Frame Config ?

    6)  We are required to set interframe time in legacy frames in frame sub-tab of SensorConfig tab. However, in Advanced Frame Config tab, we are only setting inter sub-frame times but we are not setting inter-frame time. I assume that same inter sub-frame time will also be used as inter-frame time. Is it correct ?

    7)  I am asking question 5 and 6 particularly because frame time is important for me, I dont want to have an error on it and I also want to keep it as low as possible.

    8)  A side query but may be you can reply here : What is the sign of velocity of a target receding away from the radar in range-doppler map produced by complex 2x adc data by using AWR1642BOOST + DCA1000 and mmwave Studio 2.1.1.0 ? (Can you please refer a TI document as well ?). I am asking this because sometimes the sign convention changes from different texts.

    9)  I also tried the 2nd method you advised but it did not work or may be I did not understand it correctly. Following are the screen shots that I used for setting the mmwave studio and then is the output log file.

    Although, my problem is solved with the first method, but probably you can also advise on how to use 2nd method correctly. As I said earlier that I am interested in reducing the inter frame time as much as possible, therefore, please advise on this 2nd method if you think that the inter-frame time and inter-chirp time could be reduced by 2nd method as compared to the 1st method. If this is not the case, then you may choose not to advise further on 2nd method.

    GM: Constructor
    GM: Wed Nov 04 19:33:43 2020
    RSTD.Transmit("/Settings")
    [19:33:43]
    [19:33:43] ### Running Startup script: "C:\ti\mmwave_studio_02_01_01_00\mmWaveStudio\Scripts\Startup.lua" ###
    [19:33:43] RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
    [19:33:43] RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
    [19:33:43] Scripter ignored: Attempt to UnBuild() again or before Build.
    [19:33:43] RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\Clients\\\\LabClient.dll")
    [19:33:43] RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
    [19:33:43] RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
    [19:33:43] RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
    [19:33:43] RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
    [19:33:43] RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
    [19:33:43] RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\RunTime\\SAL.dll")
    [19:33:43] RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
    [19:33:43] RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
    [19:33:43] RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
    [19:33:43] RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
    [19:33:43] RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
    [19:33:43] RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
    [19:33:43] RSTD.Transmit("/")
    [19:33:43] RSTD.SaveSettings(): Settings saved to "C:\Users\Admin\AppData\Roaming\RSTD\config.xml"
    [19:33:44] RSTD.Build()
    [19:33:44] RSTD.SaveSettings(): Settings saved to "C:\Users\Admin\AppData\Roaming\RSTD\config.xml"
    [19:33:44] RSTD.Transmit("/")
    [19:33:44] RSTD.AL_Build()
    [19:33:44] RSTD.AL_LoadXml()
    [19:33:44] RSTD.Transmit("/")
    [19:33:44] RSTD.AL_Init()
    [19:33:44] RSTD.Clients_Build()
    [19:33:44] GM: Init
    [19:33:44] GM: Loaded 'C:\ti\mmwave_studio_02_01_01_00\mmWaveStudio\Clients\\LabClient.dll'
    [19:33:44] GM: 1 Guest (s) init
    [19:33:44] GM: 1 Module(s) init
    [19:33:44] GM: 2 Tab (s) init
    [19:33:44] RSTD.Client_LoadXml()
    [19:33:44] [RadarAPI]: ar1.selectRadarMode(0)
    [19:33:44] [RadarAPI]: Status: Passed
    [19:33:44] Matlab Runtime Engine is installed
    [19:33:44] [RadarAPI]: Starting Matlab Engine..
    [19:34:06] [RadarAPI]: Matlab Engine Started!
    [19:34:09] [RadarAPI]: ar1.selectCascadeMode(0)
    [19:34:09] [RadarAPI]: Status: Passed
    [19:34:09] [RadarAPI]: ar1.LoadSettings('C:\Users\Admin\AppData\Roaming\RSTD\ar1gui.ini')
    [19:34:09] TESTING = false
    [19:34:09] RstdNet: Port 2777: Listening..
    [19:34:09]
    [19:34:09] ***Script completed successfully.***
    [19:34:30] [RadarAPI]: ar1.frequencyBandSelection("77G")
    [19:34:31] [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [19:34:31] [RadarAPI]: Status: Passed
    [19:34:31] [RadarAPI]: ar1.deviceVariantSelection("XWR1642")
    [19:34:31] [RadarAPI]: Status: Passed
    [19:34:50] [RadarAPI]: Opening Gpio Control Port()
    [19:34:50] [RadarAPI]: Status: Passed
    [19:34:50] [RadarAPI]: Opening Board Control Port()
    [19:34:50] [RadarAPI]: Status: Passed
    [19:34:51] [RadarAPI]: ar1.FullReset()
    [19:34:51] [RadarAPI]: Status: Passed
    [19:34:52] [RadarAPI]: Closing Board Control Port()
    [19:34:52] [RadarAPI]: Status: Passed
    [19:34:52] [RadarAPI]: Closing Gpio Control Port()
    [19:34:52] [RadarAPI]: Status: Passed
    [19:34:52] [RadarAPI]: ar1.SOPControl(2)
    [19:34:52] [RadarAPI]: Status: Passed
    [19:34:55] [RadarAPI]: ar1.Connect(4,921600,1000)
    [19:34:58] [RadarAPI]: Warning: Connected with baudrate 115200
    [19:34:59] [RadarAPI]: Warning: Disconnected existing BaudRate
    [19:34:59] [RadarAPI]: Warning: Trying to connect with baudrate 921600
    [19:35:01] [RadarAPI]: ar1.Calling_IsConnected()
    [19:35:02] [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [19:35:02] [RadarAPI]: Status: Passed
    [19:35:02] [RadarAPI]: ar1.SelectChipVersion("XWR1642")
    [19:35:02] [RadarAPI]: Status: Passed
    [19:35:02] Device Status : XWR1642/ASIL-B/SOP:2/ES:2
    [19:35:02] [RadarAPI]: ar1.SaveSettings('C:\Users\Admin\AppData\Roaming\RSTD\ar1gui.ini')
    [19:35:04] [RadarAPI]: ar1.DownloadBSSFw("C:\\ti\\mmwave_studio_02_01_01_00\\rf_eval_firmware\\radarss\\xwr16xx_radarss.bin")
    [19:35:04] [RadarAPI]: Downloading BSS Patch RPRC Binary..
    [19:35:06] [RadarAPI]: ar1.GetBSSFwVersion()
    [19:35:06] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
    [19:35:07] [RadarAPI]: ar1.GetBSSPatchFwVersion()
    [19:35:07] [RadarAPI]: BSSPatchFwVersion:(01.02.05.02 (30/04/19))
    [19:35:07] [RadarAPI]: ar1.DownloadMSSFw("C:\\ti\\mmwave_studio_02_01_01_00\\rf_eval_firmware\\masterss\\xwr16xx_masterss.bin")
    [19:35:08] [RadarAPI]: Downloading MSS RPRC Binary..
    [19:35:10] [RadarAPI]: ar1.GetMSSFwVersion()
    [19:35:10] [RadarAPI]: MSSFwVersion:(01.02.05.02 (16/07/19))
    [19:35:11] [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)
    [19:35:11] [RadarAPI]: Status: Passed
    [19:35:11] MSS power up done async event received!
    [19:35:13] [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [19:35:13] [RadarAPI]: Status: Passed
    [19:35:13] [RadarAPI]: ar1.SelectChipVersion("XWR1642")
    [19:35:13] [RadarAPI]: Status: Passed
    [19:35:13] Device Status : XWR1642/ASIL-B/SOP:2/ES:2
    [19:35:13] [RadarAPI]: ar1.RfEnable()
    [19:35:13] [RadarAPI]: Status: Passed
    [19:35:13] BSS power up done async event received!
    [19:35:13] [RadarAPI]: ar1.GetMSSFwVersion()
    [19:35:13] [RadarAPI]: MSSFwVersion:(01.02.05.02 (16/07/19))
    [19:35:14] [RadarAPI]: ar1.GetBSSFwVersion()
    [19:35:14] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
    [19:35:15] [RadarAPI]: ar1.GetBSSPatchFwVersion()
    [19:35:15] [RadarAPI]: BSSPatchFwVersion:(01.02.05.02 (30/04/19))
    [19:35:24] [RadarAPI]: ar1.ChanNAdcConfig(1, 0, 0, 1, 1, 0, 0, 2, 2, 0)
    [19:35:24] [RadarAPI]: Status: Passed
    [19:35:26] [RadarAPI]: ar1.LPModConfig(0, 0)
    [19:35:26] [RadarAPI]: Status: Failed, Error Type: REGULAR ADC MODE NOT SUPPORTED IN 5 MHz PART VARIANT DEVICE
    [19:35:27] [RadarAPI]: ar1.RfInit()
    [19:35:27] [RadarAPI]: Status: Passed
    [19:35:27] RF Init async event received!
    [19:35:27] [RadarAPI]: Time stamp, Temperture: 14149,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: 0, 0; RxIQMM Status, Update: 1, 1;
    [19:35:30] [RadarAPI]: ar1.DataPathConfig(513, 1216644097, 0)
    [19:35:30] [RadarAPI]: Status: Passed
    [19:35:32] [RadarAPI]: ar1.LvdsClkConfig(1, 1)
    [19:35:32] [RadarAPI]: Status: Passed
    [19:35:36] [RadarAPI]: ar1.LVDSLaneConfig(0, 1, 1, 0, 0, 1, 0, 0)
    [19:35:36] [RadarAPI]: Status: Passed
    [19:36:10] [RadarAPI]: ar1.ProfileConfig(0, 77, 6, 6, 20, 0, 0, 0, 0, 0, 0, 99.022, 1, 64, 5500, 0, 0, 48)
    [19:36:10] [RadarAPI]: Status: Passed
    [19:36:14] [RadarAPI]: ar1.ChirpConfig(0, 31, 0, 0, 0, 0, 0, 1, 0, 0)
    [19:36:14] [RadarAPI]: Status: Passed
    [19:36:16] [RadarAPI]: ar1.GetCaptureCardDllVersion()
    [19:36:16] [RadarAPI]: Sending dll_version command to DCA1000
    [19:36:17] [RadarAPI]:
    [19:36:17] DLL Version : 1.0
    [19:36:17] [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")
    [19:36:17] [RadarAPI]: Status: Passed
    [19:36:19] [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098)
    [19:36:19] [RadarAPI]: ar1.CaptureCardConfig_Mode(1, 2, 1, 2, 3, 30)
    [19:36:19] [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(25)
    [19:36:19] [RadarAPI]: Sending fpga command to DCA1000
    [19:36:20] [RadarAPI]:
    [19:36:20] FPGA Configuration command : Success
    [19:36:20] [RadarAPI]: Sending record command to DCA1000
    [19:36:20] [RadarAPI]:
    [19:36:20] Configure Record command : Success
    [19:36:20] [RadarAPI]: ar1.GetCaptureCardFPGAVersion()
    [19:36:20] [RadarAPI]: Sending fpga_version command to DCA1000
    [19:36:20] [RadarAPI]:
    [19:36:20]
    [19:36:20] FPGA Version : 2.8 [Record]
    [19:36:20]
    [19:37:30] [RadarAPI]: ar1.DisableTestSource(0)
    [19:37:30] [RadarAPI]: Status: Passed
    [19:37:30] [RadarAPI]: ar1.AdvanceFrameConfig(2, 1536, 0, 0, 32, 1, 186400, 0, 1, 1, 246400, 0, 0, 35, 1, 202000, 0,1, 1, 262000, 0, 0, 1, 128, 8000000, 0, 1, 1, 8000000, 0, 0, 1, 128,8000000, 0, 1, 1, 8000000, 450, 1, 0, 2, 32, 128, 1, 35, 128, 1, 128,1, 1, 128, 1, 1)
    [19:37:30] Status: Failed, Error Type: CHIRP USED IN THE FRAME IS NOT CONFIGURED BY AWR_CHIRP_CONF_SET_SB

    ===================================================================

    Thanks and regards

  • Hello Badar,

    Please find my comments below:

    3) As shown, it still gives you an error status as failed, so you should take care and use only low power mode for this. I'm not completely sure of the implication of the setting here, will need to check with the internal team.

    4) Need to check on this.

    5 & 6) The ICD only reports the maximum conditions or limitations that you must always consider. The 50% usecase is a suggestion or a typical usecase.

    Now regarding your confusion of interframe time, technically there are no frames but only subframes. In Advance Frame configuration, users can configure multiple type of frames compared to legacy frame configuration (where only one type of frame is permitted). Advanced frame configuration allows up to four sub-frames. So legacy frame is simply a kind of just sub-frame 1 and that is the only one you can configure. But in Advance frames, you have four subframes. Hence the interframe time in Advance frames is actually the inter sub frame time.

    I hope the explanation was clear.

    8) Please refer to Anil Mani's response in the below thread:

    https://e2e.ti.com/support/sensors/f/1023/t/705159?RTOS-IWR1642-doppler-graph 

    9) Using the 2nd workaround I suggested won't contribute to any interframe time savings as technically both methods are configuring the same amount of chirps. The timing requirements will be exactly same for both these methods. And previously I gave an example of just subframe 1, but in your config you're configuring 2 subframes which have chirps until 35. Hence you will have to configure 35 chirps in chirpConfig.

    Regards,

    Ishita