How to estimate I/O and calculation power of a micro?
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
How to estimate I/O and calculation power of a micro?

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Embedded System
Author Message
Andreas
Guest





Posted: Mon Dec 06, 2004 3:57 pm    Post subject: How to estimate I/O and calculation power of a micro? Reply with quote

Hi!
I try to choose a micro fitting for my application.
I'm not sure how to estimate the power rating of the micro.
Basicly, I must handle 1 parallel printerport (with connected printer),
1 chipcard drive, 1 serial link to a GSM modem, a 4x4 keyboard matrix,
4x20 alphanumeric display (with its own display driving controller) and
4 serial 38,4 kBit/s links.
In a worst case all actions (keyboard hit, entering chipcard, display
output, I/O...) can take place at a time. Further, there is the
processing of the I/O data. Let's assume the task times are known.
Now, how much MIPS do I actually need? Is there a kind of approximation
formula or something?
Thanks in advance!

Best regards,
Andreas
Back to top
EventHelix.com
Guest





Posted: Tue Dec 07, 2004 8:09 am    Post subject: Re: How to estimate I/O and calculation power of a micro? Reply with quote

1. Estimate the approximate number of C code lines that will execute to
performing a transfer on the serial link.
2. Multiply this number by 4 to obtain the approximate number of
instructions.
3. Use the rate of the link to estimate the total instructions that
need to be executed per second. This
should give you a reasonable estimate.

Other operations on your processor do not seem to be computationaly
intensive.

Deepa
--
http://www.EventHelix.com/EventStudio
EventStudio 2.5 - Embedded System with Sequence Diagrams
Back to top
Tauno Voipio
Guest





Posted: Tue Dec 07, 2004 11:59 am    Post subject: Re: How to estimate I/O and calculation power of a micro? Reply with quote

Andreas wrote:
Quote:
Hi!
I try to choose a micro fitting for my application.
I'm not sure how to estimate the power rating of the micro.
Basicly, I must handle 1 parallel printerport (with connected printer),
1 chipcard drive, 1 serial link to a GSM modem, a 4x4 keyboard matrix,
4x20 alphanumeric display (with its own display driving controller) and
4 serial 38,4 kBit/s links.
In a worst case all actions (keyboard hit, entering chipcard, display
output, I/O...) can take place at a time. Further, there is the
processing of the I/O data. Let's assume the task times are known.
Now, how much MIPS do I actually need? Is there a kind of approximation
formula or something?
Thanks in advance!

Best regards,
Andreas

IMHO, most of your processing load comes from the serial lines:
the 5 lines will generate up to 20000 interrupts / second
unidirectional and double that bidirectional. You have only
25 us per character including all overhead, if all the serial
connections are full duplex active together.

--

Tauno Voipio
tauno voipio (at) iki fi
Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Embedded System All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB