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.

Linux/IWR1443BOOST: The upper and lower limits of MMW_MAX_OBJ_OUT.(Displayable range value.)

Part Number: IWR1443BOOST
Other Parts Discussed in Thread: UNIFLASH,

Tool/software: Linux

Hi,

What are the upper and lower limits of MMW_MAX_OBJ_OUT?

I tried to check the output display of the Point Cloud
due to the change of MMW_MAX_OBJ_OUT.(100,200,400 and 50)

------Below is the verification content and result.---------
I imported to CCS(8.0) the following and modified some part.

ToolBox:mmwave_industrial_toolbox_2_3_1\labs\demo0004-mmwave-sdk
(SDK:1.2.0.5)
(Build and Uniflash OS:Windows10 64bit)
(Bord:IWR1443BOOST)
(Check OS:Ubuntu 16.04LTS Dual Boot.Not VirtualBox.)
(Check with:Ros Point Cloud 3D )

1.mmw_mss_14xx\data_path.h
63 //DETECTION (CFAR-CA) related parameters
64 //#define MMW_MAX_OBJ_OUT 100 // Comment out
65
66 #ifdef MMW_MAX_OBJ_OUT
67 #undef MMW_MAX_OBJ_OUT
67 #define MMW_MAX_OBJ_OUT 200 // test 200,400 and 50
69 #endif


2.mmw_mss_14xx\mmw_lvds_stream.c
80 /* MMWAVE Demo Include Files */
81 #include <ti/demo/xwr14xx/mmw/mmw.h>
82 /* #include <ti/demo/xwr14xx/mmw/data_path.h>*/ /* Comment out */
83 #include "data_path.h" /* the Current folder file instead of original */


I took video and compare them.

There was a difference in appearance between 100 and 200.
There was no clear difference as seen by the eye between 200 and 400.
When it is 50, the point cloud is no longer displayed.

Regards,
user5205609

  • Hello,

    Thanks for your interest in TI mmwave sensors. I need to check with the development team on this question and expect to get back to you by Tuesday next week. 

    Regards

    -Nitin

  • Hi,

    Thank you.

    If it is Tuesday in the U.S., it is Wednesday in Japan. I will expect your reply.

    Regards,

    user5205609

  • Hello,

    The lower limit for MMW_MAX_OBJ_OUT is 1, which may not be useful, while the upper limit depends on the available DATA_RAM memory. You can check the unused DATA_RAM memory as highlighted below in the map file to see how much memory you have left.

    The total DATA_RAM needed for MMW_MAX_OBJ_OUT is given by MMW_MAX_OBJ_OUT*sizeof(MmwDemo_detectedObj). For instance, increasing the MMW_MAX_OBJ_OUT from 100 to 200 increases the used DATA_RAM in the map file by 100*sizeof(MmwDemo_detectedObj) or 1200 bytes.

    However, please note that we have not tested increasing MMW_MAX_OBJ_OUT beyond the value defined in the SDK demo and in addition to memory allocation, the maximum no. of detected points sent out may be limited by the UART data rate and possibly the overall timing of the software processing.   

     

    MMW_MAX_OBJ_OUT size set to 100:

    MEMORY CONFIGURATION in the map file

              name            origin    length      used     unused   attr    fill

    ----------------------  --------  ---------  --------  --------  ----  --------

      VECTORS               00000000   00000100  0000003c  000000c4     X

      PROG_RAM              00000100   0001ff00  0001c39b  00003b65  R  X

      PROG_RAME             00020000   00010000  000009f0  0000f610  R  X

      DATA_RAM              08000000   00010000  0000d608  000029f8  RW 

      L3_RAM                51000000   00050000  00050000  00000000  RW 

      HWA_RAM               52030000   00010000  00010000  00000000  RW 

     

    Please mark the thread answered if your question was answered otherwise let us know if you need more support.

    Thanks

    -Nitin

  • Hi,

    Thank you very much.

    I would like to change the value a lot, check the memory, and handle as many points as possible.

    Regards,
    user5205609