Clock Security System On Lse (Lsecss); Spi2S2 Clock; Table 59. Spi2S2 I2S Clock Pll Configurations - ST STM32WL5 Series Reference Manual

Advanced arm-based 32-bit mcus with sub-ghz radio solution
Hide thumbs Also See for STM32WL5 Series:
Table of Contents

Advertisement

Reset and clock control (RCC)
the disabling of the HSE32 oscillator. If the HSE32 clock (divided or not) is the clock entry of
the PLL used as system clock when the failure occurs, the PLL is disabled too.
7.2.11

Clock security system on LSE (LSECSS)

A CSS on LSE can be activated by software writing the LSECSSON bit in the
domain control register
RTC software reset, or after a failure detection on LSE. LSECSSON must be written after
LSE and LSI are enabled (LSEON and LSION) and ready (LSERDY and LSIRDY set by
hardware), and after the RTC clock has been selected by RTCSEL. The LSI clock is
automatically enabled.The LSE must not be disabled with the LSEON bit when LSECSS is
enabled with the LSECSSON bit.
The CSS on LSE is working in all modes except VBAT. It is working also under system reset
(excluding power on reset). If a failure is detected on the external 32 kHz oscillator, the LSE
clock is no longer supplied to the RTC but no hardware action is made to the registers. If the
MSI was in PLL-mode, this mode is disabled.
In Standby mode, a wakeup is generated. In other modes an interrupt can be sent to
wakeup the software (see
interrupt flag register
The software must then disable the LSECSSON bit, stop the defective 32 kHz oscillator
(disabling LSEON), and change the RTC clock source (no clock or LSI or HSE32, with
RTCSEL), or take any required action to secure the application.
7.2.12

SPI2S2 clock

The SPI2S2 I2S clock is derived from the HSI16 clock, PLL output, or from the external
I2S_CLK signal. It can reach 62 MHz.
The serial audio interface requires either a frequency close to 49.152 MHz or 11.2896 MHz.
The 49.152 MHz aims to derive audio sampling frequencies of 192 kHz, 96 kHz, 48 kHz,
32 kHz, 16 kHz and 8 kHz. While 11.2896 MHz targets audio sampling frequencies of
44.1 kHz, 22.05 kHz and 11.025 kHz. The targeted worts case accuracy must be 0.05 %.
Possible clock configurations are given in the table below.
Clock source
MSI (4 MHz)
HSE32 (32 MHz)
HSI16 (16 MHz)
MSI (4 MHz)
HSE32 (32 MHz)
HSI16 (16 MHz)
290/1461
(RCC_BDCR). This bit can be disabled only by a hardware reset or
RCC clock interrupt enable register
(RCC_CIFR),
RCC clock interrupt clear register

Table 59. SPI2S2 I2S clock PLL configurations

M
PLLN
1
4
7
43
2
43
1
79
3
18
1
12
RM0453 Rev 1
(RCC_CIER),
PLLQ
I2C clock frequency
7
4
49.14286 MHz (-0.019%)
7
28
11.28571 MHz (0.034%)
17
11.29412 MHz (0.040%)
17
RM0453
RCC Backup
RCC clock
(RCC_CICR)).

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?

Questions and answers

Table of Contents

Save PDF