2025-11-06 11:21 PM
The HSEM option is not found in "System Core" in STM32CubeMX (version 6.15), and the configuration option for HSEM interrupt is only found in NVIC. How to configure HSEM in STM32CubeMX. When I selected the LL library environment, the generated source code did not import the HSEM LL library header file. How to solve these two problems? If it is not possible to configure and import the HSEM related library files into the project file in STM32CubeMX, please let us know.
2025-11-07 12:20 AM - edited 2025-11-07 12:24 AM
Hello @liuxw
Let me thank you for posting and welcome to the ST Community.
Your request is under investigation, and I will get back to you ASAP.
For more investigation, could you please provide your Ioc.File.
Thanks.
Mahmoud
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-11-07 12:43 AM
2025-11-10 8:10 AM
Hello @liuxw ,
I suggest that you take a look at this Knowledge Article. It shows how to implement inter-processor communication between CM7 and CM4 cores on the STM32H7 series using the hardware semaphore (HSEM).
The configuration of the HSEM in STM32 devices is primarily managed through the NVIC (Nested Vectored Interrupt Controller).
For the second request, let me thank you for bringing this issue to our attention.
An internal ticket was submitted to the dedicated team (Internal Ticket Number: Ticket 221461).
I will let you know when the issue is fixed.
Thanks.
Mahmoud
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-11-10 4:58 PM
Regarding code generation, the HAL library has dual-core synchronization operations when generating code, which is not present in the LL library. Could you optimize this?
2025-11-19 12:38 AM
Hello @liuxw ,
Let me thank you for bringing this issue to our attention.
An internal ticket was submitted to the dedicated team (Internal Ticket Number: Ticket 222033 ).
I will let you know when the issue is fixed.
As WA you can add manually the stm32h7xx_ll_hsem.h and you can also refer to the Template_LL located on the STM32H7 firmware.
Thanks.
Mahmoud
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.