Hi! I want to implement FIR digital filter on my ATMega16, running at 8MHz. I was succeeded with input, output and C-based implementation of the filter. It works, but too slow: troubles coming at 10 kHz of sampling frequency, and fifth order of the filter. Surely, assembly would help me. But I can't make included .S90 assembly file work for me. In C code of ATMEL example we see function declaration extern int FIR2( struct FIR_filter *thisFilter, int newSample );
and usage: filterOutput = FIR2((struct FIR_filter*)&filter04, filterInput); And there is "FIR2: ..." filter function in 2nd_order_FIR.s90 What should I do (makefile, includes, etc.) to tell compiler where to search and what to do with FIR2 function? Thanks! Best regards, Kreyl mailto: [EMAIL PROTECTED] ICQ: 171094105 _______________________________________________ AVR-chat mailing list AVR-chat@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-chat