EasyManuals Logo
Home>ST>Microcontrollers>STM32G431

ST STM32G431 User Manual

ST STM32G431
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 #475 background imageLoading...
Page #475 background image
RM0440 Rev 4 475/2126
RM0440 CORDIC co-processor (CORDIC)
485
required, it has to be calculated in software and programmed into the SCALE field of the
CORDIC_CSR register. The input arguments must be scaled accordingly before
programming the scaled values in the CORDIC_WDATA register. The scaling must also be
undone on the results read from the CORDIC_RDATA register.
Note: The scaling factor entails a loss of precision due to truncation of the scaled value.
17.3.5 Precision
The precision of the result is dependent on the number of CORDIC iterations. The algorithm
converges at a constant rate of one binary digit per iteration for trigonometric functions
(sine, cosine, phase, modulus), see Figure 38.
For hyperbolic functions (hyperbolic sine, hyperbolic cosine, natural logarithm), the
convergence rate is less constant due to the peculiarities of the CORDIC algorithm (see
Figure 39). The square root function converges at roughly twice the speed of the hyperbolic
functions (see Figure 40).
Figure 38. CORDIC convergence for trigonometric functions

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32G431 Specifications

General IconGeneral
BrandST
ModelSTM32G431
CategoryMicrocontrollers
LanguageEnglish

Related product manuals