Tool/software:
Hello Guys,
i need your help, it took me a long long time
i had a cunstom board
1 the Init_PLL() code in GEL file is the same
/* part of 8, go stat bit needs to be zero here */
/* Read the GOSTAT bit in PLLSTAT to make sure the bit returns to 0 to *
* indicate that the GO operation has completed */
/* wait for the GOSTAT, but don't trap if lock is never read */
for (i = 0; i < 1000; i++)
{
if ( (PLL1_STAT & 0x00000001) == 0 ) {
break;
}
}
if ( i == 1000 ) {
GEL_TextOut ( "Error while waiting for GOSTAT bit returning to 0 ... \n");
return(-1);
}
---------we are wrong here , PLL1_STAT is 5
2 . sysclkout is about 16.8M Hz
is the board's hardware ok?
what's wrong
thanks , i need your suggestion