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.

IWRL6432BOOST: How to format the raw ADC data (binary file) collected with DCA1000 for the gesture recognition demo to provide it as an input to process it?

Part Number: IWRL6432BOOST
Other Parts Discussed in Thread: IWRL6432

There is a flag named "adcDataSource" in the Gesture recognition example for IWRL6432 from radar toolbox that can be enabled to load pre-captured ADC data from file. A sample input file "adc_data_0001_CtestAdc6Ant.bin" is also provided, from which the program reads metadata such as numAdcSamples, numVirtualAntennas, numChirpsPerFrame, numFrames, and numFrames, followed by the data for each frame. For testing my application, I'd like to create a binary file with the same structure as adc_data_0001_CtestAdc6Ant.bin. I tried using the bin file generated by DCA1000 as input, but it does not conform to the needed format.

  • Hello, 

    it does not conform to the needed format.

    Can you clarify what you mean here? Are you able to tell how the formats of the two bin files are different? Perhaps the numAdcSamples, numVirtualAntennas, numChirpsPerFrame, numFrames are not present at the beginning of the file?

    Best Regards,

    Josh 

  • Yeah, the numAdcSamples, numVirtualAntennas, numChirpsPerFrame, numFrames are not present at the beginning of the file. And the ordering the samples is uncertain too. The Matlab parsing script for the raw ADC data collected is provided in this path C:\ti\mmwave_studio_04_01_00_01\mmWaveStudio\Scripts\MatlabExamples\matlabParsingScript\read_adc_data_tx1tx2_lowPowerDevice.m. I think you can use this to compare the format required by the demo project and binary file produced by mmWave Studio from the raw ADC data samples collected from the device.

  • Hello, 

    Sorry for the delay here. Thank you for the additional info. I understand your issue. Please allow me to attempt to replicate the issue on my end and respond here with more info tomorrow. 

    Best Regards,

    Josh

  • Hello, 

    My apologies, I'm still looking into this. Please allow an additional day or two for me to investigate. Your patience is appreciated. 

    Best Regards,

    Josh