cancel
Showing results for 
Search instead for 
Did you mean: 

How does THE SPC560 MCU achieve software reset

ZhangXR
Associate II

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

This discussion has been locked for participation. If you have a question, please start a new topic in order to ask your question
1 ACCEPTED SOLUTION

Accepted Solutions
AndreasPA
Associate III

I think page 185 in RM0045 might help you out

View solution in original post

3 REPLIES 3
AndreasPA
Associate III

I think page 185 in RM0045 might help you out

Giuseppe DI-GIORE
ST Employee

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