ST STM32WL55JC Reference Manual page 364

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:
Locking a semaphore can be done 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
1 interrupt line per processor
Lock indication
364/1454
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 2
RM0453

Advertisement

Table of Contents
loading
Need help?

Need help?

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

This manual is also suitable for:

Stm32wl5 seriesStm32wl54 series

Table of Contents

Save PDF