Serial audio interface (SAI)
53.6.6
SAI frame configuration register (SAI_AFRCR)
Address offset: 0x00C
Reset value: 0x0000 0007
Note:
This register has no meaning in AC'97 and SPDIF audio protocol.
31
30
29
Res.
Res.
Res.
Res.
15
14
13
Res.
rw
rw
Bits 31:19 Reserved, must be kept at reset value.
Bit 18 FSOFF: Frame synchronization offset.
This bit is set and cleared by software. It is meaningless and is not used in AC'97 or SPDIF audio
block configuration. This bit must be configured when the audio block is disabled.
0: FS is asserted on the first bit of the slot 0.
1: FS is asserted one bit before the first bit of the slot 0.
Bit 17 FSPOL: Frame synchronization polarity.
This bit is set and cleared by software. It is used to configure the level of the start of frame on the FS
signal. It is meaningless and is not used in AC'97 or SPDIF audio block configuration.
This bit must be configured when the audio block is disabled.
0: FS is active low (falling edge)
1: FS is active high (rising edge)
Bit 16 FSDEF: Frame synchronization definition.
This bit is set and cleared by software.
0: FS signal is a start frame signal
1: FS signal is a start of frame signal + channel side identification
When the bit is set, the number of slots defined in the SAI_xSLOTR register has to be even. It
means that half of this number of slots will be dedicated to the left channel and the other slots for the
right channel (e.g: this bit has to be set for I2S or MSB/LSB-justified protocols...).
This bit is meaningless and is not used in AC'97 or SPDIF audio block configuration. It must be
configured when the audio block is disabled.
1942/2301
28
27
26
25
Res.
Res.
Res.
12
11
10
9
FSALL[6:0]
rw
rw
rw
rw
24
23
22
Res.
Res.
Res.
8
7
6
rw
rw
rw
RM0432 Rev 6
21
20
19
18
Res.
Res.
Res.
FSOFF FSPOL FSDEF
rw
5
4
3
2
FRL[7:0]
rw
rw
rw
rw
RM0432
17
16
rw
r
1
0
rw
rw
Need help?
Do you have a question about the STM32L4+ Series and is the answer not in the manual?