Skip to main content
Associate
January 24, 2025
Solved

NUCLEO-H755ZI-Q: Both CM4 and CM7 Resetting Due to WWDG (only configured to cm4)

  • January 24, 2025
  • 4 replies
  • 910 views

Hello,

observed that both the CM4 and CM7 cores are resetting (NUCLEO-H755ZI-Q), whereas it is expected that only the CM4 core should reset due to the Window Watchdog (WWDG2). For verification UART is configured in cm7 printing counter value. observe that after some value the counter is rested to 0, that means both cm4 and cm7 is resting, using stm32cubeide for code flash.

Best Regards 

 

 

This topic has been closed for replies.
Best answer by TDK

All watchdogs generate a system reset which resets both cores and most peripherals by pulling NRST low.

TDK_0-1737754356389.png

 

TDK_1-1737754562166.png

 

There is no watchdog that will only reset CM4. However, you could handle the EWI to do something similar.

4 replies

ST Employee
January 24, 2025

 

Hello @Ismails

the Cortex M7 is able to reset the Cortex M4 by setting up the WWDG2 and then the WWDG2 will reset the CPU2 if the WW2RSC bit in RCC_GCR is cleared.

However, this solution is not reversible, meaning the Cortex M4 cannot reset the Cortex M7 by configuring WWDG.

Are you sure about the UART configuration? have you been able to read correct counter values? 

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
IsmailsAuthor
Associate
January 24, 2025

Hi @Sarra.S ,

Thank you for the replay

My both cores are getting reset.

Correct me if I’m wrong:

  • WWDG2: Configured and initialized in CM4. I expect that if the refresh does not happen in CM4 within the configured time, then CM4 is supposed to be reset, and it should not affect the operation of CM7.

My confusion:

  • Why is WWDG2 resetting my CM7 core? I know that WWDG1 is for CM7 and WWDG2 is for CM4.

Observation:

  • I have my UART configured in CM7 to print an integer number incremented by one with a one-second delay. What I am observing is that the count is resetting to zero.
  • Similarly, we tried in debug mode, and the reset handler is being called in CM7.
TDK
TDKBest answer
January 24, 2025

All watchdogs generate a system reset which resets both cores and most peripherals by pulling NRST low.

TDK_0-1737754356389.png

 

TDK_1-1737754562166.png

 

There is no watchdog that will only reset CM4. However, you could handle the EWI to do something similar.

"If you feel a post has answered your question, please click ""Accept as Solution""."
IsmailsAuthor
Associate
January 30, 2025

@TDK "Accepted Solution" Thank you.