Re: Re: Smart/Dumb box again... (CPU timing)
Posted by
beer@s...
on 2001-03-02 08:41:47 UTC
On 2 Mar, CAD_CAM_EDM_DRO@yahoogroups.com wrote:
Good choice going for a genuine microcontroller. Unfortunately, a
couple of gotchas there two. ( My butt has a number of PIC shaped bite
marks, so I know whereof I speak. )
1. Don't discount the number of cycles required to save the machine
state when entering an interrupt routine and then restore things again
upon exit. It makes the PIC less fast than it seems, especially
compared to newer micros that automatically save the state ( in a
single cycle ) when entering and restore it again upon exit.
2. Note WHERE in a 4 clock instruction cycle the interrupt is
acknowledged. PRECISE timing is harder to implement as a result.
Also, it differs for different members of the family.
Now, I don't mean you should stop using PICs - I certainly haven't.
Just be aware.
Alan
--
Alan Rothenbush | The Spartans do not ask the number of the
Academic Computing Services | enemy, only where they are.
Simon Fraser University |
Burnaby, B.C., Canada | Agix of Sparta
> Thanks for the correction, really...!Dave;
> So, off to get my PIC burner then and join the embedded systems
> club...
Good choice going for a genuine microcontroller. Unfortunately, a
couple of gotchas there two. ( My butt has a number of PIC shaped bite
marks, so I know whereof I speak. )
1. Don't discount the number of cycles required to save the machine
state when entering an interrupt routine and then restore things again
upon exit. It makes the PIC less fast than it seems, especially
compared to newer micros that automatically save the state ( in a
single cycle ) when entering and restore it again upon exit.
2. Note WHERE in a 4 clock instruction cycle the interrupt is
acknowledged. PRECISE timing is harder to implement as a result.
Also, it differs for different members of the family.
Now, I don't mean you should stop using PICs - I certainly haven't.
Just be aware.
Alan
--
Alan Rothenbush | The Spartans do not ask the number of the
Academic Computing Services | enemy, only where they are.
Simon Fraser University |
Burnaby, B.C., Canada | Agix of Sparta
Discussion Thread
dkowalcz@i...
2001-02-26 16:15:10 UTC
Smart/Dumb box again...
Alan Marconett KM6VV
2001-02-26 17:07:50 UTC
Re: Smart/Dumb box again...
Carlos Guillermo
2001-02-26 17:52:42 UTC
RE: [CAD_CAM_EDM_DRO] Smart/Dumb box again...
Doug Harrison
2001-02-26 17:56:59 UTC
Re: [CAD_CAM_EDM_DRO] Smart/Dumb box again...
ballendo@y...
2001-02-26 18:11:06 UTC
Re: Smart/Dumb box again...
ballendo@y...
2001-02-26 18:15:38 UTC
Re: Smart/Dumb box again...
ballendo@y...
2001-02-26 18:22:16 UTC
Re: Smart/Dumb box again...
Alan Marconett KM6VV
2001-02-26 18:51:30 UTC
Re: Smart/Dumb box again...
Jon Elson
2001-02-26 22:36:06 UTC
Re: [CAD_CAM_EDM_DRO] Smart/Dumb box again...
Brian Walsh
2001-02-27 01:49:53 UTC
Re: [CAD_CAM_EDM_DRO] Smart/Dumb box again...
Ray
2001-02-27 06:56:01 UTC
Re: Re: Smart/Dumb box again...
Ray
2001-02-27 07:02:58 UTC
Re: Re: Smart/Dumb box again...
Jon Elson
2001-02-27 12:06:54 UTC
Re: [CAD_CAM_EDM_DRO] Smart/Dumb box again...
Paul
2001-02-27 12:48:52 UTC
Re: [CAD_CAM_EDM_DRO] Re: Smart/Dumb box again...
Alan Marconett KM6VV
2001-02-27 14:56:27 UTC
Re: Smart/Dumb box again...
wanliker@a...
2001-02-27 16:52:05 UTC
Re: [CAD_CAM_EDM_DRO] Re: Smart/Dumb box again...
Brian Pitt
2001-02-27 23:05:10 UTC
Re: [CAD_CAM_EDM_DRO] Re: Smart/Dumb box again...
Tony Jeffree
2001-02-27 23:34:32 UTC
Re: Smart/Dumb box again...
Alan Marconett KM6VV
2001-02-28 00:01:08 UTC
Re: Smart/Dumb box again...
Alan Marconett KM6VV
2001-02-28 00:03:11 UTC
Re: Smart/Dumb box again...
Brian Pitt
2001-02-28 01:31:53 UTC
Re: [CAD_CAM_EDM_DRO] Re: Smart/Dumb box again...
Ian Wright
2001-02-28 01:53:10 UTC
Re: [CAD_CAM_EDM_DRO] Re: Smart/Dumb box again...
Jon Elson
2001-02-28 11:30:00 UTC
Re: [CAD_CAM_EDM_DRO] Re: Smart/Dumb box again...
dkowalcz@i...
2001-02-28 12:27:25 UTC
Re: Smart/Dumb box again... (CPU timing)
Paul
2001-02-28 12:34:49 UTC
Re: [CAD_CAM_EDM_DRO] Re: Smart/Dumb box again...
Alan Marconett KM6VV
2001-02-28 13:19:24 UTC
Re: Smart/Dumb box again...
Alan Marconett KM6VV
2001-02-28 14:01:49 UTC
Re: Smart/Dumb box again...
Alan Marconett KM6VV
2001-02-28 14:22:17 UTC
Re: Smart/Dumb box again... (CPU timing)
Jon Elson
2001-02-28 16:09:47 UTC
Re: [CAD_CAM_EDM_DRO] Re: Smart/Dumb box again...
Alan Marconett KM6VV
2001-02-28 17:01:00 UTC
Re: Smart/Dumb box again...
wanliker@a...
2001-02-28 17:36:33 UTC
Re: [CAD_CAM_EDM_DRO] Re: Smart/Dumb box again...
Henry H. Armstrong
2001-02-28 19:16:18 UTC
Re: [CAD_CAM_EDM_DRO] Re: Smart/Dumb box again...
Jon Elson
2001-02-28 23:26:29 UTC
Re: [CAD_CAM_EDM_DRO] Re: Smart/Dumb box again...
Matt Shaver
2001-02-28 23:42:56 UTC
Re: [CAD_CAM_EDM_DRO] Re: Smart/Dumb box again...
Jon Elson
2001-03-01 12:11:52 UTC
Re: [CAD_CAM_EDM_DRO] Re: Re: Smart/Dumb box again... (CPU timing)
Alan Marconett KM6VV
2001-03-01 12:16:26 UTC
Re: Smart/Dumb box again...
beer@s...
2001-03-02 08:41:47 UTC
Re: Re: Smart/Dumb box again... (CPU timing)