Part Number:TMS320C6678
Tool/software: Code Composer Studio
Hi TI engineer:
We use the keystone code to init the srio module. It usually works well.But one time in hundreds of test, the software will fail to pass the srio init.It will dead in the following loop:
void KeyStone_SRIO_GlobalEnable(void)
{
gp_srioRegs->RIO_GBL_EN = 1;
gp_srioRegs->BLOCK_ENABLE_STATUS[0].RIO_BLK_EN= 1; //MMR_EN
//wait for enable completion
while(0x3 != (gp_srioRegs->RIO_GBL_EN_STAT&0x3));
}
Could you tell us why?Thank you very much!
Regards
Yuchao