AnsweredAssumed Answered

Arm_sqrt_q31 on a Kinetis K MCU

Question asked by Eric Paljan on Nov 5, 2014
Latest reply on Nov 27, 2014 by Kan_Li

Hello guys,


I have a very big Problem. I have to implement the arm_sqrt_q31 on my MCU and I cant find any usefull example how I can use it. I wasted a whole day for trying to implement it succuessfull. Is here anyone who can give an example how I can use that function for getting the square root of 144 or another easy number?


Here is one of my tries:


#include "arm_math.h"


int main(void)


    uint32_t n;

    arm_status status;



    int32_t    temp4    =    0;

    float temp5        =    0;