Figure 283. Functional Block Diagram - ST STM32F405 Reference Manual

Hide thumbs Also See for STM32F405:
Table of Contents

Advertisement

Serial audio interface (SAI)
29.3
Functional block diagram
The block diagram of the SAI is shown in
Serial Audio Interface
(SAI)
SAI_XCR1
Clock generator
SAI_CK_A
Audio block A
SAI_CK_B
Clock generator
Audio block B
SAI_XCR1
The SAI is mainly composed of two audio sub-blocks with their own clock generator. Each
audio block integrates a 32-bit shift register controlled by their own functional state machine.
Data are stored or read from the dedicated FIFO. FIFO may be accessed by the CPU, or by
DMA in order to leave the CPU free during the communication. Each audio block is
independent. They can be synchronous with each other.
An I/O line controller manages each dedicated pins for a given audio block in the SAI. If the
two blocks are synchronized, this controller reduces the number of I/Os used, freeing up an
FS pin, an SCK pin and eventually an MCLK pin, making them general purpose I/Os.
The functional state machine can be configured to address a wide range of audio protocols.
Some registers are present to set-up the desired protocols (audio frame waveform
generator).
The audio block can be a transmitter or receiver, in master or slave mode. The master mode
means the bit clock SCK and the frame synchronization signal are generated from the SAI,
whereas in slave mode, they come from another external or internal master. There is a
particular case for which the FS signal direction is not directly linked to the master or slave
928/1749

Figure 283. Functional block diagram

APB
APB interface
FIFO
Configuration
registers and
Status register
32-bit shift register
FIFO
Configuration
registers and
Status register
32-bit shift register
APB interface
APB
RM0090 Rev 18
Figure
283.
Audio block A
FIFO ctrl
FSM
Audio block B
FIFO ctrl
FSM
RM0090
int_sck
synchro
int_FS
ctrl out
FS_A
SCK_A
SD_A
MCLK_A
FS_B
SCK_B
SD_B
MCLK_B
MS30032V1

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents

Save PDF