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.

AWR1243BOOST: mmWave Sensor Raw Data Capture Using the TSW1400 Board

Part Number: AWR1243BOOST
Other Parts Discussed in Thread: AWR1243, MMWAVE-DFP

Howdy,

I'm using the AWR1243+devpack+tsw1400 and I followed Francois in video //training.ti.com/mmwave-sensor-raw-data-capture-using-tsw1400-board... Everything works out exactly as in the video, except some minor details:

1) I'm not able to receive data in the window as Francois (when he pressed the "Triger Frame" button) . Instead i have to press the "Read DDR Memory"-button, and the GUI imports it. Else the window stays "blank". Is there som settings to fix this?

2) My Dump-file (d:\adc_data.bin), which I'm entering in the radar API in Radar Studio is empty (i.e. 0kB), however the file gets updated every time I press the "Triger Frame" button. If data is to be saved, I have to go to HSDC->file->save bin . Should not this be done automatically once i entered the path in the radarAPI?

3) And a more basic question... what is it that I see in the picture below. Where does the consecutive spikes come from? They seem to change in frequency spacing when i change the ADC samples/sample rate. (I get a more familiar picture in the PostProc (in radar studio) below.) 

Thanks

/Henric

  • Hello Henric,

    I am attaching the RadarStudio Output log and highlighted the "TSWsetup" and "TSW Arm" log messages, please confirm if you see the same in your output log as well.

    Could you also confirm the number of frames you have set in the frame configuration? The number of frames cannot be infinite in case of using the TSW1400. Please select low number say 10

    Do you see the firmware download happening to the TSW1400 when you press "SetUp TSW1400" on the RadarStudio? Please see the below snapshot of the firmware download that happens

    Once the firmware download is successful, you should see the "Interface Type " and the "Firmware Version " updated as below :

    If these steps are successful, then the ADC capture on the HSDC Pro should happen when you press "Trigger Frame " on the RadarStudio and the adc.bin should be having the data. You do not need to seperately read the DDR memory to fill the adc.bin file.

    Let me know if any of the steps is failed in your case.

    Thanks,

    Raghu

  • Hi Raghu

    I've set the frame=10 as in your picture. I do not see the dowload window when I press "SetUp TSW1400", however I can see "Interface Type " and the "Firmware Version " updated exactly as in your picture.

    I'm not getting the exact same respons as you are. Something wrong with Matlab? (I've dowloaded the Matlab runtime as instructed, however I also have a Matlab license installed on my computer as in the picture )

    [21:03:34]  [RadarAPI]: Status: Passed

    [21:03:41]  [RadarAPI]: ar1.Connect(5,115200,1000)

    [21:03:43]  [RadarAPI]: Error: Connection failed: Calling_ConnectTarget returned 3

    [21:03:43]  [RadarAPI]: ar1.Calling_IsConnected()

    [21:03:43]  [RadarAPI]: ar1.SaveSettings('C:\Users\Henric\AppData\Roaming\RSTD\ar1gui.ini')

    [21:04:19]  [RadarAPI]: ar1.Connect(10,115200,1000)

    [21:04:20]  [RadarAPI]: ar1.Calling_IsConnected()

    [21:04:21]  [RadarAPI]: ar1.SelectChipVersion("XWR1243")

    [21:04:21]  [RadarAPI]: Status: Passed

    [21:04:22]  [RadarAPI]: ar1.SelectChipVersion("XWR1243")

    [21:04:22]  [RadarAPI]: Status: Passed

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

    [21:04:25]  [RadarAPI]: ar1.DownloadBSSFw("C:\\ti\\mmwave_dfp_00_09_01_06\\rf_eval\\rf_eval_firmware\\radarss\\xwr12xx_xwr14xx_radarss.bin")

    [21:04:26]  [RadarAPI]: Downloading BSS ROM Legacy Binary..

    [21:05:07]  [RadarAPI]: ar1.DownloadMSSFw("C:\\ti\\mmwave_dfp_00_09_01_06\\rf_eval\\rf_eval_firmware\\masterss\\xwr12xx_xwr14xx_masterss.bin")

    [21:05:07]  [RadarAPI]: Downloading MSS Legacy Binary..

    [21:06:22]  [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)

    [21:06:22]  [RadarAPI]: Status: Passed

    [21:06:22]  [RadarAPI]: MSS power up done async event received!

    [21:06:22]  [RadarAPI]: ar1.SaveSettings('C:\Users\Henric\AppData\Roaming\RSTD\ar1gui.ini')

    [21:06:25]  [RadarAPI]: ar1.RfEnable()

    [21:06:25]  [RadarAPI]: BSS power up done async event received!

    [21:06:25]  [RadarAPI]: Status: Passed

    [21:11:44]  [RadarAPI]: ar1.ChanNAdcConfig(1, 0, 0, 1, 0, 0, 0, 2, 2, 0)

    [21:11:45]  [RadarAPI]: Status: Passed

    [21:13:19]  [RadarAPI]: ar1.LPModConfig(0, 0)

    [21:13:19]  [RadarAPI]: Status: Passed

    [21:13:21]  [RadarAPI]: ar1.RfInit()

    [21:13:21]  [RadarAPI]: RF Init async event received!

    [21:13:21]  [RadarAPI]: Status: Passed

    [21:13:21]  [RadarAPI]: Time stamp, Temperture: 415910,37; 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; RxIQMM Status, Update: 1, 1;

    [21:13:52]  [RadarAPI]: ar1.DataPathConfig(1, 1, 0)

    [21:13:52]  [RadarAPI]: Status: Passed

    [21:13:56]  [RadarAPI]: ar1.LvdsClkConfig(1, 1)

    [21:13:56]  [RadarAPI]: Status: Passed

    [21:14:00]  [RadarAPI]: ar1.LVDSLaneConfig(0, 1, 0, 0, 0, 1, 0, 0)

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

    [21:14:14]  [RadarAPI]: ar1.ProfileConfig(0, 77, 100, 6, 60, 0, 0, 0, 0, 0, 0, 29,982, 0, 256, 10000, 0, 0, 30)

    [21:14:15]  [RadarAPI]: Status: Passed

    [21:14:17]  [RadarAPI]: ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 0, 0)

    [21:14:17]  [RadarAPI]: Status: Passed

    [21:14:36]  [RadarAPI]: ar1.DisableTestSource(0)

    [21:14:36]  [RadarAPI]: Status: Passed

    [21:14:36]  [RadarAPI]: ar1.FrameConfig(0, 0, 10, 128, 40, 0, 1)

    [21:14:36]  [RadarAPI]: Status: Passed

    [21:16:24]  [RadarAPI]: ar1.SetupTSW1400()

    [21:16:27]  [RadarAPI]: TSW1400 set-up complete.

    [21:16:55]  [RadarAPI]: ar1.StartTsw1400Arm("D:\\adc_data.bin")

    [21:17:05]  [RadarAPI]: MatlabProc Status: Error Type: No Data was collected. Please check.

    [21:17:05]  [RadarAPI]: TSW1400 capture complete

    [21:18:05]  [RadarAPI]: ar1.StartFrame()

    [21:18:05]  [RadarAPI]: Status: Passed

    [21:18:05]  [RadarAPI]: Frame trigger async event received!

    [21:18:06]  [RadarAPI]: Frame start/end async event received!

    [21:18:06]  [RadarAPI]: Frame Ended

    [21:23:47]  [RadarAPI]: ar1.StartMatlabPostProc("D:\\adc_data.bin")

  • The Env-var is obviously for the run-time version. Noticed that my comment could be interpreted as for the full Matlab...
  •  did you solve your problem ? 
    Actually I have the same Matlab error as you and I still can't get any data on HSDC Pro 

  • Hello Henric,

    Can you confirm the following ?

    1. The rating of the power supply you are using for the TSW1400EVM ?

    2. Have you performed the below steps mentioned in the "RadarStudio_User's_Guide.pdf" in the MMWAVE-DFP?

    -Raghu

  • Hi Raghu
    - The rating is 5V and 4A output.
    - I copied the files according to the RadarStudio_User's_Guide.pdf
  • Hi Majdi
    I get the data but I have to press the Read DDR memory-button, and it's not saved automatically in the .bin-file, however I begin to suspect that I can not have a full Matlab installd at the same time as I have the Run-time-version of Matlab as instructed...
  • Hey Henric
    I did the same and I still have the same issue. but I don't think that a full Matlab is a problem because I don't have it, I only installed the Run time version.
    I'm not sure but I think that 5V and 6A on the power supply will solve it. I found that in another post but I didn't test it yet.
    Any ideas How to configure Radar studio for 3Tx and 3Rx ?
  • Hello Henric,

    I assume you are using all the default setting when trying to collect the data. Let me know if this understanding is right?

    Also you seem to following the right procedure to collect the data the "Trigger frame " should collect the data and populate the adc.bin if all the procedure is followed without missing any of the mentioned steps.

    -Raghu