Paul , 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? 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: http://www.acm.org/pubs/citations/journals/toms/1990-16-3/p185-tang/ - needs ACM access to download PDF http://www.ece.concordia.ca/~tahar/pub/FPE_TR98.ps&e=747 - table driven algorithm in hardware example http://www.intel.com/technology/itj/q41999/articles/art_5.htm - interesting background article on what Intel did Regards, Mike > All, > > I'm currently using a MEGA16 at 16Mhz for a project, and I'm doing a lot > of floating point calculations (most exponential) and its getting a bit > slow, so I need something with a bit more 'umph'. > I know its kinda off topic, but, what I'm after (I think) is something > 16Bit > and a minimum of 25MIPs (32 would be preffered). it also *must* have an > affordable C compiler (ie <£400) and an evaluation board. Surface mount is > fine (in fact preffered). > I figured you guys would be the best place to start asking as > you've got > the experience (probably), Anyone have any suggestions? > > Paul > >
Message
Re: [AVR-Chat] something a bit faster
2005-02-02 by Mike Perks
Attachments
- No local attachments were found for this message.