Tool/software:
Hi,
I want to find the maximum and second maximum values of the angle FFT results. Can this be achieved using HWA?
Thanks!
Tool/software:
Hi,
I want to find the maximum and second maximum values of the angle FFT results. Can this be achieved using HWA?
Thanks!
Hi Peng,
You will need SW intervention for this with 2 passes. With first pass, you will find the max value and max index. You should then update the max index sample to 0 if unsigned value else minimum value for the given datatype. After updating the max index sample, in the second pass, you should be able to get the second maximum value.
Without SW intervention, it's not possible to get maximum and second maximum value.
You can use statistics block in the FFT engine to get the maximum value. Refer to MAX SUBBAND PARAMSET in C:\ti\mmwave_mcuplus_sdk_04_07_01_03\mmwave_mcuplus_sdk_04_07_01_03\ti\datapath\dpu\dopplerprocDDMA\src\dopplerprochwaDDMA.c as an example to use Statistics block to find max value.
Regards,
Samhitha
Hi Samhitha,
Thank you very much for your reply. I apologize for the misunderstanding. I meant to find two peaks, not the maximum and the second maximum. How should I do this? Can I use local max to achieve this?
Hi Peng,
In local max engine, each sample/bin (Cell Under Test (CUT)) is compared against detection threshold(s), and also compared against the neighboring samples and the CUT is declared as a valid local peak if the sample amplitude exceeds the detection threshold and is “more than or equal to” the neighboring cells. The output of the local maxima computations is stored into the destination memory as a bit pattern, where each bit indicates whether the specific sample/CUT was detected as a valid local peak or not. For more details, refer to section 28.10 Core Computational Unit – Local Maxima Engine of AWR294x Technical Reference Manual (Rev. D). You will find multiple peaks, not just two.
Are you looking to find two objects in the same Range-Doppler bin? In that case, you can use super resolution algorithms for this purpose. You can find libraries of DML and MUSIC at C:\ti\mmwave_mcuplus_sdk_04_07_01_04\mmwave_mcuplus_sdk_04_07_01_04\ti\alg. Source code for these algorithms are not provided. We provide some unit tests instead for reference. You can refer to the examples and integrate the algorithms in your application if needed.
Regards,
Samhitha
Thanks for you reply!I am looking to find two objects in the azimuth angle spectrum, and I'd like to try to see if local max can achieve that.
Peng,
I don't think it's possible. You can still try it at your end.
Regards,
Samhitha