FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > DSP

DSP comp.dsp newsgroup, mailing list

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-24-2006, 02:27 AM
[email protected]
Guest
 
Posts: n/a
Default FIR filter using only a hand calculator

Is it possible to perform an FIR filter on 8 bit digital data using
only the simplest tools? Like an 8bit MCU with very limited RAM? How
can I generate very low level code from an FIR filter so I can
translate it into assembler for the MCU I am using? I am thinking of
using the Atmel ATTINY13.

An FIR filter is just a sequency of steps, albiet lots of steps, and
even more steps if you cant do floating point in a native way, right?
So what are these steps?

Reply With Quote
  #2 (permalink)  
Old 05-24-2006, 02:55 AM
Jerry Avins
Guest
 
Posts: n/a
Default Re: FIR filter using only a hand calculator

[email protected] wrote:

> Is it possible to perform an FIR filter on 8 bit digital data using
> only the simplest tools? Like an 8bit MCU with very limited RAM? How
> can I generate very low level code from an FIR filter so I can
> translate it into assembler for the MCU I am using? I am thinking of
> using the Atmel ATTINY13.
>
> An FIR filter is just a sequency of steps, albiet lots of steps, and
> even more steps if you cant do floating point in a native way, right?
> So what are these steps?


An FIR filter can take many steps, but they fit into a small loop.
Fixed-point filters work, and they don't need floating point. (They do
need multiple precision.) Your arithmetic routines of any kind can (and
should) be written as callable functions, so their complexity needn't
add to the conceptual complexity of the filter.

A problem you might have aside from RAM size is execution speed,
especially if you choose to simulate floating-point arithmetic in
software. The inner workings of the filter are well explained in the
appropriate chapters at http://dspguide.com/pdfbook.htm. The author
gives examples in BASIC that can be run on a TRS-80.

Jerry
--
Engineering is the art of making what you want from things you can get.
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a concatention operator on the Left Hand Side of '='? Raban Verilog 6 05-26-2008 04:44 PM
Hand solder that FPGA on your prototype Tony Burch FPGA 5 12-01-2007 03:15 PM
The Hand-held Universal Translator is here! Country Loon DSP 4 10-09-2004 03:17 PM
Kalman filter tuning for hand tracking gutek DSP 6 04-28-2004 03:27 PM
Apex power calculator Dave Wilson FPGA 2 11-22-2003 12:37 AM


All times are GMT +1. The time now is 02:07 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved