EasyManua.ls Logo

ST STM32G474

ST STM32G474
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
Loading...
RM0440 Rev 4 483/2126
RM0440 CORDIC co-processor (CORDIC)
485
17.4.2 CORDIC argument register (CORDIC_WDATA)
Address offset: 0x04
Reset value: 0xXXXX XXXX
Bits 10:8 SCALE[2:0]: Scaling factor
The value of this field indicates the scaling factor applied to the arguments and/or results. A
value n implies that the arguments have been multiplied by a factor 2
-n
, and/or the results
need to be multiplied by 2
n
. Refer to Section 17.3.2 for the applicability of the scaling factor
for each function and the appropriate range.
Bits 7:4 PRECISION[3:0]: Precision required (number of iterations)
0: reserved
1 to 15: (Number of iterations)/4
To determine the number of iterations needed for a given accuracy refer to Table 115.
Note that for most functions, the recommended range for this field is 3 to 6.
Bits 3:0 FUNC[3:0]: Function
0: Cosine
1: Sine
2: Phase
3: Modulus
4: Arctangent
5: Hyperbolic cosine
6: Hyperbolic sine
7: Arctanh
8: Natural logarithm
9: Square Root
10 to 15: reserved
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ARG[31:16]
wwwwwww w wwwwww w w
1514131211109 8 765432 1 0
ARG[15:0]
wwwwwww w wwwwww w w

Table of Contents

Related product manuals