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.

CCS/IWR1642BOOST: Disable Static Clutter Removal for People Counting Demo

Part Number: IWR1642BOOST
Other Parts Discussed in Thread: IWR1642, IWR6843ISK

Tool/software: Code Composer Studio

Dear support,

I am working on the poeple counting demo for the IWR1642BOOST and want to disable the static clutter removal. I know that it is enabled by default and I read 

https://e2e.ti.com/support/sensors/f/1023/t/772457

but I added these 

processInst->aoaInput->clutterRemovalFlag = 1;
processInst->aoaInput->fallBackToConvBFFlag = 0;

as suggested at line 378 to radarProcess.c. I also tried changing the 1 into 0 and vice verse.

However, the static clutter removal still seems enabled when I do this and I dont know what I'm doing wrong.

Can you help me and do you know how I can disable the static clutter removal properly?

  • Hi,

    clutterRemovalFlag = 0 turns off static clutter removal. Please ensure that there are no #ifdefs stopping this code from being run.

    Please lower the CFAR thresholds - even with static clutter removal disabled, you may not see many points as the wall will give back many reflections of similar strength near eachother, which can trick the standard CFAR detection algorithm:

    cfarCfg 6 4 4 4 4 16 16 4 4 50 62 0

    Please lower the bolded options.  If you have access to IWR6843ISK, the latest lab0015 on Industrial toolbox 3.4 has options on the GUI to enable/disable static clutter removal, as well as change the CFAR thresholds while the demo is running. (This will not be supported on IWR1642).

    Regards,

    Justin

  • Yes this improves the number of detections!
    One more question now arises: The number of detection points seem to not get more than 125. Can this maximum number of detection points be increased?

    Kind regards,

    Mike
  • Hi Mike,

    You are using IWr1642, correct?

    Device can produce up to 250 detection points- however, UART is rather slow. If it ships 250 points, the device runs out of time in the frame. So the output has been limited to 125.

    If you see line 215 in task_mbox.c, you can set this value as high as 250.

    Regards,
    Justin
  • Thank you for the fast responses and resolving my questions!