AWRL6844EVM: Toolbox InCabin Presence Demo not working as expected

Part Number: AWRL6844EVM
Other Parts Discussed in Thread: AWRL6844, UNIFLASH

Tool/software:

InCabin Sensing Demo not working.

We are trying to get the InCabin sensing demo to work.

I have followed the tutorial from here:

https://dev.ti.com/tirex/explore/content/radar_toolbox_3_20_00_04/source/ti/examples/Automotive_InCabin_Security_and_Safety/AWRL6844_InCabin_Demos/docs/Seat_Belt_Reminder/AWRL6844_SBR_users_guide.html#evm-mounting-and-coordinate-transforms

In short:

I flash this onto the device:

radar_toolbox_3_20_00_04/source/ti/examples/Automotive_InCabin_Security_and_Safety/AWRL6844_InCabin_Demos/prebuilt_binaries/demo_in_cabin_sensing_6844_system.release.appimage

Then, I run this application:

radar_toolbox_3_20_00_04/tools/visualizers/AWRL6844_Incabin_GUI/src/occupancy_demo_gui.exe

The GUI starts, but no data is being processed or shown on the UI except Frames count. I wrote some debug scripts based on the matlab code, and these are some examples from it:

Frame 28 - 4 TLVs - Packet Length: 544
TLV 1: Type=1040, Length=400
    Unknown TLV type 1040 (skipped)
TLV 2: Type=1041, Length=15
    Raw classifications: (128, 0, 0, 128, 0, 0, 128, 0, 0, 128, 0, 0, 128, 0, 0)
    Occupancy Classification: 5 zones
     Zone 0: SBR=1.00, CPD=0.00, ID=0.00
     Zone 1: SBR=1.00, CPD=0.00, ID=0.00
     Zone 2: SBR=1.00, CPD=0.00, ID=0.00
     Zone 3: SBR=1.00, CPD=0.00, ID=0.00
     Zone 4: SBR=1.00, CPD=0.00, ID=0.00
TLV 3: Type=1042, Length=20
    Unknown TLV type 1042 (skipped)
TLV 4: Type=6, Length=28
    Raw stats: (40989, 4897, 40960, 65535, 4294967295, 3080235, 3014702)
    Stats: DSP=40960μs

In short, we don't seem to get the point cloud and any inference in this demo.

We also tried installing the mmWave demo from the SDK, and that one works file, the plots work

  • Hi Catalin,
         I have looped in our SW expert. Please allow us a day or so to look over and thoroughly respond to your question.

    Thanks,
    Sivaprasad

  • Hi Catalin,

    Thank you for reaching out, I have a few questions and requests for me to better understand what is going on.

    1. What config file did you use to start the demo? 
    2. Can you possibly plot the data that comes out of TLV type 1020. This TLV type is used for the point cloud.

    Best,

    Vignesh K.

  • Hi Vignesh, and thanks for the quick reply.

    1. I am using the cpd.cfg file found in the "radar_toolbox_3_20_00_04/tools/visualizers/AWRL6844_Incabin_GUI/src/chirpConfigs6844" folder. I have also tried all 4 config files from there (for cpd, sbr and intrusion detection) and it's the same problem, the demo is not working as expected

    2. That's the problem - there is NO data for TLV type 1020 coming in. I only get data for TLV 6, 1040,1041,1042

    Attached is also a screenshot of what I see when the demo is running.

    From the screenshot, the Frames count is changing (increasing) and also the DSP load in fluctuating a bit. However, everything else is static.


    What I want to mention is the following: visualizer demo that's in the SDK works, i can see the points in the X-Z and Y-Z graphs, although i don't see anything in the doppler image :/ - maybe this helps.

    But in the end, I want to get the 3 InCabinSensing demos to work. Thanks!


  • Hi Catalin,

    The way that we implement how the point cloud is outputted is that it is only sent when there are points while the other TLV's are always sent by default. We have seen similar issues before which have been resolved from power cycling the device before running the MATLAB GUI again.

    Here are my suggestions:

    1. Try running our occupancy_demo_gui.exe but make sure to unplug and plug the device in again before running the GUI. If it fails, close the GUI and power cycle then try running the GUI again. This has worked to solve this issue for us. 
    2. If you are still facing an issue, try running this in the python visualizer. You can find this visualizer at radar_toolbox\tools\visualizers\Applications_Visualizer\Body_And_Chassis_Visualizer\Body_and_Chassis_Visualizer.exe

    Let me know how this goes for you.

    Best,

    Vignesh K.

  • Hi Vignesh, i tried the python visualizer, and i'm having the same problem - it doesn't work as expected..i get some data (some frames) but no pointcloud, no data for any of the 3 demos there (SBR, CPD or intrusion detection).

    i've attached a screenshot from the python program and also a picture of my eval board, maybe you see something wrong with the physical setup... 

    What else can do / try?






  • Hi Catalin,

    The switch settings look correct. Are you flashing the device through the SDK or UNIFLASH? Which image are you flashing, somethinhg

    Could you maybe try flashing again using the SDK visualizer and making sure the flash was successful like below:

    Do you have access to a different board to rule out the board being defective? Also, when was this board purchased? 

    I am sorry this process is turning out to be more complicated than expected. I double checked on my board here using the same image and visualizer and it works as expected on my end.

    Best,

    Vignesh K.

  • So i have tried flashing with both tool in the SDK AND the Uniflash tool

    I see the same screens for flashing (with the web tool) as above - basically looks llike the flashing is ok. Then i move the switches back to "functional" position.

    Unfortunatelly I don't have another board - i am also thinking that maybe it's a board issue - but I want to be 100% sure that's the case. There is a client demo for us soon, is there anything else that i can try? I just want to get the out of box demos working :))

    My only other comment - i'm running windows11 not windows10 on the laptop i'm using..could that be the problem? although I really don't think so.

    If you have any other scripts or anything else i could try, i highly appreciate it.

    Thanks,

    Catalin

  • Hi Catalin,

    I am sorry for making you try all these different things and none have worked. I was able to get my hands on a new EVM and I can re-create your issue. I have been debugging for the past day or so. I will get back to you by tomorrow afternoon with an update. 

    I don't believe it is due to windows 11 or anything in your hands currently. Since this same demo is working on different EVM's, it is most likely some HW issue but I will get back to you with more information soon.

    Best,

    Vignesh K.

  • Hi Vignesh, do you have any updates on this issue? We have an important demo with this board on Monday (Sep 8), I hope you can give me a fix so we can show the point-cloud.

  • Hi Vignesh, one more thing.. we are located in Munich, and there's a TI office close to us, maybe we can a contact with those guys and can help us directly? Anything helps :) thanks!

  • Hi Catalin,

    We need to get you a new board, we will contact you offline. Please be in the lookout for an email from me.

    Best,

    Vignesh K.

  • Hi Catalin,

    Is there any solution later? I have encountered the same problem too。

    Best,

    JiaPing

  • Hi Jia,

    Can you try changing the chirpTimingCfg to the following:

    chirpTimingCfg 6 28 1.5 105 57.5
    Let me know if this solves your issue!
    Best,
    Vignesh K
  • Hi Vignesh ,

    I tried changing the chirpTimingCfg to "chirpTimingCfg 6 28 1.5 105 57.5", but unfortunately, it didn't solve my issue.

    Thanks for your suggestion though! Let me know if you have any other ideas.
    Best regards,
    JiaPing
  • Hi Vignesh,

    I have an additional information: I set the value of 'gUseArtificalPointCloud' to 1, and data of type 1020 can be seen on the monitored data serial port.

  • Hi Jia,

    Thanks for this information. I am still investigating for a possible solution here and may need some more time.

    Best,

    Vignesh K.

  • Hi Vignesh,

    I'd like to share my debugging progress with you for your reference: I disabled IPC, manually controlled task scheduling in debug mode, and found that I can monitor the point cloud data.

    I hope we can resolve the issue as soon as possible. Thank you!

    Best regards,
    JiaPing