Skip to main content
PChia.2237
Senior
September 13, 2021
Solved

Reset code SPC5

  • September 13, 2021
  • 4 replies
  • 1288 views

Hi,

i can't find the reboot code the spc5 core.

I mean the equivalent code for SPC5 of STM32 HAL_NVIC_SystemReset();

Thank you

    This topic has been closed for replies.
    Best answer by Erwan YVIN

    Hello ,

    May you can try this software code :

    https://community.st.com/s/question/0D50X0000Ant5kTSQQ/how-to-generate-software-reset-in-spc-56d40

    Best Regards

    Erwan

    4 replies

    Javier1
    Principal
    September 13, 2021

    try NVIC_SystemReset()

    Or just use a watchdog isntead (https://stackoverflow.com/questions/25121107/nvic-systemreset-not-working-for-stm32f4)

    hit me up in https://www.linkedin.com/in/javiermuñoz/
    PChia.2237
    Senior
    September 13, 2021

     NVIC_SystemReset() is for STM32. Not works in SPC5.

    I have a look on SWT, but still not found the code for reset.

    Erwan YVIN
    ST Employee
    September 13, 2021

    Hello Pchia ,

    you can check the boot.s and crt0.s in VLE Assembler in some Test application.

    Best Regards

    Erwan

    PChia.2237
    Senior
    October 1, 2021

    At the and i have used SWT0 to MCU restart

    Erwan YVIN
    Erwan YVINBest answer
    ST Employee
    October 1, 2021