🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sci.electronics
Article #10824

Help needed with RTI on M68HC11EVBU

#10824
From: Kyler Laird
Date: Wed, 30 Sep 1992 16:45
20 lines
1397 bytes
I've had fairly good success with using the OCx pins on the EVB (for
infrared remote faking), but on my current project I'd like to save
them for other functions and use the real time interrupt (RTI) to
periodically call a subroutine.

So far, no luck.  I set the vector up (finish the jmp instruction in
the pseudo vector table of the EVBU ROM), set the MSK and FLGS values,
and clear interrupts, but my routine doesn't seem to get called.

Help! 

BTW, the project I'm working on is a soil moisture sensor that uses
the reflectance of three wavelengths of light.  I'm pulsing the three
lasers and reading the value of the photodiode into three locations.
I'd like to do this (and someday the moisture calculation) in the
background, while the user interface is running in the foreground.

Thanks!

--kyler
Technical Details
Message-ID: <laird.717871552@stable.ecn.purdue.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!pmafire!news.dell.com!swrinde!sdd.hp.com!wupost!usc!elroy.jpl.nasa.gov!ames!purdue!mentor.cc.purdue.edu!noose.ecn.purdue.edu!stable.ecn.purdue.edu!laird

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!pmafire!news.dell.com!swrinde!sdd.hp.com!wupost!usc!elroy.jpl.nasa.gov!ames!purdue!mentor.cc.purdue.edu!noose.ecn.purdue.edu!stable.ecn.purdue.edu!laird
From: laird@stable.ecn.purdue.edu (Kyler Laird)
Newsgroups: sci.electronics
Subject: Help needed with RTI on M68HC11EVBU
Summary: can't get RTI to call subroutine
Keywords: 68HC11EVBU
Message-ID: <laird.717871552@stable.ecn.purdue.edu>
Date: 30 Sep 92 16:45:52 GMT
Sender: news@noose.ecn.purdue.edu (USENET news)
Organization: Purdue University Engineering Computer Network
Lines: 20