cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in program and debug SPC560B54L5 Discovery

nooshin_1382
Associate II
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

2 REPLIES 2
Erwan YVIN
ST Employee
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

nooshin_1382
Associate II
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