2025-06-05 2:26 PM
Application note AN5361 "Setting up with ST-LINK GDB server" says "Set the Cortex®-M7 core running so that the HSEM semaphore is released and Cortex®-M4 wakes up from Stop mode" and this post implies that it's "HSEM 0" which I'm assuming is HSEM channel 0.
Am I correct that HSEM channel 0 is not available for use by my application? Is that fact documented in the Reference Manual (I can't find it anywhere)?
2025-06-12 6:45 AM
ping
2025-06-17 6:03 AM
Hi @cbcooper ,
I'm not sure that there is any restriction to use HSEM 0.
In this article How to implement inter-processor communication in an STM32H7 using HSEM, the provided example is based on the usage of HSEM 0. Try to follow the same steps and check if it is working or not for you.
-Amel
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.
2025-06-17 6:49 AM
So what does Application note AN5361 mean when it says "The Cortex®‑M4 must execute the code and go to Stop mode before the Cortex®‑M7 can start executing the code and wake up the Cortex®‑M4 by releasing a hardware semaphore" and " Set the Cortex®-M7 core running so that the HSEM semaphore is released and Cortex®-M4 wakes up from Stop mode"?
2025-06-23 2:55 PM
ping
2025-06-23 4:30 PM - edited 2025-06-23 4:31 PM
HSEM 0 is not reserved.
If you follow the example project, they choose to use HSEM 0 in such a way to signal that CM4 is ready. This isn't a requirement.
2025-06-24 7:03 AM
That is a correct statement regarding the project described in the article "How to implement inter-processor communication in an STM32H7 using HSEM" but my most recent question in this thread is trying to understand what is meant in Application note AN5361.
Thanks
2025-06-24 7:40 AM
The example project uses HSEM0 in that manner. The AN describes this.
2025-06-24 7:49 AM
Sorry, I'm still not seeing it. I don't see anything in the application note that refers to any specific example project, am I just missing a reference somewhere?