AnsweredAssumed Answered

General Digital Filters Library for Kinetis

Question asked by rodri on Nov 11, 2011
Latest reply on Nov 30, 2014 by Cesar Rabak

Hi all!


I need to build some FIR filters on Kinetis K60.

Looking for some information in Freescale pages, I found a "General Digital Filters" library for Kinetis family.

I can´t see how the different functions are developed as I only was provided with .a library files.


The question is:

The library functions are written in assembler language, as to take advantage of Kinetis "DSP" instructions? And as to put instructions in order in such a way to minimize stalls in processor pipeline?


Or they are originally written in C? In this case, there are some techniques that can be used as to make FIR filtering functions more efficient : Circular addressing, loop unrolling, extensive use of SIMD and intrinsics, etc..

Are these techniques used?


Basically, I would like to know how much efficient the  "General Digital Filters" library for Kinetis family is.


Thank you all!

Best regards,