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.

CCS/TMS320F28377S: InitSysPll code stuck

Part Number: TMS320F28377S
Other Parts Discussed in Thread: C2000WARE

Tool/software: Code Composer Studio

Hi all community,

I developed a flash kernel application for CAN module. I want to test my program. I used InitSysPll() routine in my main function. When I debug the code, code stuck at following line. I couldn't solve the problem. Why the problem can exist ? 

Thanks and Regards ! 

  • Hi,

    Does the initsyspll API work for you when you use one of the generic examples of c2000ware?

    Are you using a ti controlcard or evm to test the code ?

    Do you have a crystal on board? What frequency?

    Are you using xtal or into osc.?

    This would get stuck at the lock status check if the pll is unable to lock to the configured frequency.

    Please use the clocking and PLL setup section in the TRM to check how the values can be configured if it's not the example specific frequency.

    Regards.
  • Hi,

    I developed a can flash kernel application. I used InitSysCtrl function in my main function like a routine. But InitSysPll function is taken from c2000ware example codes. Also f2837xS_SysCtrl.c source file like that.

    I am using launchXL F28377s development kit. And I am testing code on this development kit.

    I didn't make any change on f2837xS_SysCtrl.c source file and InitSysPll function. Just I predefined the _LAUNCHXL_F28377S.
  • DO you see this issue in the example codes too ? Without any modification ?
    DO you see any of the SYSPLLSTS bits getting set?

    Can you make the InitSysPll(XTAL_OSC,IMULT_40,FMULT_0,PLLCLK_BY_2); use the INT OSC2 with updated parameters to check if the crystal is causing an issue ?

    Regards.
  • hi ,

    Any progress on the issue?

    Regards.