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.

TMS320F280049: Block at InitSysCtrl() function during porting sunspec to F280049

Part Number: TMS320F280049

Hi

It's always blocking at InitSysCtrl() when we porting sunspec project to TMS320F280049 according to 

http://www.ti.com/lit/an/sprac94c/sprac94c.pdf

Where should I take attention on crystal HW and setting when porting it from F28379D to F20049? Thanks.

  • Hi Daniel,

    Are you porting to the F28004x LaunchPad?

    While debugging where does it get stuck within InitSysCtrl() if you were to pause the program execution? Is it stuck within the while loop you provided?

    Best,
    Kevin
  • Hi Daniel,

    Could you look at how you're configuring InitSysPll() within f28004x_sysctrl.c for me? Are you using the internal or external oscillator?

    Assuming you're using the LaunchPad try configuring the  the external oscillator with the below if not already:

        //
        // PLLSYSCLK = (XTAL_OSC) * (IMULT + FMULT) / (PLLSYSCLKDIV)
        //
        InitSysPll(XTAL_OSC,IMULT_10,FMULT_0,PLLCLK_BY_2);

    Best,

    Kevin

  • Hi Kevin,

    Many thanks for your suggestion.

    It works now.