Hello,
I've tried writing a 4th order IIR filter for the ATXMega256a3u.
Code shown below.
It works at 32MHz and should interupt 44.1K times every second as that is the sample rate of said filter.
However i've been told that using a timer interupt is basically a waste of time as it will never reach the speed that i need.
So i'm wondering what would be some alternatives to the timer interup to implement the sample rate of my filter?
Would an adc interupt work perhaps?
Kind regards Chris