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.

AWR2944EVM: Basic CCS example file to obtain ADC data and begin processing

Part Number: AWR2944EVM
Other Parts Discussed in Thread: AWR2944

Hello,

I am working with the AWR2944EVM to develop an HWA application using Code Composer Studio. I have successfully set up CCS with the EVM and ran a few examples, such as hello world, as well as examples that demonstrate the HWA and CLI. However, none of the examples (to my knowledge) actually start the sensor (radiating) and store the data for further real-time HWA processing.

I have tried working with the provided code for the TDM/DDM examples and transferring the snippets I need, but have encountered many errors, as well as difficulties regarding the sheer amount of code. It would be greatly appreciated if a relatively simple CCS project example could be provided that turns on the sensor (perhaps with hard-coded chirping configurations), stores data in the ADC buffer (correct me if this is not the correct procedure) and provides guidance for next steps regarding HWA2.0 processing.

Thanks.

  • Hi,

    The below path provides a test example for using the mmwavelink library. The library functions are used to control, calibrate configure the AWR2944 frond end. Here you will find the programming sequence to turn on the sensor and collect the data and store in ADC buffer. Please go through it once and the related documentations to understand the code flow.

    ti\mmwave_mcuplus_sdk_04_04_01_02\mmwave_dfp_02_04_09_01\ti\control\mmwavelink\test

    Once you complete the above steps you can proceed to HWA processing. 

    Thanks,

    Pradipta.

  • Hi Pradipta,

    I have been trying to run this example on my linux laptop with makefiles, but have an issue: the files don't seem to be importing correctly. This was a problem I was running into previously on CCS as well.

    I didn't change anything in main_mss.c, but when I tried running "make mssTest MMWAVE_DISABLE_WARNINGS_AS_ERRORS=1", I received a "file not found" error regarding the line "#include <kernel/dpl/CacheP.h>"

    Do you have any idea why I can't import library files?

    FYI: I am currently using VS Code to edit the files. Do I need to switch compilers somehow? If so, how would I do so?

    Thanks.

  • Hi Aaron,

    As per my understanding you may not be setting up the environment properly. 

    Use the below path : ti\mmwave_mcuplus_sdk_04_04_01_02\mmwave_mcuplus_sdk_04_04_01_02\docs

    1) Where you will find the SDK user guide. On page 52  section 4.10.2.2 the procedure to set up the build environment is provided.

    2) Also edit the makefile for the example to check if it is pointing to all the available software on your PC and also the path defined there is correct or not. 

    The two steps are enough for you to build and run the example.

    Thanks,

    Pradipta.

  • Hi Pradipta,

    Could you point me in the direction of the detailed documentation for this mmwave_dfp test? Also, upon looking at the code, it appears somewhat different from the OOB demo code. For example, my main goal is to start the sensor with the MMwave library, using commands such as "mmwave_open" and "mmwave_start." Does the DFP not use the MMwave library?

    If possible, I would like to stick with whatever the OOB demo code is using. Would it be possible for me to have you review the code I have written so far and offer some suggestions? It is composed of code snippets/functions very messily and incompletely pieced together from the OOB demo. All the functionality I would like thus far is to start the sensor using the MMwave library and receive .

    Thanks,

    Aaron

    test_zip.zip

  • Hi Aaron,

    The documentation is available in the same DFP folder. 

    path: ti\mmwave_mcuplus_sdk_04_04_01_02\mmwave_dfp_02_04_09_01\docs

    mmwavelink library is the base library. The test example uses the mmwavelink library as it provides a lot more control and configuration options. The MMwave library is composed on top of the mmwavelink library and internally use the mmwavelink functions. 

    This is explained in the SDK user guide document. 

    If possible, I would like to stick with whatever the OOB demo code is using. Would it be possible for me to have you review the code I have written so far and offer some suggestions? It is composed of code snippets/functions very messily and incompletely pieced together from the OOB demo. All the functionality I would like thus far is to start the sensor using the MMwave library and receive .

    You can use the MMwave library as well. I can assist you with your debugging but cannot review your code completely.

    We provide the SDK examples, Demo application, Radar Academy, and user guides for users to compose their own custom code. Reviewing the entire code will be a difficult but debugging any particular issue to help out will be feasible. 

    RADAR-ACADEMY Online training | TI.com

    Thanks,

    Pradipta.