AnsweredAssumed Answered

STM32 Q15 fir

Question asked by jasonas.matas on Dec 17, 2015
Latest reply on Dec 21, 2015 by John F.
Hi, Q15 fir caused me some confusion, while everyhting runs succesfully with F32 fir. Q15 fir initialization structure demands, that you pass a Q15 pointer, pointing to filter coefficients. The problem is FIR coefficients are fractional and look something like this -0.31973721625633605, 0.36052556748732778. How do I point to these coefficients with q15 pointer. Even in IAR q15 description, the cofficients are showed like this {0.3, -0.8, 0.3, 0}.  Is there a way to turn q15 into a fractional integer? if yes how?

Outcomes