AnsweredAssumed Answered

Error return while TX_QEC_INIT enable at initCalMask

Question asked by LCChu on Jan 24, 2018
Latest reply on Feb 2, 2018 by gverma

Hi ADI experts,

Im running no-OS codes(version: mykonos_api_source_1.5.1.3565) and encounters error in init calibration stage.

I have narrow down that once add TX_QEC_INIT into calibration mask, there's always error return at MYKONOS_waitInitCals()

   => return value is MYKONOS_ERR_WAIT_INITCALS_ARMERROR, but errorFlag=0 & errorCode=0

   => go more detail in function MYKONOS_waitInitCals(), found cmdStatusByte =1.

 

I try to set ObsRx path to internal with following, but seems no improvement.

If possible, is there any other way you could provide to dig out this problem? appreciate.

 

/*sample code below**************/

MYKONOS_radioOn(&mykDevice);
CMB_wait_ms(1000);
/*** < Info: Allow TxQEC to run when User: is not actively using ORx receive path > ***/
if ((mykError = MYKONOS_setObsRxPathSource(&mykDevice, OBS_RXOFF)) != MYKONOS_ERR_OK)
{
/*** < Info: errorString will contain log error string in order to debug failure > ***/
//errorString = getMykonosErrorMessage(mykError);
}
if ((mykError = MYKONOS_setObsRxPathSource(&mykDevice, OBS_INTERNALCALS)) != MYKONOS_ERR_OK)
{
/*** < Info: errorString will contain log error string in order to debug failure > ***/
//errorString = getMykonosErrorMessage(mykError);
}

MYKONOS_radioOff(&mykDevice);
CMB_wait_ms(1000);
if ((mykError = MYKONOS_runInitCals(&mykDevice, TX_QEC_INIT)) != MYKONOS_ERR_OK)
{
/*** < Info: errorString will contain log error string in order to debug failure > ***/
printf("Error=%s\n", getMykonosErrorMessage(mykError));
}
MYKONOS_getRadioState(&mykDevice, &radioStatus);

if ((mykError = MYKONOS_waitInitCals(&mykDevice, 60000, &errorFlag, &errorCode)) != MYKONOS_ERR_OK)
{
/*** < Info: errorString will contain log error string in order to debug failure > ***/
printf("Error=%s\n", getMykonosErrorMessage(mykError));
}

Outcomes