Serial audio interface (SAI)
Bit 4 TRIS: Tristate management on data line.
This bit is set and cleared by software. It is meaningful only if the audio block is configured as a
transmitter. This bit is not used when the audio block is configured in SPDIF mode. It should be
configured when SAI is disabled.
Refer to
0: SD output line is still driven by the SAI when a slot is inactive.
1: SD output line is released (HI-Z) at the end of the last data bit of the last active slot if the next one
is inactive.
Bit 3 FFLUSH: FIFO flush.
This bit is set by software. It is always read as 0. This bit should be configured when the SAI is
disabled.
0: No FIFO flush.
1: FIFO flush. Programming this bit to 1 triggers the FIFO Flush. All the internal FIFO pointers (read
and write) are cleared. In this case data still present in the FIFO are lost (no more transmission or
received data lost). Before flushing, SAI DMA stream/interruption must be disabled
Bits 2:0 FTH[2:0]: FIFO threshold.
This bit is set and cleared by software.
000: FIFO empty
001: ¼ FIFO
010: ½ FIFO
011: ¾ FIFO
100: FIFO full
101: Reserved
110: Reserved
111: Reserved
39.5.4
Configuration register 2 (SAI_BCR2)
Address offset: 0x028
Reset value: 0x0000 0000
31
30
29
Res.
Res.
Res.
15
14
13
COMP[1:0]
CPL
rw
rw
rw
1794/2083
Section : Output data line management on an inactive slot
28
27
26
25
Res.
Res.
Res.
Res.
12
11
10
9
MUTECNT[5:0]
rw
rw
rw
rw
24
23
22
21
Res.
Res.
Res.
Res.
8
7
6
5
MUTE
MUTE
VAL
rw
rw
rw
rw
RM0440 Rev 1
for more details.
20
19
18
17
Res.
Res.
Res.
Res.
4
3
2
1
F
TRIS
FTH[2:0]
FLUSH
rw
w
rw
rw
RM0440
16
Res.
0
rw
Need help?
Do you have a question about the STM32G4 Series and is the answer not in the manual?