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 #1255 background imageLoading...
Page #1255 background image
RM0453 Rev 5 1255/1450
RM0453 Serial peripheral interface / integrated interchip sound (SPI/I2S)
1311
37.3 I2S main features
Half-duplex communication (only transmitter or receiver)
Master or slave operations
8-bit programmable linear prescaler to reach accurate audio sample frequencies (from
8 kHz to 192 kHz)
Data format may be 16-bit, 24-bit or 32-bit
Packet frame is fixed to 16-bit (16-bit data frame) or 32-bit (16-bit, 24-bit, 32-bit data
frame) by audio channel
Programmable clock polarity (steady state)
Underrun flag in slave transmission mode, overrun flag in reception mode (master and
slave) and Frame Error Flag in reception and transmitter mode (slave only)
16-bit register for transmission and reception with one data register for both channel
sides
Supported I
2
S protocols:
–I
2
S Philips standard
MSB-justified standard (left-justified)
LSB-justified standard (right-justified)
PCM standard (with short and long frame synchronization on 16-bit channel frame
or 16-bit data frame extended to 32-bit channel frame)
Data direction is always MSB first
DMA capability for transmission and reception (16-bit wide)
Master clock can be output to drive an external audio component. The ratio is fixed at
256 × f
s
for all I2S modes, and to 128 x f
s
for all PCM modes (where f
s
is the audio
sampling frequency).
37.4 SPI/I2S implementation
The following table describes all the SPI instances and their features embedded in the
devices.
Table 255. STM32WL5x SPI and SPI/I2S implementation
(1)
1. The SPI1 and SPI2S2 instances are general purpose type while the SUBGHZSPI instance is dedicated for
Sub-GHz radio control exclusively.
SPI Features SPI1 SPI2S2 SUBGHZSPI
Enhanced NSSP and TI modes Yes Yes Yes
Hardware CRC calculation Yes Yes No
I
2
S support No Yes No
Data size configurable from 4 to 16-bit from 4 to 16-bit from 4 to 16-bit
Rx/Tx FIFO size 32-bit 32-bit 32-bit

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