AnsweredAssumed Answered

Convert an unsigned short array to a float array efficiently by FPU

Question asked by chen.richie on Jun 11, 2014
Latest reply on Jun 13, 2014 by waclawek.jan
I have an array of unsigned short numbers from sensors. The data will be multiplied with an array of floating point numbers.

To use FPU provided by STM32F407, I need to convert the unsigned short numbers into floating point numbers. There are only libraries converting signed short arrays into floating point arrays. Could I ask if there are any efficient way of converting an unsigned short array into a floating point array? Or the conversion has to be done with a for loop?

Any comments will be appreciated. 

Outcomes