Skip to main content
Explorer
January 7, 2025
Solved

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

  • January 7, 2025
  • 1 reply
  • 487 views

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.
    Best answer by mbarg.1

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

    1 reply

    mbarg.1Answer
    Graduate
    January 7, 2025

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