I have been doing research in google, however I cannot find a solution.
How to convert an unsigned short array to a float array in STM32? I need to perform multiplication between an unsigned short array with a float array. To use FPU and DSP library for STM32F4, the unsigned array is to be converted to floating point first.
There are only libraries converting signed short arrays to float arrays. How to convert an unsigned short array to a float array?
q15_t, which is the "fractional" version ofint16_t. But as you mentioned, this is asigned short. I think that you can find the entire API in file arm_math.h (also on GitHub, at github.com/mikeferguson/stm32/blob/master/libraries/CMSIS/…). I believe that anything which is not in this file is simply not supported.floatelements, and copy eachunsigned shortelement into it.