Skip to main content
nooshin_1382
Associate III
January 4, 2015
Question

Problem in program and debug SPC560B54L5 Discovery

  • January 4, 2015
  • 2 replies
  • 641 views
Posted on January 04, 2015 at 18:49

Hello

I have a SPC560B54L5 Discovery board i have some Problems i'm begginer in SPC MCU:

first my SPC-STUDIO Have not this Discovery board but i choose SPC560BCxx Os less test applicaion

i complie the project and the project successfully build then i go to ude visual platform and program this MCU when i run the project but project does'nt work .

most of time the project break at here :

 /* Switches again to DRUN mode (current mode) in order to update the

     settings.*/

  if (halSPCSetRunMode(SPC5_RUNMODE_DRUN) == OSAL_FAILED) {

    SPC5_CLOCK_FAILURE_HOOK();

  }

#endif /* !SPC5_NO_INIT */

}

thanks for help

    This topic has been closed for replies.

    2 replies

    Erwan YVIN
    ST Technical Moderator
    January 5, 2015
    Posted on January 05, 2015 at 10:32

    Hello Vanima ,

    It is a a clock issue ;)

    PLL Settings IDF should be set to 2

    ndiv 48

    ODF Value DIV8

    the application SPC560BCxx Os less test application is dedicated for Minimodule & Motherboard HW.

    you have to take this application :

    SPC560Bxx OS-Less Test Application for Discovery

    Best regards

                  Erwan

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
    nooshin_1382
    Associate III
    January 7, 2015
    Posted on January 07, 2015 at 13:55

    Hello erwan

    thanks for your help

    yes i finaly understand how can i set pll and clock in SPC-studio

    Best regards

    vanima