EasyManuals Logo
Home>ST>Microcontrollers>STM32G474

ST STM32G474 User Manual

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
Page #477 background imageLoading...
Page #477 background image
RM0440 Rev 4 477/2126
RM0440 CORDIC co-processor (CORDIC)
485
Figure 40. CORDIC convergence for square root
Note: The convergence rate decreases as the quantization error starts to become significant.
The CORDIC can perform four iterations per clock cycle. For each function, the maximum
error remaining after every four iterations is shown in Table 115, together with the number of
clock cycles required to reach that precision. From this table, the desired number of cycles
can be determined and programmed in the PRECISION field of the CORDIC_CR register.
The co-processor stops as soon as the programmed number of iterations has completed,
and the result can be read immediately.
Table 115. Precision vs. number of iterations
Function
Number of
iterations
Number of
cycles
Max residual error
(1)
q1.31 format q1.15 format
Sin, Cos,
Phase
(2)
, Mod,
Atan
(4)
412
-3
2
-3
822
-7
2
-7
12 3 2
-11
2
-11
16 4 2
-15
2
-15
20 5 2
-18
2
-16
24 6 2
-19
2
-16

Table of Contents

Questions and Answers:

ST STM32G474 Specifications

General IconGeneral
BrandST
ModelSTM32G474
CategoryMicrocontrollers
LanguageEnglish

Related product manuals