AnsweredAssumed Answered

CMSIS DSP in KDS 2.0.0

Question asked by Menko Oldewurtel on Feb 24, 2015
Latest reply on Feb 25, 2015 by Menko Oldewurtel

Hi everybody,

 

such a simple question but i have no idea why this don´t work at my System (KDS2.0.0, KSDK1.1.0, FRDM-K64F):

i want to get the sqrt of a q15 or q31 value with:

 

outBuffer =0;

...

arm_sqrt_q15( ((q15_t)0x09) , (q15_t*)&outBuffer );

 

The result in outBuffer is 543 :-(

 

I have done the steps in this tutorial Tutorial: Using the ARM CMSIS Library | MCU on Eclipse

 

Thanks for help

 

Menko Oldewurtel

Outcomes