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.

AWR1843AOP: There is no azimuth data for 4Rx/1Tx antenna configuration

Part Number: AWR1843AOP

Hi,

I am trying to my sensor to work with 1Tx/4Rx configuration. There are antenna configurations like 1Tx/1Rx, 1Tx/2Rx or 1Tx/4Rx for other sensors. But there are no configs for awr1843aop, it is limited to 2Tx and 3Tx configurations in OoB visualizer.

I tried to do it myself with .cfg which is below and I can't get an azimuth data output at this time.

sensorStop
flushCfg
dfeDataOutputMode 3
channelCfg 15 3 0
adcCfg 2 1
adcbufCfg -1 0 1 1 1
lowPower 0 0

% 3D short range
profileCfg 0 77 2 4.1 36.72 0 0 15.79 1 208 6578 0 0 30
% 2D long range
profileCfg 0 76 2 3.8 12.35 0 0 9.85 1 93 12311 0 0 30
%
chirpCfg 0 0 0 0 0 0 0 1
chirpCfg 1 1 0 0 0 0 0 2
%
chirpCfg 2 2 1 0 0 0 0 1
%
advFrameCfg 2 0 0 1 0
subFrameCfg 0 0 0 2 48 100 0 1 1 100
subFrameCfg 1 0 2 1 32 100 0 1 1 100
% 
guiMonitor 0 1 0 0 0 0 0
guiMonitor 1 1 0 0 0 0 0
%
cfarCfg 0 0 2 8 4 3 0 10 0
cfarCfg 0 1 0 4 2 3 1 12 0
%
cfarCfg 1 0 2 8 4 3 0 10 0
cfarCfg 1 1 0 4 2 3 1 12 0
%
multiObjBeamForming 0 1 0.5
multiObjBeamForming 1 1 0.6
%
calibDcRangeSig 0 0 -5 8 256
calibDcRangeSig 1 0 -5 8 256
%
aoaFovCfg -1 -90 90 -90 90
cfarFovCfg 0 0 0.25 20
cfarFovCfg 1 0 20 150
cfarFovCfg 0 1 -30 30
cfarFovCfg 1 1 -30 30
%
CQRxSatMonitor 0 3 15 125 0
CQSigImgMonitor 0 115 6
CQRxSatMonitor  1 3 15 125 0
CQSigImgMonitor 1 115 6
%
analogMonitor 0 0
lvdsStreamCfg -1 0 0 0
clutterRemoval -1 1
bpmCfg -1 0 0 0
%
compRangeBiasAndRxChanPhase 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0
measureRangeBiasAndRxChanPhase 0 1. 0.2
extendedMaxVelocity -1 1
%

Thank you.

  • I meant detected points results only in range direction.

  • I realized that I also have a problem with the 2Tx (2Tx works properly in oob). Only if I use 3Tx I get azimuth resolution.


    In order to work with awr1843aop, I made the following changes before:

    C:\ti\mmwave_industrial_toolbox_4_12_0\labs\common\src\dpu\aoaproc\src\aoa2dprocdsp.c line 809:

        /*Arrange the complex output across virtual antennas in 2D grid based on 1843_AOP ES2 antenna placement*/
        /* Channels are arranged as (because the chirps are sent in this order: TX1, TX2 and TX3)
         *
         * 
         * ch-3   ch-2   ch-1   ch-0
         * ch-7   ch-6   ch-5   ch-4
         * ch-11  ch-10  ch-9   ch-8
         * 
         */
        doa_2D->DOA_2D_storage[0][0]= temp_rearrange[3];
        doa_2D->DOA_2D_storage[0][1]= temp_rearrange[2];
        doa_2D->DOA_2D_storage[0][2]= temp_rearrange[1];
        doa_2D->DOA_2D_storage[0][3]= temp_rearrange[0];
        
        doa_2D->DOA_2D_storage[1][0]= temp_rearrange[7];
        doa_2D->DOA_2D_storage[1][1]= temp_rearrange[6];
        doa_2D->DOA_2D_storage[1][2]= temp_rearrange[5];
        doa_2D->DOA_2D_storage[1][3]= temp_rearrange[4];
    
        doa_2D->DOA_2D_storage[2][0]= temp_rearrange[11];
        doa_2D->DOA_2D_storage[2][1]= temp_rearrange[10];
        doa_2D->DOA_2D_storage[2][2]= temp_rearrange[9];
        doa_2D->DOA_2D_storage[2][3]= temp_rearrange[8];
    
        doa_2D->DOA_2D_storage[3][0]= cmplx_zero;
        doa_2D->DOA_2D_storage[3][1]= cmplx_zero;
        doa_2D->DOA_2D_storage[3][2]= cmplx_zero;
        doa_2D->DOA_2D_storage[3][3]= cmplx_zero;

    Can these changes cause this problem?

    I need dsp version of the aoa2d for 1843aop, please.

  • Hi Faruk,

    Can you please confirm that you are using the OOB demo for the AWR1843AOP without any modifications?

    Regards,

    Kaushik

  • Yes there is no modification in oob and obb demo works well. But oob demo use this,

    		<!-- Device specific Configuration -->
            <configuration name="aop"  
            compilerBuildOptions="
            -DUSE_2D_AOA_DPU
            -DXWR18XX_AOP_ANTENNA_PATTERN"
            linkerBuildOptions="
            -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/datapath/dpc/dpu/aoa2dproc/lib 		
            -llibaoa2dproc_hwa_xwr68xx.ae674
            "/>   	

    Do you think it makes sense to use the aoa2d_6843_hwa proc for 1843aop?

    I need dsp version of the aoa2d and the library says "virtual antenna pattern define is needed with AOA_TYPE_2D" so I made those modifications for our demo, not for oob.

  • When I use aoaproc_dsp instead of aoa2dproc_dsp this makes the sensor works with 4Rx/1Tx and 4Rx/2Tx configurations. 

  • This solved the issue but not answering my question. If I want to work with 1843aop and tracker algorithm with it, what AoA dpu should I use?Thinking

  • Hi Faruk,

     I would like for you to answer the following questions:

    • Are you using "C:\ti\mmwave_industrial_toolbox_4_12_0\labs\common\src\dpu\aoaproc\src\aoa2dprocdsp.c" for the OOB demo or some application in the industrial toolbox?
    • When you are using the visualizer to observe your output, can you confirm what the exact problem is (Empty plots, incorrect points, ...)? I didn't quite get what you mean by detections in range direction only.
    • Is it possible to send a csv of the point cloud you are getting after your changes from the visualizer?

    Regards,

    Kaushik

  • Hi, 

    • I rebuilt the "C:\ti\mmwave_industrial_toolbox_4_12_0\labs\common\src\dpu\aoaproc\src\aoa2dprocdsp.c" for 1843aop device and used the binary for my demo (it includes same process chains of the area scanner).
    • I am using area scanner visuliazer. When I use 2Tx/4Rx or 1Tx/4Rx configurations, dynamic points in the point clouds do not have a resolution on the azimuth angle (all points are stacked on the line of the axis which same direction as the range).  
      when I switched to the "libaoaproc_dsp_xwr18xx.ae674" from the "libaoa2dproc_dsp_aop_xwr18xx.ae674" of the prebuild binaries, my problem was resolved.
    • I don't have a csv file.

    Why OoB demo uses "libaoa2dproc_hwa_xwr68xx.ae674"? Is this normal or a mistake?

    I need to use dsp version of the dpu, which one I can use?

  • Hi,

    If you are using 1Tx, than you should not use aoa2d because the aoa2d is used when there is azimuth and elevation. With 1 Tx there is no elevation information.

    Thank you

    Cesar

  • Hi 

    I did not get an answer to my question. I am also using 2Tx/4Rx and 3Tx/4Rx configurations. And you don't have a prebuild aoa library for the awr1843aop.

    I edited aoa2d for 1843aop and it works for only 3Tx/4Rx configurations. 

    So I switched it with aoa library but it's not working well, detected points output is mirrored. 

    I want to use advanced frame config which includes 2D and 3D frames. And I don't know which aoa should I use. 

    say nothing like "did you try to use the Out of Box demo?" I said you there is a problem with that demo, too.

  • Hi,

    The mmWave SDK demo uses following aoa2d

    C:\ti\mmwave_sdk_03_05_00_04\packages\ti\datapath\dpc\dpu\aoa2dproc\lib\libaoa2dproc_hwa_xwr18xx.ae674

    This can be seen in the makefile

    C:\ti\mmwave_sdk_03_05_00_04\packages\ti\demo\xwr18xx\mmw\dss\mmw_dss.mak

    ifeq ($(MMWAVE_SDK_LIB_BUILD_OPTION),AOP)
    DSS_MMW_DEMO_STD_LIBS += -llibaoa2dproc_hwa_$(MMWAVE_SDK_DEVICE_TYPE).$(C674_LIB_EXT)
    else
    DSS_MMW_DEMO_STD_LIBS += -llibaoaproc_hwa_$(MMWAVE_SDK_DEVICE_TYPE).$(C674_LIB_EXT)
    endif

    This was tested only with 3Tx/4Rx. It is possible that this does not support 1Tx and 2Tx.

    The dsp aoa was not tested with AWR1843AOP

    This may not answer your question, but I hope we are making progress in the right direction

    Thank you

    Cesar