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: No reference found in people counting demo source code for reading config via UART

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

Tool/software: Code Composer Studio

Hi there,

I am trying to write my own GUI which sends the condfiguration of people counting demo to IWR1642 and save the detected cloud points into a file so that I could further post process them and optimize the parameters of tracker on a number of saved sequences.

I looked up the imported source code for the demo and I can see in file mss_main.c that two com port is being opened for purpose of config and processed data:

1-gMmwMssMCB.commandUartHandle = UART_open(0, &uartParams); // for getting command (perhaps the config?)

2-gMmwMssMCB.loggingUartHandle = UART_open(1, &uartParams); // for sending detected points and tracks

However, only references to loggingUartHandle have been used :

example: 

UART_write (gMmwMssMCB.loggingUartHandle, (uint8_t *)&outputMessage, sizeof(MmwDemo_output_message_header));

However, there is NO reference to commandUartHandle which seems to read the config.

I have also built the source code for demo and neither of xwr16xx_pplcount_lab.bin files in release or debug does not show any deteced cloud points or tracked people whereas original built firmware does that perfectly.

I wonder if there is something wrong with this source code of firmware or it is outdated?

I need to mentioned that when I imported the dss and mss project into CCS it was not building and aksed a question on this forum. Tom suggested me to install mmWvSDK 02_00_00_04 which I installed and it helped me to build the firmware but it is not working as original built bin file for the firmware? I really do not know how to debug and trace this.

My gut feeling is that the source code is outdated or there is some problem as it does not seem to read the config via com port?

Thanks

Amin