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.

AWR1443BOOST: Interpreting Binary File in MATLAB

Part Number: AWR1443BOOST

Hi,

Customer uses matlab code Interpreting Binary File provided by TI. There is no problem when interpreting data_adc.bin data less than 1G, but when the captured data exceeds 1G, matlab will report an error when interpreting data_adc_Raw_0(1,2, etc.).bin files

>> read_data

wrong use of reshape

known dimensions 8 is not divisible by the total number of elements 132332308

  • Hi Nancy,

    Need some additional inputs here.:

    1. Can you please provide details on the exact file you are referring to? There have been several such scripts, hence need to know which one exactly.
    2. Can you translate the error you have observed in MATLAB (safe to assume it is incorrect dimensions)?
    3. Is the size of the data matching your capture session?
    4. Has the complete data been broken into multiple chunks of 1GB or lesser? I believe the DCA1000 has an option to split files in such a way and would explain data incompleteness if any.

    Regards,

    Kaushik

  • Can you please provide details on the exact file you are referring to? There have been several such scripts, hence need to know which one exactly.

    DCA1000 With xWR12xx and xWR14xx MATLAB Example

    https://www.ti.com/lit/ml/swra581b/swra581b.pdf

    Can you translate the error you have observed in MATLAB (safe to assume it is incorrect dimensions)?

    s there anything special about Interpret the bin files larger than 1G?

  • Hi Nancy,

    The script in the document is a very simple data parsing script that takes a single bin data file as input and returns the data after parsing it. And it doesn't look like it handles irregular data sizes.

    Can you confirm if the entire data has been acquired accurately for given configurations? Since the data is broken into 1GB chunks, please ensure that the complete data captured (adc_data_raw_<0,1,2,3...>.bin) has the exact byte size as expected for given radar configuration. 

    I would also suggest that you read only the data that corresponds to integral multiple of frame sizes within the total data captured and make sure that the data is valid. You would need to use only data for which complete framing was done and captured.

    If the above steps are checked, you can use the entire data together.

    Regards,

    Kaushik