RM0440
Microphone
Nber
Sample rate
of Mic
up to 8
up to 6
48 kHz
up to 4
up to 2
up to 8
up to 6
16 kHz
up to 4
up to 2
1. Refer to
Table 360: TDM settings
provided to the SAI should be a multiple of the SCK_A frequency, and MCKDIV should be programmed accordingly.
2. The table above gives allowed settings for a decimation ratio of 64.
Adjusting the delay lines
When the PDM interface is enabled, the application can adjust on-the-fly the delay cells of
each microphone input via SAI_PDMDLY register.
The new delays values will become effective after two TDM frames.
Table 361. Allowed TDM frame configuration
Wanted
bit clock
SAI_CKn
(SCK_A)
frequency
frequency
3.072 MHz
24.576 MHz
3.072 MHz
24.576 MHz
3.072 MHz
24.576 MHz
3.072 MHz
18.432 MHz
3.072 MHz
18.432 MHz
3.072 MHz
18.432 MHz
3.072 MHz
12.288 MHz
3.072 MHz
12.288 MHz
3.072 MHz
12.288 MHz
3.072 MHz
6.144 MHz
3.072 MHz
6.144 MHz
1.024 MHz
8.192 MHz
1.024 MHz
8.192 MHz
1.024 MHz
8.192 MHz
1.024 MHz
6.144 MHz
1.024 MHz
6.144 MHz
1.024 MHz
4.096 MHz
1.024 MHz
4.096 MHz
1.024 MHz
4.096 MHz
1.024 MHz
2.048 MHz
1.024 MHz
2.048 MHz
for additional information on TDM configuration. The sai_a_ker_ck clock frequency
Frame sync
(FS_A)
frequency
384 kHz
63
0b111
384 kHz
63
0b100
384 kHz
63
0b010
384 kHz
47
0b110
384 kHz
47
0b100
384 kHz
47
0b010
384 kHz
31
0b111
384 kHz
31
0b100
384 kHz
31
0b010
384 kHz
15
0b100
384 kHz
15
0b010
128 kHz
63
0b111
128 kHz
63
0b100
128 kHz
63
0b010
128 kHz
47
0b110
128 kHz
47
0b010
128 kHz
31
0b111
128 kHz
31
0b100
128 kHz
31
0b010
128 kHz
15
0b100
128 kHz
15
0b010
RM0440 Rev 1
Serial audio interface (SAI)
(1)
Comments
1
2 slots of 32 bits per frame
3
4 slots of 16 bits per frame
7
8 slots of 8 bits per frame
1
2 slots of 24 bits per frame
2
3 slots of 16 bits per frame
5
6 slots of 8 bits per frame
0
1 slot of 32 bits per frame
1
2 slots of 16 bits per frame
3
4 slots of 8 bits per frame
0
1 slots of 16 bits per frame
1
2 slots of 8 bits per frame
1
2 slots of 32 bits per frame
3
4 slots of 16 bits per frame
7
8 slots of 8 bits per frame
1
2 slots of 24 bits per frame
5
6 slots of 8 bits per frame
0
1 slot of 32 bits per frame
1
2 slots of 16 bits per frame
3
4 slots of 8 bits per frame
0
1 slot of 16 bits per frame
1
2 slots of 8 bits per frame
1773/2083
1815
Need help?
Do you have a question about the STM32G4 Series and is the answer not in the manual?