Here you go, an FIR filter for the M4 that uses less than 1 cycle per tap, but there is a catch...
- January 10, 2020
- 2 replies
- 1088 views
I did this a fair while ago, so even I have struggled to remember how it works exactly (I wish I added more comments back then). The attached files test/demonstrate an FIR routine that takes less than one cycle per tap. But it is only an 8 tap filter (with 8 taps I can fit all the delays and coefficients in registers). I'm not sure how useful it is. If someone knows the maths of how to string them together to create a more powerful filter then it would be of use. After all, simple analog filters are cascaded to create more powerful filters - why can't it be done for simple FIR filters? DSP guru(s) required. The filter has low start and end overhead and can be easily cascaded.
Please ensure you verify that it works properly before using with anything critical...
