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.

IWR1443BOOST: IWR1443 and DCA100 2 lanes config bin file data processing

Part Number: IWR1443BOOST
Other Parts Discussed in Thread: IWR1443

Hi I have a question about processing raw data captured from IWR1443 Boost +DCA1000.

I have used the following configuration and used the matlab example in the following to process them to get the radar cube. 

Configuraton

I enabled only the Lane 1 and 2 of LVDS Lane configuration . My question what changes need to be done to process this data in the script provided in Page 15 of https://www.ti.com/lit/an/swra581b/swra581b.pdf?ts=1648885838493&ref_url=https%253A%252F%252Fwww.google.com%252F 

I was expecting to see zeros in the files however, I can't see any zeros for the non used lanes. I can p[provide a sample file. 

Thanks a lot!

Isura! 

if (ar1.LVDSLaneConfig(0, 1, 1, 0, 0, 1, 0, 0) == 0) then
    WriteToLog("LVDSLaneConfig Success\n", "green")
else
    WriteToLog("LVDSLaneConfig failure\n", "red")
end

  • Hi,

            Please share your profile config details and mmWave studio log.

    Regards

  • Hi Thanks for replying. Following is the profile config. 

    --Profile Config
    if(ar1.ProfileConfig(0, 77, 7, 6, 58.57, 0, 0, 0, 0, 0, 0, 67.978, 0, 256, 5000, 0, 0, 30) == 0) then
    WriteToLog("ProfileConfig Success\n", "green")
    else
    WriteToLog("ProfileConfig failure\n", "red")
    end


    if(ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 0, 0) == 0) then
    WriteToLog("ChirpConfig0 Success\n", "green")
    else
    WriteToLog("ChirpConfig0 failure\n", "red")
    end
    RSTD.Sleep(500)
    if(ar1.ChirpConfig(1, 1, 0, 0, 0, 0, 0, 0, 1, 0) == 0) then
    WriteToLog("ChirpConfig1 Success\n", "green")
    else
    WriteToLog("ChirpConfig1 failure\n", "red")
    end
    RSTD.Sleep(500)
    if(ar1.ChirpConfig(2, 2, 0, 0, 0, 0, 0, 0, 0, 1) == 0) then
    WriteToLog("ChirpConfig2 Success\n", "green")
    else
    WriteToLog("ChirpConfig2 failure\n", "red")
    end

    if(ar1.FrameConfig(0, 2, 500, 8, 40, 0, 0, 1) == 0) then
    WriteToLog("FrameConfig Success\n", "green")
    else
    WriteToLog("FrameConfig failure\n", "red")
    end
    RSTD.Sleep(500)

    Log Files

    28-Mar-2022 17:07:17: IsFPGA:,0,0,
    28-Mar-2022 17:07:17: C:\ti\mmwave_studio_02_01_01_00\mmWaveStudio\RunTime,0,
    28-Mar-2022 17:07:23: API:select_capture_device,DCA1000,0,
    28-Mar-2022 17:08:08: API:select_chip_version,AR1243,0,
    28-Mar-2022 17:08:08: API:select_chip_version,AR1243,0,
    28-Mar-2022 17:08:18: API:select_chip_version,AR1243,0,
    28-Mar-2022 17:08:22: API:ChannelConfig,7,15,0,
    28-Mar-2022 17:08:22: API:AdcOutConfig,2,1,0,
    28-Mar-2022 17:08:22: API:DataFmtConfig,15,2,1,0,0,0,
    28-Mar-2022 17:08:23: API:LowPowerConfig,0,0,0,
    28-Mar-2022 17:08:24: API:DataPathConfig,1,1,0,2,0,
    28-Mar-2022 17:08:25: API:DataPathConfig,1,1,0,2,0,
    28-Mar-2022 17:08:25: API:LvdsClkConfig,1,1,0,
    28-Mar-2022 17:08:25: TSW1400 Sampling rate : 600000000 7500000,0,
    28-Mar-2022 17:08:25: API:SetHsiClock,9,0,
    28-Mar-2022 17:08:25: API:LaneConfig,3,0,
    28-Mar-2022 17:08:25: API:LvdsLaneConfig,0,1,0,
    28-Mar-2022 17:08:26: API:ProfileConfig,0,1435384036,700,600,5857,0,0,1408,0,256,5000,0,0,30,0,
    28-Mar-2022 17:08:26: API:ChirpConfig,0,0,0,0,0,0,0,1,0,
    28-Mar-2022 17:08:27: API:ChirpConfig,1,1,0,0,0,0,0,2,0,
    28-Mar-2022 17:08:27: API:ChirpConfig,2,2,0,0,0,0,0,4,0,
    28-Mar-2022 17:08:28: API:EnableTestSource,0,1,0,
    28-Mar-2022 17:08:28: API:FrameConfig,0,2,100,8,8000000,0,512,0,
    28-Mar-2022 17:08:28: API:AdvancedFrameConfig,1,0,0,0,3,8,8000000,0,1,1,8000000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
    28-Mar-2022 17:08:28: API:select_capture_device,DCA1000,0,

  • Hi,

    If you capture and process the data using mmWave Studio, do you see any issue in the result plot?

    That would be best to confirm if you are capturing right set of data with different lane settings. 

    Regards,

    Jitendra

  • Hi Jithendra, thanks for the reply. I think I haven't explained this properly. mmwave studio doesn't show any errors. My problem is how what are changes we have to make to process the data. The script is as follows and the number of lanes is not changed as per the instructions. 

    As per the documentation, unused lanes should be filled with zeros, Hower I can't see any zero-filled data after running the code as it is. This is where I suspect I might be doing something wrong. Please advice. 

  • Hi Isura,

    Can you confirm that you are getting same file size of adc_data.bin in both case of Lane settings (2 or 4).

    If that is the case, then I think that it doesn't stuff the zero bytes when you reduce only number of lanes (but keeping all other configuration same).

    So you need to process the data with this new understanding.