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-ODS: Problem with sending config in 3d people counting

Part Number: IWR6843ISK-ODS
Other Parts Discussed in Thread: IWR6843ISK

Hi, I'm running the lab with 3d people counting, and I usually met some problem when I did "send config" to the radar board, it turned out nothing. And I check the Python console, it turned out like..

After that situation I had to press reset button or power recycle it many times to make sure DS2 turned off. But these two methods didn't work all the time, and I had to keep it rest for a couple of hours.

Can you have me to solve these problem? How can I turn off the DS2 light, and what is the meaning of DS2 light on?

  • Hi,

    Thank you for reaching out.

    Are you using the latest 3D people counting Visualizer GUI located in  <mmw_industrial_toolbox_install_location>\labs\people_counting\visualizer?

    Usually if there are blank lines and the configuration commands are not being sent, that means you did not press the reset button before you connected to the EVM with the visualizer. 

    Follow these steps to run the 3D People Counting Visualizer and correctly connect with the EVM

    1. Start with the EVM unplugged from the computer and then power up and connect the EVM to computer

    2. Press the reset button and ensure the led flashes before doing anything else

    3. Open the Visualizer GUI

    4. Connect to the EVM in the Visualizer GUI and then send the configuration

    If you have already connected the EVM to the Visualizer and something doesn't work and you attempt to relaunch the Visualizer without resetting the EVM, you will get the above behavior where it does not correctly send the configuration commands and does nothing. 

    In terms of the DS2 light, I am not sure what you mean by DS2 as that is not a number associated to any LED on the board. You can check the schematics and assembly drawings of the specific IWR6843ISK-ODS revision board that you have here. https://www.ti.com/lit/zip/swrr165 

    Hope this helps.

    Thanks,

    Alex Chan

  • Hi,

    Thanks for your replying.

    This is the LED I talked above.

    I have followed the steps you talked about and it works. But after a couple of times, the LED in the picture can not be closed after I press the reset button with the EVM unplugged from the computer. Once the LED turns on, it will cause configuration commands not being sent even I follow the steps you talked.

    There are three questions :

    1. Is the LED in the picture should be turned off after pressing the reset button?

    2. If so, how to turn this LED off without pressing reset button or recycling power (I have tried these two steps many times)?

    3. what is the meaning when this LED turns on?

  • Hi Chien,

    Please see the following responses to your questions.

    The meaning of DS2 Yellow LED is for observing GPIO_2. Glows when the GPIO_2 is logic 1. You can see all LED use cases in the user guide on page 28 for the mmWave IC Boost Carrier Board here. https://www.ti.com/lit/ug/swru546d/swru546d.pdf?ts=1638457973182&ref_url=https%253A%252F%252Fwww.ti.com%252Ftool%252FMMWAVEICBOOST

    The DS2 LED should start in the off state on power up. When you press the reset button on the IC Boost Board it should briefly flash and then go back to the off state. Once you have connected the EVM to the Visualizer and pressed the send configuration button, the DS2 LED will turn on and the Visualizer GUI should start running. It will start blinking rapidly when a target has been tracked. If there are no more tracks, the DS2 LED will stay constant on and will no longer be blinking. Even if you close the Visualizer GUI, the EVM can still run and detect or track people and thus the DS2 LED may still be on or blinking. 

    Are you using the following Visualizer GUI?

    If you press the reset button while the Visualizer GUI is running it will mess up and you will need to reopen and reconnect the Visualizer GUI. Make sure to again reset the EVM before connecting to the Visualizer GUI. 

    Hope this helps. 

    Thanks,

    Alex Chan

  • Hi, Chan

    Thanks for your replying.

    As you said,  "The DS2 LED should start in the off state on power up. When you press the reset button on the IC Boost Board it should briefly flash and then go back to the off state."

    Now, my problem is that my IC boost Board start in "on state" when power up,and after I pressed the reset button, the DS2 LED would not turned off.

    Besides,  I am using the same visualizer GUI as you do.

    here are the photos that I'm pressing the reset button with the EVM unplugged from the computer.

    1. power up with EVM unplugged from the computer

    2. pressing the reset button

    33. After that, DS2 LED still in the "on state"

  • Hi,

    My apologies I was using an IWR6843ISK without the micro usb or onboard reset button so it will use the IC Boost LED DS2 and have some different operation from a standalone IWR6843ISK with onboard reset and micro usb. 

    Are you flashed with the default 3D People Counting binary or have you made any changes to the CCS code? If you search for SensorStatusGPIO in the mss_main.c file in the 3D people count 68xx mss project, this will show the activity of LED DS2. (mmwave_industrial_toolbox_install_path\labs\people_counting\68xx_3D_people_counting\src\mss)

    In line 2236 you can see where the LED DS2 should be turned on once the sensor is started. 

    In line 695 you should see where the LED DS2 should be toggled when the numTargets > 0 indicating a target has been tracked and detected. 

    In line 2399 you see the LED DS2 is being configured. 

    So D5 on the EVM itself will be the LED that toggles on Reset and D7 will be the detection LED where it will blink when a target has been tracked and will be on once the send configurations button has been sent. Do you see D7 blinking when a target has been tracked in the visualizer as well as DS2 blinking? D7 and DS2 LEDs should behave the exact same way. 

    Thanks,

    Alex Chan