RM0440
Bits 31:16 Reserved
Bits 15:8 X2_BUF_SIZE: Size of X2 buffer in 16-bit words. This field can not be modified when a
function is ongoing (START = 1)
Bits 7:0 X2_BASE: Base address of X2 buffer. The X2 buffer base address can be modified while
START=1, for example to change coefficient values. The filter should be stalled when doing
this, since changing the coefficients while a calculation is ongoing will affect the result.
17.4.3
FMAC Y Buffer Configuration register (FMAC_YBUFCFG)
Address offset: 0x08
Reset value: 0x0000 0000
This register can only be modified if START = 0 in the FMAC_PARAM register.
31
30
29
Res.
Res.
Res.
Res.
15
14
13
Y_BUF_SIZE
Bits 31:26 Reserved
Bits 25:24 EMPTY_WM: Watermark for buffer empty flag. Defines the threshold for setting the Y buffer
empty flag when operating in circular mode. The flag will be set if the number of unread values
in the buffer is less than 2
Setting a threshold greater than 1 allows several data to be transferred from the buffer under
one interrupt.
Threshold should be set to 1 if DMA read requests are enabled (DMAREN = 1 in FMAC_CR
register).
Bits 23:16 Reserved
Bits 15:8 Y_BUF_SIZE: Size of Y buffer in 16-bit words.
For FIR filters, the minimum buffer size is 1 (+ the watermark threshold). For IIR filters the
minimum buffer size is the number of feedback taps (+ the watermark threshold).
Bits 7:0 Y_BASE: Base address of Y buffer
28
27
26
25
Res.
Res.
EMPTY_WM
12
11
10
9
rw
EMPTY_WM
0: Threshold = 1
1: Threshold = 2
2: Threshold = 4
3: Threshold = 8
24
23
22
Res.
Res.
rw
8
7
6
.
RM0440 Rev 1
Filter Math Accelerator (FMAC)
21
20
19
18
Res.
Res.
Res.
Res.
5
4
3
2
Y_BASE
rw
17
16
Res.
Res.
1
0
467/2083
473
Need help?
Do you have a question about the STM32G4 Series and is the answer not in the manual?