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: TMS320F28377S

Part Number: TMS320F28377S
Other Parts Discussed in Thread: CONTROLSUITE

Tool/software: Code Composer Studio

Hi.. i am using TMS320F28377S Launch XL board. I have taken the led blink file from the control suite and copied it to the seperate project, i have also copied all the header files to the new created project and linked them through the created project path. Everything is working fine the program is successfully launched in the board but when i run this program it gets stuck to while(ClkCfgRegs.SYSPLLSTS.bit.LOCKS != 1) in the initsyspll function inside the  sysctrl.c file. Please suggest me the way how can i come out of this issue.

thank you

  • Hi Atul,

    Look like some project configuration settings are not correct. Did you try running the project by importing it directly from controlSUITE ?

    Regards,

    Vivek Singh

  • Hi VIvek,

    I am running the program by importing it from the control suite all the settings are perfectly fine and i am also able to compile and load it to the launch XL board but it gets stuck to while(ClkCfgRegs.SYSPLLSTS.bit.LOCKS != 1) in the initsyspll function inside the sysctrl.c file.

    Regards,

    Atul Sharma
  • Hi Vivek,

    While running the program from the control suite it is going in InitSysCtrl() function and it is disabling the watchdog and after disabling the watchdog it is again coming back and checking the condition #ifdef _FLASH and enterinf iside this if loop and servicing memcpy(&RamfuncsRunStart, &RamfuncsLoadStart, (size_t)&RamfuncsLoadSize) function while in our case we have made a seperate project and in that the program starts executing from the InitSysCtrl() function and it is disabling the watchdog and after disabling the watchdog it is again coming back but in place of checking the #ifdef _FLASH it is bypassing it and going to directly serve GPIO_EnableUnbondedIOPullups() function and after doing all further operation it is get stuck to while(ClkCfgRegs.SYSPLLSTS.bit.LOCKS != 1) in the initsyspll function inside the sysctrl.c file. Please suggest me how to solve this issue.

    Regards,

    Atul Sharma
  • Atul,

    If you are running the code from external OSC, it could be possible that it is not supplying the clock. Is it possible for you to check this on board ?

    Regards,

    Vivek Singh

  • Were you able to check the clock on board and clock setting?
  • Closing the post assuming issue is resolved. If not then please re-open this post with further update or start a new post.