Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Theoretically knowing how powerful a micro controller you need, to run your program?

With the vast array of micro controllers out there and even different levels of arduinos providing more power than the last, is there a mathematical way or some way of knowing how much processing power you need, just by analysis, to run your program as designed in order to choose the right micro?.

Without just trial and error. i.e without just trying it and if it is too slow buying the next chip up.

like image 685
binarysmacker Avatar asked Nov 24 '12 13:11

binarysmacker


1 Answers

I've had to do performance projections for computer systems that did not exist yet. Things like cycle time ratios can only give a very rough guide. Generally, I had to resort to simulation, the nearest I could get to measuring on actual hardware.

That said, you may be able to find numbers for benchmarks similar to your code that will at least give you a starting point.

I would not do it by working up one chip at a time - your code may have a problem that makes it too slow for any feasible chip. I would try to find a chip that is fast enough, and work down if it is much faster than needed.

like image 92
Patricia Shanahan Avatar answered Oct 09 '22 08:10

Patricia Shanahan