EasyManuals Logo
Home>ST>Microcontrollers>STM32G471

ST STM32G471 User Manual

ST STM32G471
2126 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #502 background imageLoading...
Page #502 background image
Filter math accelerator (FMAC) RM0440
502/2126 RM0440 Rev 4
18.3.10 Examples of filter initialization
Figure 49. X1 buffer initialization
The example in Figure 49 illustrates an X1 buffer pre-load with four samples (P = 4). The
buffer size is six (X1_BUF_SIZE = 6). The initialization is launched by programming the
FMAC_PARAM register with the START bit set. The four samples are then written to
FMAC_WDATA, and transferred into local memory from X1_BASE onwards. The START bit
resets after the fourth sample has been written. At this point, the X1 buffer contains the four
samples, in order of writing, and the write pointer (next empty space) is at X1_BASE + 0x4.
XX
XX
x[0]
x[1]
XX x[2]
XX x[3]
FMAC_PARAM
register write:
FUNC = 1
(Load X1 Buffer)
P = 4
START = 1
FMAC_WDATA
register write:
WDATA = x[1]
FMAC_WDATA
register write:
WDATA = x[0]
FMAC_WDATA
register write:
WDATA = x[2]
FMAC_WDATA
register write:
WDATA = x[3]
XX
XX
Software register
access
START
X1_BASE
X1_BASE + 0x1
X1_BASE + 0x2
X1_BASE + 0x3
X1_BASE + 0x4
X1_BASE + 0x5
X1_FULL
MSv47128V1

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32G471 and is the answer not in the manual?

ST STM32G471 Specifications

General IconGeneral
BrandST
ModelSTM32G471
CategoryMicrocontrollers
LanguageEnglish

Related product manuals