Skip to main content
LeoC
Associate II
Apr 10, 2020 12:39 PM UTC
Solved

SPC570Sxx Software Reset

Hi,

My setup:

  • SP570S-DISP Demo Board Evaluation
  • uC: SPC570S50E1
  • IDE: SPC5Studio 5.8.1

What is the simplest way to implement a reset via software?

Is there any SPC5 library function that perform software reset?

Thanks,

Regards

    This topic has been closed for replies.
    zambrano.luigi
    zambrano.luigiBest answer
    ST Employee
    Apr 22, 2020 2:42 PM UTC

    HI,

    the simple way to issue a functional reset is to invoke the following function:

    SPCSetRunMode(0x0);

    In attachment you can find an example based on SPC5Studio that show you how to issue a functional reset.

    Please, feel free to contact me for any other clarification.

    Regards,

    Luigi

    2 replies

    zambrano.luigi
    zambrano.luigiBest answer
    ST Employee
    Apr 22, 2020 2:42 PM UTC

    HI,

    the simple way to issue a functional reset is to invoke the following function:

    SPCSetRunMode(0x0);

    In attachment you can find an example based on SPC5Studio that show you how to issue a functional reset.

    Please, feel free to contact me for any other clarification.

    Regards,

    Luigi

    LeoC
    LeoCAuthor
    Associate II
    Apr 22, 2020 4:07 PM UTC

    Thanks for support!

    Leo