cancel
Showing results for 
Search instead for 
Did you mean: 

how to generate software reset in SPC 56D40?

Bpara
Associate

0690X000008BSyYQAW.png

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
Erwan YVIN
ST Employee

Hello bhargaviparalikar,

Use ME register to generate a software reset

  /* Starts a transition process.*/
  ME.MCTL.R = SPC5_ME_MCTL_MODE(0) | SPC5_ME_MCTL_KEY;
  ME.MCTL.R = SPC5_ME_MCTL_MODE(0) | SPC5_ME_MCTL_KEY_INV;

Best regards

Erwan

View solution in original post

2 REPLIES 2
Erwan YVIN
ST Employee

Hello bhargaviparalikar,

Use ME register to generate a software reset

  /* Starts a transition process.*/
  ME.MCTL.R = SPC5_ME_MCTL_MODE(0) | SPC5_ME_MCTL_KEY;
  ME.MCTL.R = SPC5_ME_MCTL_MODE(0) | SPC5_ME_MCTL_KEY_INV;

Best regards

Erwan

hey Erwan, when i try this; mcu is going reset but not starting again. i tried with 0x0000(reset) and 0x1111(destructive’ reset).

should i off something manually before reset?