Filter Math Accelerator (FMAC)
17.4
FMAC registers
17.4.1
FMAC X1 Buffer Configuration register (FMAC_X1BUFCFG)
Address offset: 0x00
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
X1_BUF_SIZE
Bits 31:26 Reserved
Bits 25:24 FULL_WM: Watermark for buffer full flag. Defines the threshold for setting the X1 buffer full
flag when operating in circular mode. The flag will be set if the number of free spaces in the
buffer is less than 2
Setting a threshold greater than 1 allows several data to be transferred into the buffer under
one interrupt.
Threshold should be set to 1 if DMA write requests are enabled (DMAWEN = 1 in FMAC_CR
register).
Bits 23:16 Reserved
Bits 15:8 X1_BUF_SIZE: Allocated size of X1 buffer in 16-bit words
The minimum buffer size is the number of feed-forward taps in the filter (+ the watermark
threshold - 1).
Bits 7:0 X1_BASE: Base address of X1 buffer
17.4.2
FMAC X2 Buffer Configuration register (FMAC_X2BUFCFG)
Address offset: 0x04
Reset value: 0x0000 0000
31
30
29
Res.
Res.
Res.
Res.
15
14
13
X2_BUF_SIZE
466/2083
28
27
26
25
Res.
Res.
FULL_WM
12
11
10
9
rw
FULL_WM
0: Threshold = 1
1: Threshold = 2
2: Threshold = 4
3: Threshold = 8
28
27
26
25
Res.
Res.
Res.
12
11
10
9
rw
24
23
22
Res.
Res.
rw
8
7
6
.
24
23
22
Res.
Res.
Res.
8
7
6
RM0440 Rev 1
21
20
19
18
Res.
Res.
Res.
Res.
5
4
3
2
X1_BASE
rw
21
20
19
18
Res.
Res.
Res.
Res.
5
4
3
2
X2_BASE
rw
RM0440
17
16
Res.
Res.
1
0
17
16
Res.
Res.
1
0
Need help?
Do you have a question about the STM32G4 Series and is the answer not in the manual?
Questions and answers