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.

IWR6843ISK: People counting software

Part Number: IWR6843ISK
Other Parts Discussed in Thread: MMWAVEICBOOST

Hi all

I am testing the IWR6843ISK demo board using the people counting lab.

I want detect targets in a <boundaryBox -3 5 0.5 30 -1 3>. We modified the ISK_14m config file to increase max distance.
1) I learned if the maxNumTracks > 20, the system becomes unstable and finally stops.
2) I have lot of errors in the output data stream, the TLVs are shorter than expected. This problem increases as the number of acquired points increases.

I read into the "Group tracker parameter tuning guide" that the maxNumTracks can be increased up to 200 depending on available memory, as well as maxNumPoints, how it is possible to increase the memory ?

Thanks in advance

Alessandro Innocenti

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

This is the configuration file:

sensorStop
flushCfg
dfeDataOutputMode 1
channelCfg 15 7 0
adcCfg 2 1
adcbufCfg -1 0 1 1 1
lowPower 0 0
profileCfg 0 60.75 30.00 25.00 59.10 131586 0 18 1 96 2950.00 2 1 36 
chirpCfg 0 0 0 0 0 0 0 1
chirpCfg 1 1 0 0 0 0 0 2
chirpCfg 2 2 0 0 0 0 0 4
frameCfg 0 2  96  0 55.00 1 0
dynamicRACfarCfg -1 4 4 2 2 8 12 4 8 5.00 8.00 0.40 1 1
staticRACfarCfg -1 6 2 2 2 8 8 6 4 8.00 15.00 0.30 0 0
dynamicRangeAngleCfg -1 0.75 0.0010 1 0
dynamic2DAngleCfg -1 1.5 0.0300 1 0 1 0.30 0.85 8.00
staticRangeAngleCfg -1 0 8 8
antGeometry0 0 -1 -2 -3 -2 -3 -4 -5 -4 -5 -6 -7
antGeometry1 -1 -1 -1 -1 0 0 0 0 -1 -1 -1 -1
antPhaseRot 1 1 1 1 1 1 1 1 1 1 1 1
fovCfg -1 70.0 10.0
compRangeBiasAndRxChanPhase 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0
% modificato per posizione invertita
staticBoundaryBox -2 4 2 25 -1 3
boundaryBox -3 5 0.5 30 -1 3
sensorPosition 2 0 15
gatingParam 3 2 2 2 4
stateParam 3 3 6 500 5 6000
allocationParam 20 100 0.05 5 0.5 20
maxAcceleration 0.1 0.1 0.1
trackingCfg 1 2 800 20 46 96 55
presenceBoundaryBox -4 4 0.5 12 0 3
sensorStart

  • Hello,

    Please see the documentation for trackingCfg. The defaul sets maximum number of tracks to 20. Please try increasing this.

    3D_people_counting_tracker_layer_tuning_guide.pdf

    Do the data stream issues only occur with many tracks, or all the time? How are you reading the data? We have not seen these errors with our demo python visualizer.

    Regards,

    Jackson

  • Hi Jackson

    once I try to increase the max number of tracks to a value > 20, the device stops.

    Concerning the serial output, the problem occurs sometimes  into the Track List TLVs. One Track is shorter than 112 bytes, this makes not valid the following data of the entire packet. We are using our own packets parser to decode the data output. In the attached file the errors are into packets at address 0x68B42, 0x6E1BE, 0x74DA8, 0x778A6 and more. Even reducing the max. number of tracks, the error persists.

    dataout.zipRegards

    Alessandro

  • Hello,

    Can you run in debug mode to see the debug console output and check for errors when setting tracks>20? It is probably using more memory than is being allocated.

    For the TLV length mismatch. Have you been able to determine where the TLV breaks? Is it correct up to a certain parameter? And is it always the same length <112 bytes or does it change?

    Thanks,
    Jackson

  • Hi Jackson

    I tried to enable the debug console by setting "#define DebugP_LOG_ENABLED 1", as recommended by para 6.2 of mmwawe_sdw_user_guide.pdf, but I have had no success.

    Concerning the TLV length mismatch, I introduced a  small delay, changing function MwmDem_uartTxTask "task_sleep(1)" into "task_sleep(2)". The problem disappeared.

    Regards

    Alessandro

  • Hi Alessandro,

    The console should have the errors and some other messages by default. The full debug log isn't needed. Do you see any output in the CCS console when running in debug mode?

    CCS Debug for Development

    Regards,

    Jackson

  • Hi Jackson

    I connected the MMWAVEICBOOST to the 6843ISK board and I have console output on CCS. In this condition I have no access to /dev/ttyACM0 (I suppose it is used by CCS), so I am not able to send configuration commands to the 6843ISK board.

    Should be any possibility to access the serial port or I have to incorporate the config commands into the code ? (Sorry but is my very first time with MMWAVEICBOOST)

    Regards

    Alessandro Innocenti

  • Hello,

    You should still have access to the serial ports, but what operating system are you using? How were you sending the CFG file before? We usually send the CFG file over using teraterm or putty or something. CCS will not be using the COM ports in windows.

    Regards,

    Jackson

  • Hi

    I am using linux, and I use a similar SW to send config. Once I launch the mmwawe demo, the console reply me the debug messages:

    Debug: Launching the MMW Demo on MSS
    **********************************************
    Debug: Launched the Initialization Task
    Debug: mmWave Control Initialization was successful
    Debug: mmWave Control Synchronization was successful

    but the serial port /dev/ttyACM0 exists but doesn't respond.

    Regards

    Alessandro

  • Hello,

    It seems CCS debug probably uses that port for the JTAG connection. I suggest to create a new post in the CCS forum to get help with changing the port CCS uses in linux, as it is out of the scope of the radar forum. They should be able to help. 

    However, which toolbox version are you using? The most recent toolbox version has a default of 30 track maximum and works fine. Which binary file are you loading and have you made any changes to the default project?

    Regards,

    Jackson

  • Hello Jackson

    finally I get the board running. Now I'll check the debug messages.

    Regards

    Alessandro

  • Hello Jackson

    I didn't read any error message on the board I am testing in the lab, using the MWMICBOOST.

    On the board I have installed in a crowded environment, if I set maxTrack<=20 it works perfectly, if I set maxTrack>20, when the tracks increase over 20, the board stops and I have to reset it.Unfortunately in the latter board I can't use the MWMICBOOST ,because the board is fitted in a tighted case. Is there any possibility to read the debug messages I read on the debug console of CCS ?

    Regards

    Alessandro

  • Hello Alessandro,

    Sorry for the delay due to winter holidays.

    There isn't a way to connect to CCS with the ISK EVM without the ICBOOST. Do you not have a way of testing this without the case so you can use the ICBOOST for a test? 

    Also, are you seeing 20 tracks of actual people that should be there, or are there many ghost tracks? I ask because there may be other ways to filter these and not exceed the 20 track threshold.

    Regards,

    Jackson