Skip to main content
ZhangXR
Associate II
December 3, 2020
Solved

How does THE SPC560 MCU achieve software reset

  • December 3, 2020
  • 3 replies
  • 1257 views

How does THE SPC560 MCU achieve software reset, I can't find a register that the software can reset.

    This topic has been closed for replies.
    Best answer by AndreasPA

    I think page 185 in RM0045 might help you out

    3 replies

    AndreasPA
    AndreasPABest answer
    Associate III
    December 10, 2020

    I think page 185 in RM0045 might help you out

    Erwan YVIN
    ST Technical Moderator
    December 17, 2020
    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.
    Giuseppe DI-GIORE
    ST Employee
    January 11, 2021

    Hello,

    SPC5Studio provides a function SPCSetRunMode(uint8_t mode)

    which, if called with mode = 0 (zero) generates a software reset.

    See file clock.c under Clock component directory.

    See also: Table 59. Mode Control Register (ME_MCTL) Field Descriptions

    in Reference Manual RM0045

    Regards,

    Giuseppe