Subject:
|
Workin' its little heart out?
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Mon, 23 Dec 1996 14:59:17 GMT
|
Original-From:
|
Mike Ross <mross@outland.jsc.nasa.govNOMORESPAM>
|
Viewed:
|
2277 times
|
| |
 | |
Hi, all...
A generic 68HC11 question-
I (sorta) got my code running this weekend. I'm trying to get a 68HC11E1
to operate all 4 OC and IC lines on interrupts. I have about 800
instruction cycles spread over 8 interrupt routines. The waveform
I'm trying to capture and then reproduce is the R/C PWM signal, which
means I have about 1 msec minimum to fire all 8 interrupts. Now, 800
instruction cycles should take about 0.4 msec, so it would seem I have
ample time.
AND YET! The lowest priority interrupt (IC4) doesn't get serviced nearly
as often as the others, making me think it's missing pulses. My main code
is just a print loop, while the IRQ routines run in the background.
Is there some other activity going on in the processor for which I have
failed to account? I have yet to activate the SPI port, so I don't want
to overload the cpu.
Thanks for any thoughts...
-mike
* Michael L. Ross/C33 | Lockheed Engineering & Sciences Co.****
* Robotics Department | 2400 Nasa Rd. 1, Houston, TX 77058*****
*(713)333-7094 voice,(713)333-6071 fax*#include <disclaimer.h>*
* Finger me for my public key. mross@outland.jsc.nasa.gov ****
|
|
1 Message in This Thread: 
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|