Hi,
I have a customer who is evaluating LEA in MSP430FR5994.
He is using acceleration data (x, y, z) as input and calculate FFT using LEA.
These input values are between -40 to +40 [m/s^2].
Now I got below questions:
Q1) According to DSPLib API guide, only Q15 and IQ31 formats can be used as fixed-point type.
So all input values need to be normalized within -1 and +1 and converted to Q15 or IQ31 format before LEA operation, correct ?
Q2) What is maximum FFT length supported by LEA? 4096 can be used ?
Q3) Suppose FFT length is 256 with 50Hz sampling rate, we get 256 output data.
Q3-1) How does 256 data corresponds to frequency ?
Q3-2) According to DSPLib API guide, output value is divided by 128 in case msp_fft_fixed_q15() is used.
(I guess the reason is to avoid overflow)
Is it OK to multiply the results by 128 to get original values ?
Q4) The output value includes negative values as well as positive values.
Usually FFT results are only positive values for example when CCS “FFT Magnitude Graph” is used.
Is there any option to get such positive values ?
Thanks and regards,
KoT