Hi,
I am trying to implement a digital notch filter on Atmega8. The whole project is about getting data from ADC and filtering it out and then send via Bluetooth. Im designing filters using MATLAB build in functions like fir1, butter, elliptic etc. I would like to operate using floats on AVR, but using simple cast from double (generated by MATLAB) to float results in a filter that isnt stabled (I test it only in Simulink). Can i cast my filter coefficient to float without losing stability?
Or maybe i should use a DSP, can anyone suggest a very cheap one and in a small package like Atmega8 or smaller. (i need only I2C and UART).