To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 1161
1160  |  1162
Subject: 
RE: Workin' its little heart out?
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Mon, 23 Dec 1996 18:58:04 GMT
Original-From: 
Chuck McManis <cmcmanis@freegate.%antispam%net>
Viewed: 
1484 times
  
The trick is to make sure that if you get simulataneous interrupts you
services them both before returning.

----------
From: Mike Ross[SMTP:mross@outland.jsc.nasa.gov]
Sent: Monday, December 23, 1996 12:59 AM
To: handyboard mailing list
Cc: TRP mailing list
Subject: Workin' its little heart out?

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
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR