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.

AWR1642BOOST-ODS: Several questions about the Doppler CFAR

Part Number: AWR1642BOOST-ODS

Hi,

I have some questions about these functions, MmwDemo_getDopplerLineMmwDemo_setDopplerLineMmwDemo_isSetDopplerLine.

I noticed that they all have this block or something similar, would you please help me understand this?

I guess ,MmwDemo_setDopplerLine works to translate the doppler index which is from Doppler CFAR to some other forms(dopplerLineMask).

And MmwDemo_getDopplerLine works to translate dopplerLineMask to doppler index. Am I right? Why we need dopplerLineMask?

Please help me,

Thank you!

  • Hi,

    I would take these functions with a grain of salt. It seems that these functions are not being used anywhere.

    This is what they intend to do:

    In the structure MmwDemo_1D_DopplerLines_t, dopplerLineMask points to an array of 32 bit integers (words). The code intends to use this array to indicate which doppler bin had a detection. So, if 7th bit in 1st integer is set, would mean that 7th doppler bin had a CFAR detection, etc. This way, they store information about 32 doppler bins per 32 bit integer.

    However, after reading the source, I am not quite convinced that the functions implement this properly (I could be wrong). These might have been experimental functions added to code, it would be worth unit testing just the logic in these functions in x86 C, out of the context of radar to begin with.
    Regards,
    Aayush