Subject:
|
Re: Mars mission IV
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Sat, 15 Mar 2008 13:13:23 GMT
|
Viewed:
|
12687 times
|
| |
| |
Question to H8/3292 specialists (Kekoa Proudfoot, Michael Anderson, Markus Noga,
Ralph Hempel, John Hansen, Dick Swan ... these are the ones I know, ... are
there others... probably?)
I tried to plunge the RCX into sleep mode (not the normal RCX software stand-by
mode), which, according to the datasheet, halts the CPU, but keeps on running
the clock. The hardware manual explains that the H8/3292 can be exited from this
state through an internal or external interrupt.
But, I was not able, after several tests of doing this. I first cleared the 7th
bit of SYSCR, then configured an interrupt, added a dummy interrupt service
routine, finally called "SLEEP". The current dissipation corresponds to the one
noted in the datasheet, but none of the interrupts -neither external, nor
internal, woke-up the RCX. Has anyone got an idea, what I might be doing wrong
here? Am I missing a configuration sequence? Is there a special timing that
needs to be respected?
This is quite intriguing, because it should work according to the datasheet.
http://www.convict.lu/htm/rob/mars_IV.htm
|
|
Message has 1 Reply: | | Re: Mars mission IV
|
| (...) is that we were able to fix the problem: The issue was that we were using the Assembler code bclr #7,@0xFFC4 in order to select sleep mode instead of software stand-by mode. We already had troubles with direct bit setting or clearing with (...) (17 years ago, 15-Mar-08, to lugnet.robotics)
|
Message is in Reply To:
15 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|