2015-01-04 09:49 AM
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 help2015-01-05 01:32 AM
Hello Vanima ,
It is a a clock issue ;)PLL Settings IDF should be set to 2ndiv 48ODF Value DIV8the 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 Erwan2015-01-07 04:55 AM
Hello erwan
thanks for your help yes i finaly understand how can i set pll and clock in SPC-studio Best regards vanima