EasyManuals Logo

ST STM32F446 Series User Manual

ST STM32F446 Series
1328 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 #878 background imageLoading...
Page #878 background image
Serial peripheral interface/ inter-IC sound (SPI/I2S) RM0390
878/1328 RM0390 Rev 4
Note: For both modes (master and slave) and for both synchronizations (short and long), the
number of bits between two consecutive pieces of data (and so two synchronization signals)
needs to be specified (DATLEN and CHLEN bits in the SPIx_I2SCFGR register) even in
slave mode.
26.6.4 Clock generator
The I
2
S bitrate determines the data flow on the I
2
S data line and the I
2
S clock signal
frequency.
I
2
S bitrate = number of bits per channel × number of channels × sampling audio frequency
For a 16-bit audio, left and right channel, the I
2
S bitrate is calculated as follows:
I
2
S bitrate = 16 × 2 × f
S
It will be: I
2
S bitrate = 32 x 2 x f
S
if the packet length is 32-bit wide.
Figure 336. Audio sampling frequency definition
When the master mode is configured, a specific action needs to be taken to properly
program the linear divider in order to communicate with the desired audio frequency.
Figure 337 presents the communication clock architecture. The I2Sx clock is always the
system clock.
Figure 337. I
2
S clock generator architecture
1. Where x = 2.
069
RUELWOHIW
FKDQQHO
RUELW
ULJKWFKDQQHO
RUELWV
VDPSOLQJSRLQW
VDPSOLQJSRLQW
)
6
)
6
DXGLRVDPSOLQJIUHTXHQF\
069
0&.2(
2''
ELWOLQHDUGLYLGHU
UHVKDSLQJVWDJH
'LYLGHUE\
'LY
,ð6',9>@
,ð602'
&+/(1
0&.2(
&.
0&.
,ð6[&/.

Table of Contents

Other manuals for ST STM32F446 Series

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32F446 Series Specifications

General IconGeneral
BrandST
ModelSTM32F446 Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals