Hello Champs!!!
I am stuck in an issue.
I have followed the mmwave_sdk_03_05_00_04\packages\ti\control\mmwavelink\test for GPADC configuration. But have encountered a problem.
int32_t MmwaveLink_setGpAdcConfig (void)
{
int32_t retVal;
/* Set GPADC configuration */
retVal = rlSetGpAdcConfig(RL_DEVICE_MAP_INTERNAL_BSS, (rlGpAdcCfg_t*)&gpAdcCfg);
/* Check for mmWaveLink API call status */
if(retVal != 0)
{
/* Error: Link reported an issue. */
SBL_printf("Error: rlSetGpAdcConfig retVal=%d\n", retVal); <------ I am getting retVal value here as 5
return -1;
}
SBL_printf("Debug: Finished rlSetGpAdcConfig\n");
while(isGetGpAdcMeasData == 0U)
{
/* Sleep and poll again: */
Task_sleep(1);
}
return 0;
}
Could someone tell me, what could be the issue here?
and suggest some solutions to it?
Thanks in advance.