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

Reset code SPC5

  • September 13, 2021
  • 5 replies
  • 1339 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

    5 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 Technical Moderator
    September 13, 2021

    Hello Pchia ,

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

    Best Regards

    Erwan

    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.
    PChia.2237
    Senior
    October 1, 2021

    At the and i have used SWT0 to MCU restart

    Erwan YVIN
    Erwan YVINBest answer
    ST Technical Moderator
    October 1, 2021
    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.