AWR2243-2X-CAS-EVM: Convert DDM to TDM

Part Number: AWR2243-2X-CAS-EVM

Tool/software:

Hello team,

I am using the AWR2243-2x-CAS-EVM board for my project. For board bring-up, we used the mmwave_2_chip_cascade code available in (radar_toolbox_3_20_00_04\source\ti\examples\Automotive_ADAS_and_Parking), and we verified it using the mmwave_2_chip_cascade_visualizer MATLAB script from the (radar_toolbox_3_20_00_04\tools\visualizers) folder. It is working fine.

However, I found that the mmwave_2_chip_cascade code is designed for DDM mode, while I want to use TDM mode. Could you please let me know the steps required to convert it to TDM mode, or if there is any other TDM demo code available for the AWR2243-2x-CAS-EVM?

Regard's,

Miit Prajapati

.

  • Hi Miit Prajapati,

    Whole processing chain needs to be updated if you want to implement TDM based demo. There is no demo available for 2 chip cascade TDM configuration. May I know the reason behind using TDM instead of DDM configuration?

    Regards,

    Samhitha

  • Hello samhitha,

    Thanks for replaying.

    1. The reason is that I want to enable some functionalities that are only available in TDM mode, such as 

          a. Static clutter removal

          b. cfarFovCfg (range and Doppler)

    2. I tried to change the processing chain by following the steps mentioned in the text file provided below.

         

    Bracket used below
    1. () - for single file.
    2. [] - for location.
    3. {} - for folder
    
    a. Make a changes in the predefined symbols from properties both (dss & mss)
    	- Change MMWDEMO_DDM to MMWDEMO_TDM.
    	- Firstly copy (mmw_resTDM.h) from [mmwave_mcuplus_sdk_04_04_01_02\mmwave_mcuplus_sdk_04_04_01_02\ti\demo\am273x\mmw] to [am273x_mmw_cascade_demo_dss\ti\demo\am273x\mmw]. Then Change  		 	APP_RESOURCE_FILE='<'ti/demo/am273x/mmw/mmw_resDDM.h'>' to APP_RESOURCE_FILE='<'ti/demo/am273x/mmw/mmw_resTDM.h'>'
    	
    
    b. Make a changes in both [am273x_mmw_cascade_demo_dss\ti\datapath\dpc\objectdetection] & [am273x_mmw_cascade_demo_Mss\ti\datapath\dpc\objectdetection].
    	- Delete {objdethwaDDMA} and add {objdethwa} from [mmwave_mcuplus_sdk_04_04_01_02\mmwave_mcuplus_sdk_04_04_01_02\ti\datapath\dpc\objectdetection] to the location mentioned above. 
    	   - {objdethwa} contents 
    		{include}->(objectdetectioninternal.h).
    		{src}->(objectdetection.c).
    		(objectdetection.h).
    
    C. Make a changes in both [am273x_mmw_cascade_demo_dss\ti\datapath\dpu] & [am273x_mmw_cascade_demo_Mss\ti\datapath\dpu].
    	- Delete {dopplerprocDDMA, rangeprocDDMA,} and add {aoaproc, cfarproc, dopplerproc} from [mmwave_mcuplus_sdk_04_04_01_02\mmwave_mcuplus_sdk_04_04_01_02\ti\datapath\dpu] to the location mentioned 		above.
    	   - {aoaproc} in dss contents.
    		{lib}->(libaoaproc_hwa_am273x.ae66)
    		(aoaproc_common.h).
    		(aoaprochwa.h).
    	   - {cfarproc} in dss contents
    		{lib}->(libcfarproc_hwa_am273x.ae66).
    		(cfarproccommon.h).
    		(cfarprochwa.h).
    	   - {dopplerproc} in dss contents
    		{lib}->(libdopplerproc_hwa_am273x.ae66).
    		(dopplerproccommon.h)
    		(dopplerprochwa.h).
    	   - {rangeproc} in dss contents
    		{lib}->(librangeproc_hwa_am273x.ae66).
    		(rangeproc_common.h).
    		(rangeprochwa.h).
    
    
    	   - {aoaproc} in mss contents.
    		{lib}->(libaoaproc_hwa_am273x.aer5f)
    		(aoaproc_common.h).
    		(aoaprochwa.h).
    	   - {cfarproc} in mss contents
    		{lib}->(libcfarproc_hwa_am273x.aer5f).
    		(cfarproccommon.h).
    		(cfarprochwa.h).
    	   - {dopplerproc} in mss contents
    		{lib}->(libdopplerproc_hwa_am273x.aer5f).
    		(dopplerproccommon.h)
    		(dopplerprochwa.h).
    	   - {rangeproc} in mss contents
    		{lib}->(librangeproc_hwa_am273x.aer5f).
    		(rangeproc_common.h).
    		(rangeprochwa.h).
    
    	I add all the dss lib file in dss properties -> C6000 linker-> File search path in include library and add path for the same in Add<dir> to library search path.
    
    
    

    After making all the changes, I built the code successfully without any errors. I also updated the CLI file as per the SDK documentation for TDM mode. The CLI file is mentioned below.

    Test_CLI.cfg

    I flashed the code to the board and used the above CLI, but there is no output from the board.

    Please check the steps I have followed. If they are not correct, could you guide me with the right steps? Also, if any document is available for the same, kindly share it with me.

    regards,

    Miit Prajapati.

  • Hi Miit,

    It is out of the scope of E2E to verify custom changes.

    I suggest you to add the logic that you are looking for in DDM chain instead of porting from DDM to TDM.

    Regards,

    Samhitha