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.

AWR1843BOOST: running DPC Demo for object detection

Part Number: AWR1843BOOST
Other Parts Discussed in Thread: UNIFLASH,

Dear Experts,

I'm currently trying to run the Object Detection Demo with the Datapath Processing Chain(DPC) in the folder: (C:\ti\mmwave_sdk_03_05_00_04\packages\ti\datapath\dpc\objectdetection).

However, I got an error because the following variables in the objectdetection.c file are undefined:

  1. EDMA Instance IDs for each DPU:
    • DPC_OBJDET_DPU_RANGEPROC_EDMA_INST_ID, 
    • DPC_OBJDET_DPU_STATIC_CLUTTER_PROC_EDMA_INST_ID,
    • DPC_OBJDET_DPU_CFARCA_PROC_EDMA_INST_ID,
    • ...
  2. EDMA Channels for each DPU:
    • DPC_OBJDET_DPU_RANGEPROC_EDMAIN_CH,
    • DPC_OBJDET_DPU_RANGEPROC_EDMAIN_SHADOW,
    • DPC_OBJDET_DPU_RANGEPROC_EDMAIN_EVENT_QUE,
    • ...

For the channels, I simply took them from the other DPU demos(C:\ti\mmwave_sdk_03_05_00_04\packages\ti\datapath\dpc\dpu\).

But I am not sure about the edma instances. So as I can see there is a maximum of two edma instances:

#define EDMA_NUM_CC                          (2U)

But how I know which DPC_OBJDET_DPU_XXX_ID is assigned to instance 0 or instance 1? Is there already some documentation to understand which channels can be used and how many edma instances are needed?

I also had a look at chapter 13 (Enhanced Direct Memory Access) in the "awr18xx_16xx_68xx Technical Reference Manual" and the doxygen documentation of the DPC.

Thanks & kind regards

Daniel

  • Hi,

    If I understand you are trying to make some changes to the demo.

    What changes are you trying to make?

    Thank you

    Cesar

  • Hallo Cesar,

    no I do not want to make any changes to the "demo" I only want to run the DPC process chain "test" from the objdethwa/test folder (C:\ti\mmwave_sdk_03_05_00_04\packages\ti\datapath\dpc\objectdetection\objdethwa\test)
    The only obstacle is that I am working on a freeRTOS operating system.

    Thank you & regards,

    Daniel

  • Daniel,

    If you are looking to run the unit test for the DPC, then you should use the source files found in this folder location:

    C:\ti\mmwave_sdk_03_05_00_04\packages\ti\datapath\dpc\objectdetection\objdethwa\test

    There is only one source file in this directory, main.c. EDMA is not used/needed in the unit test.

    The DPC process chain is not a "demo". It is an abstraction that is a part of the mmWave Out-of-Box demo. There may be some confusion on this point and why you are likely running into issues when trying rebuild your project.

    Regards,
    Kyle

  • Hello Kyle,

    thanks for your reply and clarification. I misunderstood the test a little bit as I thought I could run the test Out-of-Box without making any adjustments. If I have understood it correctly then I can only run the mmWave demo (C:\ti\mmwave_automotive_toolbox_3_3_0\labs\lab0007_medium_range_radar) Out-of-Box.

    Regards,
    Daniel

  • Daniel,

    You can run any of the example demos provided in the automotive toolbox. 

    C:\ti\mmwave_automotive_toolbox_3_3_0\labs

    For each of the demos, there is a "prebuilt_binaries" folder. You can use uniflash to flash the binary file (*.bin) to the AWR1843BOOST EVM and then run the demo.

    There is also an SDK Out-of-Box demo example application that is included in the mmWave SDK installation.

    For the current SDK release, v3.5, the prebuilt example can be found here:

    C:\ti\mmwave_sdk_03_05_00_04\packages\ti\demo\xwr18xx\mmw

    Similarly, you can also flash the "xwr18xx_mmw_demo.bin" file to your AWR1843BOOST EVM and run the demo using the GUI visualizer found here: https://dev.ti.com/gallery/view/mmwave/mmWave_Demo_Visualizer/ver/3.5.0/

    Please let me know if you have any additional questions.

    Regards,
    Kyle

  • Hello Kyle,

    thank you very much for your clarification and help me solve the problem!

    Regards,

    Daniel

  • Daniel,

    I am glad that we were able to solve your problem. If you have any issues in the future, please create a new thread on E2E.

    Regards,
    Kyle