Tool/software: TI-RTOS
Hi Sir
We used IWR6843 IC to customize our MB and followed EVM design. The SW version is listed as below.
- lab0015_pplcount_68xx
- mmwave_sdk_03_01_00_02
There are some ICs which cannot boot up successfully randomly and this phenomenon only happens in specific ICs.
After using GPIO trigger during booting, we found system halted in below section.
mmwave_sdk_03_01_00_02\packages\ti\control\mmwave\src\mmwave_link.c
mmave_init -> SOC_waitBSSPowerUp (gMMWave_MCB.initCfg.socHandle, &retVal) -> no return and cause system halted.
the root cause is that system is waiting until BSS powerup is done -> the value is not 0x7
//==================================================================//
ti\mmwave_sdk_03_01_00_02\packages\ti\drivers\soc\platform\soc_xwr68xx_mss.c
int32_t SOC_waitBSSPowerUp(SOC_Handle handle, int32_t* errCode)
{
SOC_DriverMCB* ptrSOCDriverMCB;
int32_t retVal = 0;
int32_t i = 0;
/* Get the pointer to the SOC Driver Block: */
ptrSOCDriverMCB = (SOC_DriverMCB*)handle;
if (ptrSOCDriverMCB == NULL)
{
*errCode = SOC_EINVAL;
retVal = MINUS_ONE;
}
else
{
/* Wait until BSS powerup is done */
while (CSL_FEXTR(ptrSOCDriverMCB->ptrTopRCMRegs->SPARE0, 18U, 16U) != 0x7)
{
}
}
return retVal;
}
//==================================================================//
Do you know why this issue happen ?
what is the register function of SPARE0 (offset = 0x0EC ) of TOPRCM ?
please advise
BR
Yimin