Hi Everyone
i am making bios based project for F28377D but my code is hanging at the following line of F2837xD_sysCtrl.c
while(ClkCfgRegs.SYSPLLSTS.bit.LOCKS != 1)
{
// Uncomment to service the watchdog
// ServiceDog();
}
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Everyone
i am making bios based project for F28377D but my code is hanging at the following line of F2837xD_sysCtrl.c
while(ClkCfgRegs.SYSPLLSTS.bit.LOCKS != 1)
{
// Uncomment to service the watchdog
// ServiceDog();
}
Hi,
You are using internal OSC or external OSC in this case? Also what is your PLL settings?
Regard,
Vivek Singh
Im using the Control Card,So what should be the Sys PLL functions parameter in F28377D_sysctrl.c
currently it is
InitSysPll(XTAL_OSC,IMULT_20,FMULT_1,PLLCLK_BY_2); //PLLSYSCLK = 10Mhz(OSCCLK) * 40 (IMULT) * 1 (FMULT) / 2 (PLLCLK_BY_2)
where
XTAL_OSC = 1
IMULT = 20
PLLCLK = 1
where at my BIOS settings and the settings are
Input Clock = 20
PLL Multiplier = 20
Sys Clock Div = 1
Hi Rahim,
In subject line you mention issue with Auxillary clock but the function you are using is for System PLL. Which PLL you are enabling?
Assuming issue is with system PLL, instead of using XTAL_OSC if you use INT_OSC2, does it work fine?
Regards,
Vivek Singh