Page 1 of 1

run time

Posted: Wed Sep 12, 2007 10:23 am
by saschech@gmx.de
Hallo

I work with a 18F4620 at 39321600Hz.In the moment i have 8ms for
1 pass.My question : which time-window is respectable? (z.b. sps)?

I know the shortest time is the best..... but was is in the praxis acceptable?

Regards wolfgang

Posted: Wed Sep 12, 2007 3:20 pm
by kk
Hi Wolfgang,

All depends on the kind of application your writing. If you wrote a small calculator 8ms would be an acceptable cycle time. For a PLC 8ms is quitte fast.

I've written applications that keep it under 100us at 12Mhz clock, i've written applications that take up to 500ms worst case cycle.

Like I said, it depends the application. If you would like to receive RC5 Remote control, just receiving the IR remote control would take more than 10ms, nevermind acting accordingly.

KK.

run time

Posted: Wed Sep 26, 2007 1:27 pm
by saschech@gmx.de
Hallo

The same program Flowcode > pic @ 40mhz
> AVR @ 20mhz

know somebody the run_time difference?
I think it is important for tim_critical projekts like a sps.

wolfgang