EasyManuals Logo

STMicroelectronics STM32WL5 Series User Manual

STMicroelectronics STM32WL5 Series
1450 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #117 background imageLoading...
Page #117 background image
RM0453 Rev 5 117/1450
RM0453 Embedded flash memory (FLASH)
154
4.4.3 Sub-GHz radio SPI security
When the system is secure (ESE = 1), the access to the sub-GHz radio SPI interface for the
radio system can be made secure by the user option SUBGHSPISD. When secure, only the
secure CPU2 has access to the sub-GHz radio SPI.
Access can be further restricted to secure privileged access only by the PRIV2 bit for
sub-GHz radio SPI in GTZC TZSC privileged configuration register
(GTZC_TZSC_PRIVCFGR1).
4.5 Secure system memory
4.5.1 Introduction
The secure system memory stores RSS (root secure services) firmware that is programmed
by ST during STM32WL5x production. The RSS provides secure services to the bootloader
and the user firmware.
4.5.2 RSSLIB functions
The RSS provides runtime services thanks to the RSS library. As other microcontroller
peripheral features and mapping, the RSS library functions are exposed to user within the
CMSIS device header file provided by the STM32CubeWL firmware package. Refer to the
user manual Getting started with STM32CubeWL for STM32WL Series (UM2643) for more
details.
RSS library functions (named RSSLIB functions hereafter) are described in the CMSIS and
can only be called by Cortex-M0+ firmware.
These functions are located at the address RSSLIB_PFUNC. RSSLIBPFUNC is used to call
the function (see example below).
CloseExitHDP
Prototype:
uint32_t CloseExitHDP(uint32_t HdpArea, uint32_t VectorTableAddr)
Arguments:
HdpArea: Input parameter, bitfield that identifies which HDP area to close. Values can
be: RSSLIB_HDP_AREA1
VectorTableAddr: Input parameter, address of the next vector table to apply. The
vector table format is the one used by the Cortex-M0+ core.
Description:
The user calls CloseExitHDP() to close flash HDP secure memory area and to jump to
the reset handler embedded within the vector table, which address is passed as input
parameter. On successful execution, the function does not return and does not push LR
onto the stack. In case of failure (bad input parameter value), this function returns
RSSLIB_ERROR.
Example:
Call CloseExitHDP() function that closes HDP area and jumps to vector table located at
address 0x8020000.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

STMicroelectronics STM32WL5 Series Specifications

General IconGeneral
BrandSTMicroelectronics
ModelSTM32WL5 Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals