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: output value test with aoaprocdsp.c (AoAProcDSP_XYZestimation)

Part Number: IWR6843ISK

I'm currently doing various experiments with the iwr6843isk board.
The ongoing experiment is testing a wider range of detection by increasing the gain by changing the antenna.

Test Environment

traffic_monitoring_6843_dss.projectspec

<?xml version="1.0" encoding="UTF-8"?>

<projectSpec>
    <project
        name="traffic_monitoring_6843_dss"
        deviceFamily="C6000"
        isTargetManual="false"
        device="IWR6843"
        endianness="little"
        cgtVersion="8.3.3"
        connection="common/targetdb/connections/TIXDS110_Connection.xml"
        toolChain="TI"
        linkerCommandFile="mmw_dss_linker.cmd"
        postannouncebuildStep="Preparing BIN format image"
        postBuildStep="${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/out2rprc/out2rprc.exe traffic_monitoring_6843_dss.xe674 traffic_monitoring_6843_dss.bin"
        description="Traffic Monitoring 6843 - DSS"
        launchWizard="false"
        configurations="Release"
        compilerBuildOptions="
        -mv6740 -mf3 -mo -O3
        -I${PROJECT_ROOT}
        -I${PROJECT_ROOT}/dss
        -I${PROJECT_ROOT}/common
        -I${CG_TOOL_ROOT}/include													 
        -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages
        -I${TI_PRODUCTS_DIR}/mathlib_c674x_3_1_2_1/packages
        -I${TI_PRODUCTS_DIR}/dsplib_c64Px_3_4_0_0/packages
        -I${TI_PRODUCTS_DIR}/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft16x16_imre/c64P
        -I${TI_PRODUCTS_DIR}/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P
		-I${RTB_INSTALL_DIR}
        -DSOC_XWR68XX
		-DUSE_TRACPROC_OVERHEAD_DPU	
        -DSUBSYS_DSS
        -DMMWAVE_L3RAM_NUM_BANK=6
        -DMMWAVE_SHMEM_TCMA_NUM_BANK=0
        -DMMWAVE_SHMEM_TCMB_NUM_BANK=0
        -DMMWAVE_SHMEM_BANK_SIZE=0x20000
        -DMMWAVE_L3_CODEMEM_SIZE=0x100
        -DDOWNLOAD_FROM_CCS
        -DDebugP_ASSERT_ENABLED
        -D_LITTLE_ENDIAN
        -DOBJDET_NO_RANGE
        -DGTRACK_3D
        -DAPP_RESOURCE_FILE=&apos;&lt;&apos;mmw_res.h&apos;&gt;&apos;
        --gcc -g --diag_warning=225 --diag_error=10015 --diag_wrap=off --display_error_number --abi=eabi --obj_extension .oe674"
        linkerBuildOptions="
        -mtraffic_monitoring_6843_dss.map -otraffic_monitoring_6843_dss.xe674
        -I${PROJECT_ROOT}
        -I${CG_TOOL_ROOT}/lib
        -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/control/mmwave/lib
        -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/control/mmwavelink/lib
        -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/control/dpm/lib
        -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/alg/mmwavelib/lib
        -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/drivers/crc/lib
        -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/drivers/soc/lib
        -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/drivers/osal/lib
        -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/drivers/mailbox/lib
        -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/drivers/edma/lib
        -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/drivers/adcbuf/lib
        -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/drivers/cbuff/lib
        -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/utils/hsiheader/lib
        -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/utils/mathutils/lib
        -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/datapath/dpc/dpu/dopplerproc/lib
        -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/datapath/dpc/dpu/cfarcaproc/lib
        -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/datapath/dpedma/lib
        -I${TI_PRODUCTS_DIR}/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/lib
        -I${TI_MATHLIB_C674X_INSTALL_DIR}/packages/ti/mathlib/lib
        -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/alg/gtrack/lib
        -I${RTB_INSTALL_DIR}/source/ti/dpu/trackerproc_overhead/lib
        -I${RTB_INSTALL_DIR}/source/ti/dpu/aoaproc/lib
        -ldsplib.ae64P
        -lmathlib.ae674
        -llibmathutils.ae674
        -llibsoc_xwr68xx.ae674
        -llibosal_xwr68xx.ae674
        -llibcrc_xwr68xx.ae674
        -llibmailbox_xwr68xx.ae674
        -llibmmwavelink_xwr68xx.ae674
        -llibmmwave_xwr68xx.ae674
        -llibedma_xwr68xx.ae674
        -llibadcbuf_xwr68xx.ae674
        -llibmmwavealg_xwr68xx.ae674
        -llibcbuff_xwr68xx.ae674
        -llibhsiheader_xwr68xx.ae674
        -llibmathutils.ae674
        -llibcfarcaproc_dsp_xwr68xx.ae674
        -llibdopplerproc_dsp_xwr68xx.ae674
        -llibaoaproc_dsp_xwr68xx.ae674
        -llibdpm_xwr68xx.ae674
        -llibdpedma_hwa_xwr68xx.ae674
        -llibgtrack3D.ae674
        -llibtrackerproc_xwr68xx.ae674
        --define=MMWAVE_L3RAM_NUM_BANK=6
        --define=MMWAVE_SHMEM_TCMA_NUM_BANK=0
        --define=MMWAVE_SHMEM_TCMB_NUM_BANK=0
        --define=MMWAVE_SHMEM_BANK_SIZE=0x20000
        --define=MMWAVE_L3_CODEMEM_SIZE=0x100
        --reread_libs --diag_warning=225 --diag_error=10015 --diag_wrap=off --display_error_number --warn_sections --xml_link_info=xwr68xx_mmw_demo_dss_linkInfo.xml --ram_model --unused_section_elimination=on --disable_auto_rts -lrts6740_elf.lib">

        <!-- Project PATH Variables -->
        <pathVariable name="RTB_INSTALL_DIR" path="../../../../../../" scope="project" />   

        <!-- Project properties -->
        <property name="type" value="rtsc"/>
        <property name="products" value="com.ti.rtsc.SYSBIOS:6.73.01.01;com.ti.MMWAVE_SDK:03.05.00.04;ti.mathlib.c674x:3.1.2.1"/>        
		<property name="xdcToolsVersion" value="3.50.08.24_core"/>
        <property name="target" value="ti.targets.elf.C674"/>
        <property name="platform" value="ti.platforms.c6x:IWR68XX:false:600"/>
        <property name="endianness" value="little"/>
        <property name="output_format" value="elf"/>
        <property name="buildProfile" value="release"/>
        <property name="configuroOptions" value="--compileOptions &quot;--enum_type=int &quot; "/>

        <!-- Project files -->
        
        <file path="../common/dss/dss_main.c" targetDirectory="dss" openOnCreation="false" excludeFromBuild="false" action="copy"/>
        <file path="../common/dss/mmw_dss.h" targetDirectory="dss" openOnCreation="false" excludeFromBuild="false" action="copy"/>
        <file path="../common/dss/mmw_dss.cfg" targetDirectory="dss" openOnCreation="false" excludeFromBuild="false" action="copy"/>
        <file path="../common/mmw_config.h" targetDirectory="common" openOnCreation="false" excludeFromBuild="false" action="copy"/>
        <file path="../common/mmw_output.h" targetDirectory="common" openOnCreation="false" excludeFromBuild="false" action="copy"/>
        <file path="../common/mmw_res.h" openOnCreation="false" excludeFromBuild="false" action="copy"/>
        <file path="../common/dss/c674x_linker.cmd" targetDirectory="dss" openOnCreation="false" excludeFromBuild="false" action="copy"/>
        <file path="../common/dss/mmw_dss_linker.cmd" targetDirectory="dss" openOnCreation="false" excludeFromBuild="false" action="copy"/>
        <file path="${RTB_INSTALL_DIR}/source/ti/dpc/objectdetectionandtracking/objdetdsp/src/objectdetection.c" targetDirectory="dss" openOnCreation="false" excludeFromBuild="false" action="copy"/>
    </project>
</projectSpec>

테스트 환경 확인을 위해 projectspec을 같이 보내드립니다.

1. I want to make sure that the values of x, y, z, range, azimuth, and elev are finally determined in the function of AoAProcDSP_XYZestimation.

For testing, I modified some code and built it to get bin file, and I tested it by flushing it on iwr6843isk board, and I was able to see the object being detected.

Isn't it right that the object should be detected as zero since the code has been modified?

Are you using a different code instead of that code?

Just in case, I deleted the aoa file and built it, but it went back without a problem..

2. I want to check if you are using antenna_geometry.c in the current development environment.

We're going to test it by changing the structure of the antenna
I'm not sure if I'm using C:\ti\mmwave_sdk_03_05_00_04\packages\ti\board\antenna_geometry file.

Is it correct that you are currently using the file in the development environment?
I would appreciate it if you could also tell me how to check it out.



Thank you.

  • Hi,

    You'll see in the projectspec file there that we link to the aoaproc code instead of building it directly every time.

    Line 70 :  -I${RTB_INSTALL_DIR}/source/ti/dpu/aoaproc/lib

    Line 88 :  -llibaoaproc_dsp_xwr68xx.ae674

    You'll need to rebuild the aoaproc library, or, simply drag the src code from aoaproc into your ccs project so it gets built every time.