Skip to main content
Explorer
Jan 7, 2025 11:29 AM UTC
Solved

arctangent of y/x using fixed-point 16-bit values in stm32

i am looking for the equivalent function  of

extern frac16_t GFLIB_Atan_F16_FAsm(frac16_t f16Val, const GFLIB_ATAN_T_F32 *psParam); 

from nxp mlib.h in a stm32 library

This topic has been closed for replies.
mbarg.1
mbarg.1Best answer
Senior III
Jan 7, 2025 11:52 AM UTC

CORDIC is the ubiquitous solution to this type of problems - you can use in hw or sw - AN5325

1 reply

mbarg.1
mbarg.1Best answer
Senior III
Jan 7, 2025 11:52 AM UTC

CORDIC is the ubiquitous solution to this type of problems - you can use in hw or sw - AN5325