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

How does THE SPC560 MCU achieve software reset

  • December 3, 2020
  • 3 replies
  • 1234 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

    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