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.

IWR6843: Radar Cube Format for Advanced Frame

Part Number: IWR6843

Hi,

I want to extract the raw data directly from the radar cube. I´ve been able to do it without using the advanced frame option, but right now I would like to try the advanced frame.

I´ve been looking in the doxygen documentation but I don´t find any specific information for the advanced frame mode. I suppose that the radar cube will be stored using the DATA_FORMAT_1 which means that this is the format:

cmplx16ImRe_t x[numTXPatterns][numDopplerChirps][numRX][numRangeBins]

But for example, if I configure the next profiles, chirps and subframes:

profileCfg 0 60 7 3 25 0 0 50 1 256 12000 0 0 158
profileCfg 1 60 7 3 25 0 0 100 1 256 12000 0 0 158
profileCfg 2 60 7 3 25 0 0 150 1 256 12000 0 0 158

%
chirpCfg 0 0 0 0 0 0 0 1
chirpCfg 1 1 0 0 0 0 0 2
%
chirpCfg 2 2 1 0 0 0 0 1
chirpCfg 3 3 1 0 0 0 0 2

%
advFrameCfg 2 0 0 1 0
subFrameCfg 0 0 0 1 32 100 0 1 1 100
subFrameCfg 1 0 2 3 32 100 0 1 1 100

What would be the radar cube format?

If I want to access the data from the first subframe I assume that I need to use the [numTXPatterns][numDopplerChirps][numRX][numRangeBins]  format, but how can I access the data from the second subframe?

Thank you in advance,

Regards

Gonzalo

  • Hello.

    To access a subframe of data you will have to do some pointer math.  You are correct in how to access the first subframe, which is just the beginning of the frame.  However, for the second frame, you will need to calculate the size of one frame of data, split that into the number of subframes, and move the pointer to the data by the appropriate amount to access the data for a specific subframe.

    Sincerely,

    Santosh

  • Hello,

    I just saw that I can normally access the radar cube within each subframe, it changes each subframe index, does this make any sense, is the processing to obtain XYZ coordinates done for each subframe separately?

    Thank you.

    Regards

  • Hello.

    I just saw that I can normally access the radar cube within each subframe, it changes each subframe index, does this make any sense,

    I believe this is correct, but I'm not familiar with what you mean by subframe index.  You can definitely access each subframe separately, but will have to do the pointer math when accessing the radar cube to point to each subframe and then extract the radar cube data from that subframe.  You can then use this data to further process and get the xyz data.

    Sincerely,

    Santosh