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.

IWR6843AOP: Confusion regarding People Counting and 6843 AOP EVM

Part Number: IWR6843AOP

I have the 6843AOPEVM

The instructions for the people counting demo clearly specify that the demo works with this model, it shows pictures of the model and mentions it explicitly

I followed the instructions bu no joy

I successfully flashed the pre-compiled bin file.. but...

First of all, I installed the demo visualizer on 2 separate windows 10 machines, 1 laptop, 1 desktop, both times it will not let me load a config file. Clicking "select config" does nothing at all.

So I went back to my linux box. Serial terminals seems to work.

I can set the config setting at the prompt on the 115200 baud port, everything there is working fine

but the data port is garbage, I cant find the header magic word to identify the packet header.. looking at the data my instinct tells me incorrect baud rate,but nothing works, tried all baud rates, garbage data no matter what.

The unit is clearly functioning, i can see it sending data when it detects people and stop sending when there are no people in range.

I found old posts suggesting that I need to modify the source because it is not compatible with AOP, but I also found lines in the source that clearly reference the AOP. Moreover if this is the case why is there no mention of it in the documentation. the documentation clearly says this model works but make no mention of any special steps required for this model.

Do I need to recompile the bin file? do i need to edit the source? What is going on?

I can live with just access to the raw output data alone, but it would be cool if the windows demo visualizer also worked, so does anyone know whats going on there?

I can enter com pots and click connect.. but it always connects, even if I put com ports in incorrectly.
clicking "select config" does absolutely nothing.
and if I edit the sensor position parameters and hit enter then "connected" changes to "unable to connect"


but my priority is just getting good data. visualizer secondary and not necessary.

  • Hi Matthew,

    1. Which exact version of the Industrial toolbox are you looking at and which people counting demo are you trying to run (as there are 3 demos under people counting - overhead 3D people counting, 3D people counting and the Sense and DIrect HVAC demo)?

     2. If you are looking at the data port output in a terminal program such as Tera term directly, it will look like garbage, even with the right baud rate settings. Because the demos stream out binary data which is meant to be interpreted by a visualizer as we provide.

    Regards

    -Nitin

  • Hi Nitin,

    I am running industrial toolbox 4 4 1, 3d people counting (not overhead or hvac). The one where it is recommended to use 2m elevation and 10 degree tilt

    Yes, I am aware, I am looking at the hex output

    by garbage I mean I cant find the header "magic word"/sync element, or any other discernible indicators of header data.

    I have use the out of the box bin file, and manage to identify the header and using the defined data format I can extract the data with my own software no problem.

    The documentation indicates that the header for the 3d people counting bin leads with the same "magic word" as out of the box demo, but its not there anywhere in the stream I am getting

  • I cant find the magic word patter in the stream visually
    abut to be sure I have this little program to scan for it
    It works fine with out of the box demo, it can identify packets
    but it finds nothing in the stream from device with 3d people counting

    #include <sys/stat.h> #include <fcntl.h> #include <termios.h> #include <stdio.h> #include <string.h> #include <errno.h> #include <stdlib.h> #include <unistd.h> #define BAUDRATE B921600 #define MODEMDEVICE "/dev/ttyUSB1" #define FALSE 0 #define TRUE 1 void openport(void); void sendport(void); void readport(void); int fd=0, n; static int cnt, size, s_cnt; unsigned char *var; struct termios oldtp, newtp; char sendcmd1[10]="\0"; FILE *file; int magic[]={2,1,4,3,6,5,8,7}; void readport(void){ unsigned char buff; int counter=0; while(1){ float v; unsigned int ival; n=read(fd, &buff, 1); fcntl(fd,F_SETFL,0); if(n==-1){goto quit;} if(n>0){ if(buff==magic[counter]){ counter++; }else{ counter=0; } if(counter==8){ printf("packet\n"); } } } quit: return; } void openport(void){ fd = open(MODEMDEVICE, O_RDWR | O_NOCTTY |O_NDELAY ); printf("fd :%d\n",fd); if (fd <0){ perror(MODEMDEVICE); } fcntl(fd,F_SETFL,0); tcgetattr(fd,&oldtp); bzero(&newtp, sizeof(newtp)); newtp.c_cflag = BAUDRATE | CRTSCTS | CS8 | CLOCAL | CREAD; newtp.c_iflag = IGNPAR | ICRNL; } int main(){ openport(); readport(); return 0; }

  • Hi Matthew,

    Before getting into debugging, especially on Linux, please try to get the demo working using the provided visualizer on a Windows machine (we have verified that the demo works on a Windows machine with the provided visualizer).

    Which configuration file are you using with the 3D people counting visualizer?

    For 3D people counting demo, you need to send a configuration corresponding to your board type (ISK, AOP or ODS) from the following directory:

    C:\ti\mmwave_industrial_toolbox_4_4_1\labs\people_counting\68xx_3D_people_counting\chirp_configs

    or the following (which is just a copy of the above directory)

    C:\ti\mmwave_industrial_toolbox_4_4_1\labs\people_counting\visualizer\chirp_configs\3D_People_Counting

    -Nitin

     

  • Hi Nitin,

    I installed the visualizer on 2 different windows machines

    when I click "select config" nothing happens.. no pop up.. no option to select a file at all.

    I compressed the folder "visualizer"

    put it on the windows 10 machines

    ran the install program

    and both time the "select config" button has absolutely no response.

  • Hi Matthew,

    The behavior you describe, indicates some external factor (e.g. OS, permissions, python version or something of that nature) creating problem with the GUI. I installed the GUI on my own windows 10 machine and it runs without any issues. Could you try to run the GUI through source? You will need to install the required version of python and other utilities by following the instructions given in the Developer's guide section.