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.

AWRL6432BOOST: AWRL6432 Life Presence Detection

Part Number: AWRL6432BOOST
Other Parts Discussed in Thread: AWRL6432, UNIFLASH

Hello,

Many details about "AWRL6432 Life Presence Detection" projects are explained in your system. But I cannot find the download link for these project files. (Embedded or Matlab files). I bought an AWRL6432BOOST kit. Can I try "the AWRL6432 Life Presence Detection" project with this kit? Where can I access the relevant project files?

  • Hi,

    The user's guide for the demo can be found below. It points out where to find the visualizer in the Radar Toolbox.

    https://dev.ti.com/tirex/content/radar_toolbox_1_30_00_05/source/ti/examples/InCabin_Sensing/AWRL6432_Life_Presence_Detection_Demo/docs/AWRL6432_Life_Presence_Detection_Demo_users_guide.html

    The motion and presence example project can be found in the SDK directory below.

    <install dir>\ti\MMWAVE_L_SDK_05_03_00_02\examples\mmw_demo\motion_and_presence_detection

    Thanks,

    Clinton

  • Hi,

    Thanks for your quick answer. But my problem continues.

    When we install the downloaded "MMWAVE_L_SDK_05_03_00_02-Windows-x86-Install.exe" file on our Windows computer, there is no <PACKAGE_LOCATION>\tools\visualizers\InCabin_LifePresenceDetection_GUI\ folder in the downloaded folders. Therefore, there is no "AWRL6432_LifePresenceDetection_visualizer.exe" file in the folders. The files containing these folders are not included in the link you sent. Is there a different link for them that I'm not seeing?

  • Hi,

    That visualizer is in the download of the Radar Toolbox. The screenshot below shows how to download it.

    Thanks,

    Clinton

  • Hi, thank you. I downloaded the relevant files.

    We currently have a problem like this: I'm running Matlab code. As I marked in the picture below, "AWRL6432 Life Presence Detection Demo" works properly. But when running "AWRL6432 Life Presence Detection Capon2D" it gives an error.

    We tried many times but it always gives the same error. You can see the picture of the error it gives in Matlab below.

  • Hi,

    Are you sure the device is connected and you've selected the correct COM port? Are you running the same binary and .cfg when you try both visualizers? They should be using different ones. Also have you tried running the built matlab as well as running from source?

    Regards,

    Tim

  • Hi,

    I had previously flashed the "motion_and_presence_detection_demo.debug.appimage" file to the device as a binary file.

    We run the matlab file located under \radar_toolbox_1_30_00_05\tools\visualizers\InCabin_LifePresenceDetection_GUI.

    As a note, I should also say this: The AWRL6432_LifePresenceDetection_visualizer.exe program in the folder does not work at all.

  • Hi,

    Thanks for the note on the .exe program, we can look into this. Also the correct Matlab Runtime is required to run the .exe, are you sure you have the correct version?

    For the capon2D .cfg file, can you try flashing the device with the capon2D chain binary?

    C:\ti\radar_toolbox\source\ti\examples\InCabin_Sensing\AWRL6432_Capon2D

    Regards,

    Tim

  • Hi,

    Thanks. I managed to get it working with AWRL6432_Capon2D. I am making progress. I wanted to debug the code to better understand its operation. That's why I installed Code Composer Studio 12.5.0 on my computer. Currently working. I had 2 questions about this. First: I think we cannot run the matlab application while debugging. Is it true? Second: I'm new to the Code Composer Studio platform. For testing on AWRL6432Boost, I tried to turn on/off the user LED. But I failed. I would appreciate it if you could give me a brief suggestion on how I should do it.

  • Hi,

    You should be able to run the matlab application while the device is in CCS debug.

    Please look at the GPIO examples in our SDK for more help on toggling pins on the device.

    If you have any further questions, please make a new post on E2E.

    Regards,

    Tim

  • Hi,

    Thanks. As far as I understand, the situation (CCS debug) you mean here may be possible by using the DCA1000 connector. Is it possible to do this using only usb?

  • Hi,

    CCS debug on the AWRL6432BOOST does not require DC1000. You can connect it to CCS debug following the software guide in the radar toolbox under Documentation/Software Guides.

    The DCA1000 is only needed for raw data collection.

    Regards,

    Tim

  • Hi,

    Thanks for your help. I'm doing as you say. The Matlab function works fine when I'm not debugging. However, during debugging, the matlab function (AWRL6432_LifePresenceDetection_visualizer.m) does not work at all. I use the following Application/User port in Matlab.

    When I run Matlab during debug, I get the following error.

  • Hi,

    Are you sure your device is in the correct functional mode?

    Regards,

    Tim

  • Hi, Yes.

    I tried many times with different combinations. Maybe the power of the PC's USB port was insufficient, so I supplemented it with "external power adapter, the 5-V supply". The final configurations are as follows:
    S1.1 ON
    S1.2 OFF
    S1.3 ON
    S1.4 OFF
    S1.5 ON
    S1.6 OFF

    S4.1 OFF
    S4.2 OFF
    S4.3 ON
    S4.4 ON

    When the configuration is like this and I do not debug, the Matlab function still works properly. In Debug mode, the Matlab function gives the following error.

  • Hi,

    I'm catching up on this thread and will follow up.

    Thanks,

    Clinton

  • Hi,

    It's recommended to power cycle anytime you reset the system, in case that was not something you were already doing. Additionally, for the Capon2D, you will need to load the 'release' build, otherwise a timeout could occur. Please let us know if this helps resolve your issue.

    Thanks,

    Clinton

  • Hi,

    I load the 'release' build.

         

    But the Matlab program gives the same error below.

  • Hi,

    Have you started to modify the example code? Could you try the unmodified release build of the 2D capon example and let us know the results?

    Thanks,

    Clinton

  • Hi,

    No, that change was only for blinking the user LED. And that part of the code seen in the picture I sent you was blocked. So the code I tried is exactly the same as the example code.

    Thanks,

  • Hi,

    I went ahead and tried to recreate your use case and I'm not running into the issue you are describing. I'll list out my configuration and steps I took below.

    1. Put the board in flashing mode and flashed (using Uniflash) the 'empty' image from SDK 5.3.0.2 found here: C:\ti\MMWAVE_L_SDK_05_03_00_02\examples\empty\xwrL64xx-evm\m4fss0-0_freertos\ti-arm-clang
    2. Switched to functional mode and reset the board. Note these are all of my switch settings for the board:
      1. SW1.1 -> SW1.6 = 100010
      2. SW4.1 -> SW4.4 = 0001
    3. Imported the the CCS project from here (using CCS 12.4): C:\ti\radar_toolbox_1_30_00_05\source\ti\examples\InCabin_Sensing\AWRL6432_Capon2D\src\xwrl6432
    4. Rebuild the project (in release)
    5. Connected to the target through CCS and loaded the .out file generated
    6. Resumed the program from CCS
    7. Started AWRL6432_LifePresenceDetection_visualizer.m from C:\ti\radar_toolbox_1_30_00_05\tools\visualizers\InCabin_LifePresenceDetection_GUI\src
    8. Selected the App/User COM port for the EVM
    9. Selected the minor_motion_presence_detection_capon2D.cfg config file from C:\ti\radar_toolbox_1_30_00_05\tools\visualizers\InCabin_LifePresenceDetection_GUI\config_file
    10. Hit 'Go' and the demo worked as expected

    Note if you stop the visualizer and restart it, you will need to power cycle and reconnect to the EVM in CCS, reload the binary and start it again before restarting the visualizer or it could through an error like you are seeing.

    Thanks,

    Clinton

  • Hi,

    Thanks, it worked.

    The problem was related to loading the image in C:\ti\MMWAVE_L_SDK_05_03_00_02\examples\empty\xwrL64xx-evm\m4fss0-0_freertos\ti-arm-clang to the device. I was loading the code C:\ti\radar_toolbox_1_30_00_05\source\ti\examples\InCabin_Sensing\AWRL6432_Capon2D\prebuilt_binaries to the device to be the same as the code I debugged. The problem stemmed from this.