STMicroelectronics STM32WL5 Series Reference Manual page 372

Advanced arm-based 32-bit mcus with sub-ghz radio solution
Table of Contents

Advertisement

Hardware semaphore (HSEM)
8
Hardware semaphore (HSEM)
8.1
Introduction
The hardware semaphore block provides 16 (32-bit) register based semaphores.
The semaphores can be used to ensure synchronization between different processes
running between different cores. The HSEM provides a non-blocking mechanism to lock
semaphores in an atomic way. The following functions are provided:
Semaphore lock, in two ways:
Interrupt generation when a semaphore is unlocked
Semaphore clear protection
Global semaphore clear per COREID
8.2
Main features
The HSEM includes the following features:
16 (32-bit) semaphores
8-bit PROCID
4-bit COREID
One interrupt line per processor
Lock indication
372/1450
2-step lock: by writing COREID and PROCID to the semaphore, followed by a
read check
1-step lock: by reading the COREID from the semaphore
Each semaphore may generate an interrupt on one of the interrupt lines
A semaphore is only unlocked when COREID and PROCID match
RM0453 Rev 5
RM0453

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32WL5 Series and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32wl55 seriesStm32wl54 series

Table of Contents