Other Parts Discussed in Thread: AWR2243,
Hello,
I was starting to update the AM2732+AWR2243 demo to AM2732+2xAWR2243 (cascading Board TIDA020047). I have updated the folowing functions and define in the DSS part to support this new configuration (CSI, DMA,
HWA ) :
1. CSI RX configs PING/PONG CSIRX_contextSetConfig
/* CSI 1. */
gConfigCsirx0ContextConfig[MMW_DEMO_CSI2_CONTEXT].pingPongConfig.pingAddress = CSL_DSS_HWA_DMA0_RAM_BANK0_BASE;
gConfigCsirx0ContextConfig[MMW_DEMO_CSI2_CONTEXT].pingPongConfig.pongAddress = CSL_DSS_HWA_DMA0_RAM_BANK1_BASE;
/* CSI 2. */
gConfigCsirx1ContextConfig[MMW_DEMO_CSI2_CONTEXT].pingPongConfig.pingAddress = CSL_DSS_HWA_DMA0_RAM_BANK0_BASE + (nomberOfSample*4(nbrRXForOneAWR2243)*4) ;
gConfigCsirx1ContextConfig[MMW_DEMO_CSI2_CONTEXT].pingPongConfig.pongAddress = CSL_DSS_HWA_DMA0_RAM_BANK1_BASE + (nomberOfSample*4(nbrRXForOneAWR2243)*4) ;
2. we used DMA configuration like the configuration for 3 Antennas :"DPC_ObjDet_rangeConfig"
3. HWA configuration function "rangeProcHWA_ConfigEDMA_DataOut_nonInterleave" :
/**************************************************************************
* Configure EDMA to copy HWA results to radar cube
* For cases with 3 TX Antenna
*************************************************************************/
DPEDMA_syncACfg syncACfg;
uint32_t numSamplePerChirp;
uint32_t numBytesPerChirp;
uint32_t destAddr[2][3];
uint8_t index;
bool lastChan = false;
numSamplePerChirp = DPParams->numRangeBins *DPParams->numRxAntennas;
numBytesPerChirp = numSamplePerChirp * sizeof(uint32_t);
destAddr[0][0] = (uint32_t)rangeProcObj->radarCubebuf;
destAddr[0][1] = (uint32_t)(rangeProcObj->radarCubebuf + 2 * numSamplePerTx);
destAddr[0][2] = (uint32_t)(rangeProcObj->radarCubebuf + 4 * numSamplePerTx);
destAddr[1][0] = (uint32_t)(rangeProcObj->radarCubebuf + numSamplePerTx);
destAddr[1][1] = (uint32_t)(rangeProcObj->radarCubebuf + 3 * numSamplePerTx);
destAddr[1][2] = (uint32_t)(rangeProcObj->radarCubebuf + 5 * numSamplePerTx);
==> By modifying these functions i have got the same logs as below. Do I need to figure out other functions ?