Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] something a bit faster

2005-02-03 by Paul Maddox

Mike,

> Certainly a faster chip will help you but not if your code is poorly
> written from a performance point of view. Before jumping ship, have you
> tried to isolate the problem more into what part of the code is slow?

I'm doing a fair bit of floating point calculations and 16bit data
manipulation, needless to say, an 8bit micro is less than ideal...

> You indicated that you do a lot of floating point exponential
> calculations. Have you looked at streamlining this area of code? There
> are several methods including approximations and reductions. The best
> approach is probanly a table-driven approach (unless your FP library is
> already doing this). Here are some links:

:-)
Looked at tables, yes quicker, but I would need a bigger table than I could
store in flash.
I'll certainly give the links a look, cheers.

Paul

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.