Theoretically knowing how powerful a microcontroller you need to run your program?

Due to the large number of microcontrollers and even different levels of arduins that provide more power than the last, is there a mathematical way or some way to find out how much processing power you need, just analyzing it to run your program as designed to choose the right micro? .

No trial or error. those. I did not try and did not buy the next chip too slowly.

+7
source share
1 answer

I had to make performance forecasts for computer systems that did not yet exist. Moments such as the cycle time ratio can only give an approximate guideline. As a rule, I had to resort to simulation, the closest I could measure the actual equipment.

However, you can find numbers for tests similar to your code, which will at least give you a starting point.

I wouldn’t do this while working on one chip at a time - your code may have a problem that makes it too slow for any possible chip. I would try to find a chip that is fast enough and works if it is much faster than necessary.

+1
source

All Articles