Matt, this is what the initial files look like
when a junk1 project is started. The board is up and running and
LED are blinking :)
--------------------------------------------------------
This demo is pretty close to what we are looking for. About two pages.
Not much.
The Code Warrior IDE is rather tricky as all projects are named
"name.asm"
everything must go in a separate folder.
Here too is a short video of what the board is doing in the default
demo.
Paul Lamar
<snip
OK Paul. That looks pretty familiar.. I'll see what I can put together.
Matt-
I am still trying to figure out this IDE. It is all Czech to me:)
Paul Lamar
There are some sourceforge.org IDE's and sim/emulators for 6800 family
chipsets - although I have not used them so I don't know useful they are.
Cary
OK.. I found the included files - things like tasc0 and adr are
defined there. Kinda fills in some blanks between the device doc and
the code example..
Matt-
Here is the IDE getting started instructions in C.
I hope it is pretty much the same for asm.
-----------------------------------------------------------
Matt, any luck? Would a demo board and Code Warrior help?
Paul Lamar
What would help me with projects/hobbies like this is not having a day
job.
:)
I don't think there's that much difference between the demo program
and what you're looking for. It's already reading the A-D converter -
but sending the value out the serial port. I gather you want to have
the A-D value converted to a PWM output?
What's this business about the 8ms real time clock? Is that to be the
period of the PWM signal?
Matt-
There is a timer device in there that will interrupt the processor every
one
ms.
This can be used to build a real time clock with a resolution of 1 ms.
Something I implemented back in the late 1970's in the road test system.
In this case I would like to use it to have the super 555 run on its own
reading
the A To D every 16 ms and generating a PW pulse and outputting it to the
injector switch.
No e-shaft trigger required. Saves a lot of hardware. Basically I suspect
this is
what Tracy is doing as there is no time to sync the injection with e-shaft
position at 7500 RPM and still get a required injection pulse width of 90%
of 16 MS.
That A to D process and PWM process may only take a few hundred micro
seconds
at most so between 16 ms real time interrupts the super 555 is twiddling
its
thumbs sitting around doing nothing :)
Each ms contains 1000 micro seconds so the processor is loafing indeed:)
Paul Lamar
That's straightforward. Should be able to come up with something this
evening.
Matt-
Paul, the sensor-A/D conversion-PWM output -injector firing cycle doesn't
need to be completed within one revolution of the e-shaft. It only needs to
be initiated once per revolution. It can actully always fire the injector
on the following revolution,then reset with the next trigger pulse occuring
during the non firing time of the injector to always inject one revolution
after the trigger pulse. The injector is obviously capable of running at
this frequency since the RX8 car can run at higher RPM than the aircraft
version with race cars shifting at twice the RPM we need.
george grimes
Let me get this straight using Vince's ASCII art.
Each character is one ms. Seven MS for one rev.
The pound sign is injector dead time.
The dollar sign is injector open time.
******* ******* ******* *******
##$$$$$$$$## ##$$$$$$$$##
Now you want to do what?
Paul Lamar
--
The Rotary Engine NewsLetter. Powered by Linux.
ACRE NL web site.
http://www.rotaryeng.net
Youtube key word UTUBPLEASE
Copyright 1998-2009 All world wide rights reserved.