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.

AWR2243BOOST: Transmitter connection issue in mmwaveconfig.txt of AWR2243 with DCA1000

Part Number: AWR2243BOOST
Other Parts Discussed in Thread: AWR2243

Hello E2E,

Please help our customer with the mmwave configuration, see the full details of the query below:

I'm working with the TI AWR2243Boost and the DCA1000 for capturing the raw data using the mmwaveconfig.txt configurations. I'm able to doing some measurements by using 1TX and 4TX. I wanted to measure with 2TX and here's my problem. I'm changing the mmwaveconfig.txt accordingly to use 2TX but cannot set the boards up to use two transmitters. 

My mmwaveconfig.txt:

#
#For detailed view of mmWave Radar configuration structure
#please refer
#ti\control\mmwavelink\docs\doxygen\html\index.html
#

#
#Global configuration
#Advanced frame test enable/disable; 1 - Advanced frame; 0 - Legacy frame
#Continuous mode test enable/disable; 1 - Enable; 0 - Disable
#Dynamic chirp test enable/disable; 1 - Enable; 0 - Disable; This should not be enabled if Advanced chirp test is enabled
#Dynamic profile test enable/disable; 1 - Enable; 0 - Disable
#Advanced chirp test enable/disable; 1 - Enable; 0 - Disable; The legacy chirp API is not required if this is enabled
#Firmware download enable/disable; 1 - Enable; 0 - Disable
#Flash present/absent; 1 - Present; 0 - Absent
#Calibration enable/disable; To perform calibration store/restore; 1 - Enable; 0 - Disable
#Calibration Store/Restore; If CalibEnable = 1, then whether to store/restore; 1 - Store; 0 - Restore
#Transport mode; 1 - I2C; 0 - SPI
#
LinkAdvanceFrameTest=0;
LinkContModeTest=0;
LinkAdvChirpTest=0;
EnableFwDownload=1;
IsFlashConnected=1;
CalibEnable=0;
CalibStoreRestore=1;
TransferMode=0;
#END

#
#power on master arguments, please modify if needed.
#rlClientCbs_t: crcType 0:16Bit/1:32Bit/2:64Bit,
# ackTimeout: This timeout value can vary on different PC, user needs to recalibrate
#  this value based on the system where this application runs. Ideally ackTimeout
#  should be in range of ~5mSec
#
crcType=1;
ackTimeout=50000;
#END

#
#channel config parameters, please modify if needed.
#rlChanCfg_t
#
channelTx=3;
channelRx=15;
cascading=0;
#END

#
#ADC out config parameters, please modify if needed.
#rlAdcOutCfg_t
#
adcBits=2;
adcFormat=0; ##############################################################################################
#END

#
#DATA format config parameters, please modify if needed.
#rlDevDataFmtCfg_t
#
rxChanEn=15;
adcBitsD=2;
adcFmt=0;
iqSwapSel=0;
chInterleave=0;
#END

#
#Low power config Paramters, please modify if needed.
#rlLowPowerModeCfg_t
#
anaCfg=0;
lpAdcMode=0;
#END

#
#Data Path config parameters, please modify if needed
#rlDevDataPathCfg_t
#
intfSel=1;
transferFmtPkt0=1;
transferFmtPkt1=0;
cqConfig=2;
cq0TransSize=132;
cq1TransSize=132;
cq2TransSize=72;
#END

#
#LVDS clock config parameters, please modify if needed
#rlDevDataPathClkCfg_t
#
laneClk=1;
dataRate=1;
#END

#
#SET HSI clock parameters, please modify if needed.
#rlDevHsiClk_t
#
hsiClk=9
#END

#
#LANE config parameters, please modify if needed.
#rlDevLaneEnable_t
#
laneEn=15; ################################################################################
#laneEn=3;
#END

#
#LVDS Lane Config parameters, please modify if needed.
#rlDevLvdsLaneCfg_t
#
laneFmtMap=0;
laneParamCfg=1;
#END

#
#Programmable Filter config parameters, please modify if needed.
#rlRfProgFiltConf_t
#
profileId=0;
coeffStartIdx=0;
progFiltLen=14;
progFiltFreqShift=100;
#END
#
#Profile config parameters, please modify if needed.
#rlProfileCfg_t
#
profileId=0;
startFreqConst=1435388860;
idleTimeConst=10000;
adcStartTimeConst=600;
rampEndTime=6000;
txOutPowerBackoffCode=0;
txPhaseShifter=0;
freqSlopeConst=621;
txStartTime=0;
numAdcSamples=512;
digOutSampleRate=10000;
hpfCornerFreq1=0;
hpfCornerFreq2=0;
rxGain=30;
#END

#
#Chirp #1 Configuration parameters, please modify if needed.
#rlChirpCfg_t
# txEnable = {b0 (ant0), b1 (ant1), b2 (ant2)}
# numOfChirpsToConfig = the number of defined chirp configs.
#
numOfChirpsToConfig=2;
chirpStartIdx=0;
chirpEndIdx=0;
profileIdCPCFG=0;
startFreqVar=0;
freqSlopeVar=0;
idleTimeVar=0;
adcStartTimeVar=0;
txEnable=1;
#END

chirpStartIdx=1;
chirpEndIdx=1;
profileIdCPCFG=0;
startFreqVar=0;
freqSlopeVar=0;
idleTimeVar=0;
adcStartTimeVar=0;
txEnable=2;
#END

#
#Frame configuration parameters, please modify if needed.
#rlFrameCfg_t
#
chirpStartIdxFCF=0;
chirpEndIdxFCF=0;
frameCount=0;
loopCount=128;
periodicity=8000000;
triggerDelay=0;
numAdcSamples=512;
triggerSelect=1;
#END

 

This leads finally to the error while setting the boards up:

Got [2] chirpConfigs to read
Calling rlSetChirpConfig with 
ProfileId[0]
Start Idx[0]
End Idx[0] 
 txEnable[1]
startFreqVar [0] 
 idletimeVar[0] 
 freqSlopeVar [0]  
 adcstarttime [0]

Calling rlSetChirpConfig with 
ProfileId[0]
Start Idx[1]
End Idx[1] 
 txEnable[2]
startFreqVar [0] 
 idletimeVar[0] 
 freqSlopeVar [0]  
 adcstarttime [0]

Got rlgetChirpConfig with 
ProfileId[0]
Start Idx[0]
End Idx[0] 
 txEnable[1]
startFreqVar [0] 
 idletimeVar[0] 
 freqSlopeVar [0]  
 adcstarttime [0] 

Got rlgetChirpConfig with 
ProfileId[0]
Start Idx[0]
End Idx[0] 
 txEnable[0]
startFreqVar [0] 
 idletimeVar[0] 
 freqSlopeVar [0]  
 adcstarttime [0] 

*** Failed - Parameters are mismatched GetChirpConfig compare to rlSetChirpConfig *** [1] 
Chirp Configuration success for deviceMap 1 

Obviously it is possible to read the two chirp configurations with TX0 = 1 and TX1 = 2 but it's not possible to set the second TX1 = 2 configuration under the "txEnable[]" statement. 

I visited a huge number of forums and unfortunately cannot find any solution to my problem. I attached also a picture of my hardware. I hope you can help me to fix the issue

PS2: Attached full output:

================= mmWaveLink Example Application ====================

====================== SPI Mode of Operation ======================

AR-DevPack-EVM-012 A
AR-DevPack-EVM-012 B
AR-DevPack-EVM-012 C
AR-DevPack-EVM-012 D
Device map 1 : SOP 4 mode successful

Device map 1 : Device reset successful

rlDeviceEnable Callback is called by mmWaveLink for Device Index [0]

MSS CPU Fault

mmWave Device Power on success for deviceMap 1 

========================== Firmware Download ==========================

Meta Image download started for deviceMap 1

Download in Progress: 0%..10%..20%..30%..40%..50%..60%..70%..80%..90%..Done!

Meta Image download complete ret = 0

Firmware update successful for deviceMap 1 

=====================================================================

MSS ESM Error 

CRC Type set for MasterSS success for deviceMap 1 

RF Version [ 2. 2. 0.13] 
MSS version [ 2. 2. 1. 7] 
mmWaveLink version [ 2. 2. 0. 2]

RF Patch Version [ 0. 0. 0. 0] 
MSS Patch version [71.11.14.10]

Lot Number [3730844] 
Wafer Number [23] 
Die Coordinates in Wafer ([37], [4]) 

Radar/RF subsystem Power up successful for deviceMap 1 

======================Basic/Static Configuration======================

Calling rlSetChannelConfig With [15]Rx and [7]Tx Channel Enabled 

Channel Configuration success for deviceMap 1

Calling rlSetAdcOutConfig With [2]ADC Bits and [0]ADC Format 

AdcOut Configuration success for deviceMap 1

Calling rlRfSetLdoBypassConfig With Bypass [0] 

LDO Bypass Configuration success for deviceMap 1

Data format Configuration success for deviceMap 1

Low Power Configuration success for deviceMap 1 

AsyncEvent Configuration success for deviceMap 1 

Basic/Static configuration success for deviceMap 1 

Async event: RF-init calibration status 

RF Initialization/Calibration successful for deviceMap 1 

==================Programmable Filter Configuration==================

Calling rlRfSetProgFiltConfig with 
coeffStartIdx[0]
progFiltLen[14] GHz
progFiltFreqShift[100] MHz/uS 

Programmable Filter Configuration success for deviceMap 1 

Calling rlRfSetProgFiltCoeffRam with 
coeffArray0[-876]
coeffArray1[-272] GHz
coeffArray2[1826] MHz/uS 

Programmable Filter coefficient RAM Configuration success for deviceMap 1 

======================FMCW Configuration======================

Calling rlSetProfileConfig with 
ProfileId[0]
Start Frequency[77.000259] GHz
Ramp Slope[29.981732] MHz/uS 
PulseLength: [29.981732] 

Got rlSetProfileConfig with 
ProfileId[0]
Start Frequency[77.000259] GHz
Ramp Slope[29.981732] MHz/uS 

Profile Configuration success for deviceMap 1 

Got [2] chirpConfigs to read
Calling rlSetChirpConfig with 
ProfileId[0]
Start Idx[0]
End Idx[0] 
 txEnable[1]
startFreqVar [0] 
 idletimeVar[0] 
 freqSlopeVar [0]  
 adcstarttime [0]

Calling rlSetChirpConfig with 
ProfileId[0]
Start Idx[1]
End Idx[1] 
 txEnable[2]
startFreqVar [0] 
 idletimeVar[0] 
 freqSlopeVar [0]  
 adcstarttime [0]

Got rlgetChirpConfig with 
ProfileId[0]
Start Idx[0]
End Idx[0] 
 txEnable[1]
startFreqVar [0] 
 idletimeVar[0] 
 freqSlopeVar [0]  
 adcstarttime [0] 

Got rlgetChirpConfig with 
ProfileId[0]
Start Idx[0]
End Idx[0] 
 txEnable[0]
startFreqVar [0] 
 idletimeVar[0] 
 freqSlopeVar [0]  
 adcstarttime [0] 

*** Failed - Parameters are mismatched GetChirpConfig compare to rlSetChirpConfig *** [1] 
Chirp Configuration success for deviceMap 1 

==================Data Path(LVDS/CSI2) Configuration==================

Calling rlDeviceSetDataPathConfig with HSI Interface[1] Selected 

Data Path Configuration successful for deviceMap 1 

Calling rlDeviceSetDataPathClkConfig with HSI Data Rate[1] Selected 

MMWL_hsiDataRateConfig success for deviceMap 1

Calling rlDeviceSetHsiClk with HSI Clock[9] 

MMWL_setHsiClock success for deviceMap 1

CSI2/LVDS Clock Configuration success for deviceMap 1 

LaneConfig success for deviceMap 1

LvdsLaneConfig success for deviceMap 1

CSI2/LVDS Lane Configuration success for deviceMap 1 

======================================================================

Calling rlSetFrameConfig with 
Start Idx[0]
End Idx[0]
Loops[128]
Periodicity[40]ms 

GotFrameConfig with 
Start Idx[0]
End Idx[0]
Loops[128]
Periodicity[40]ms 

Frame Configuration success for deviceMap 1 

======================================================================

Async event: Frame trigger 

Sensor Start successful for deviceMap 1 

======================================================================

=========== mmWaveLink Example Application execution Successful =========== 


Thank you in advance.

Regards,
Carlo

  • Hi,

    Do you want to enable 2TX at the same time or 2TX in MIMO fashion?

    Thank you

    Cesar

  • Hello Cesar,

    Our customer would like to enable 2TX MIMO mode to obtain with the 4RX a higher angular resolution resulting in 8 virtual antennas.

    Regards,
    Carlo

  • Hello Cesar,

    The customer has another update as follows: Meanwhile, I tried to understand why it doesn't work. I think that maybe my mmw_config or mmw_example is somehow wrong and prevents the 2TX MIMO configuration somehow, but I'm not sure. Maybe you can share it with the experts, that they have a look at that if this helps.

    PS: I got these files from openradarinitiative which provided the Linux solution for the awr2243 with dca1000. And everything is working as expected only this 2TX MIMO mode is not working.

    Regards,
    Carlo

  • Hi,

    Please review this example which uses 2 Tx

    C:\ti\mmwave_dfp_02_02_02_01\ti\example\mmWaveLink_SingleChip_Example

    Our support team can provide support for this example.

    For the examples provided on openradarinitiative please work with the openradarinitiative community for supporting the examples

    thank you

    Cesar