Tool/software: TI C/C++ Compiler
Hi,
My customer add below case branch code in the function MmwDemo_mboxReadProc, then found their software can work on CGT7.4.16 and 8.2.6, while cannot work on CGT8.1.3 and 8.3.4. Changed the switch-case to if-else then their SW can also work on CGT8.1.3 and 8.3.4. Attachment include their function c and asm code, can u try to analysis and any free comments is welcome, thanks.
https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/81/1261.code.7z
case MMWDEMO_MSS2DSS_ADCBUFCFG:
/* 配置ADC为连续波模式 */
if(1 == message.body.selfTest_En){
ADCBuf_close(gSrrDSSMCB.adcBufHandle);
/*****************************************************************************
* Open ADCBUF driver:
*****************************************************************************/
ADCBuf_Params_init(&adcBufParams);
adcBufParams.chirpThresholdPing = 1;
adcBufParams.chirpThresholdPong = 1;
adcBufParams.continousMode = 1;
/* Open ADCBUF driver */
gSrrDSSMCB.adcBufHandle = ADCBuf_open(0, &adcBufParams);
message.type = MMWDEMO_DSS2MSS_ADC_CONFIG_DONE;
message.body.selfTest_En = 1;
MmwDemo_mboxWrite(&message);
}
break;
Andy