I don't suppose we have any Motorola 6800 assembly language programmers
on here or do we?
Well, it's been a while, but I've done it. :)
Bob W.
--
N93BD - Rotary Powered BD-4 -
http://www.bob-white.com
3.8 Hours Total Time and holding
Cables for your rotary installation -
http://roblinstores.com/
Several people have responded.
Bob White, Matt Prather, Rick and Cary.
I'll establish a consensus.
I need some one to read this pdf and set the port direction registers
up for one A to D in and a PWM out. Also the real time clock should be
set to 8 ms.
Not a trivial task. These chips are getting complicated because they are
putting in a lot of options. Please comment as much as possible.
MC9RS08KA8RM.pdf
I'll attach the pdf. Sorry people it is rather large.
--
I usually limit attachments to one meg or less. I'll only send this
out only once. You can get more help from here but you will have to sign
up and log in.
https://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=RS08KA&nodeId=01624684499487
This will go a long way to help as it is time consuming. I can handle
the actual program. I am going to count the real time 8 ms interrupts
and squirt fuel on every other one. I am aware they overlap intake
cycles at high RPM.
Thanks
Paul Lamar
It's probably going to be the weekend before I can take a look..
Matt-
OK.. I couldn't help it - I had to take a look at the doc. Seems
like a cool chip and a pretty easy to follow doc. I'd think we can
come up with something that will work.
Matt-
Great Matt.
Paul Lamar
Before anyone gets too far into the 6800 code, don't over look the
Megasquirt series of boxes. Lot of time, lots of thought, so with the
5th (???) Generation the boxes are pretty decent.
http://www.microsquirt.info/
Caveat, for Aircraft there is no built in "limp home" mode in the box
(at least last time I looked). Nor is there secondary box.Only
commercially supported box with redundacy built in is Tracy Crooks ECU
(real world aviation).
As to writing code and hardware development these days, I just don't
have the time, nor desire. That is my day job, when I get home I love to
fire up the Meco torch, or Milling machine, and work with metal. Just my
way of relaxing and not burning out with electronics.
Tom W
Too complicated and too hard to maintain due to the size of the program
IMHO. Also over kill for aircraft use. The $5 555 program will fit on
the back of an envelope :)
BTW I have a set of bare PC boards for megasquirt if some body wants
them. Free. Send me a self addressed and stamped envelope and I will
mail them to you.
Paul Lamar
Paul,
For 'too complicated' try the MPC5554 PowerPC device. 2MB of Flash
Memory, with a 416 pin bga package.
According to the Freescale Brochure, it is simple :)
http://www.freescale.com/files/microcontrollers/doc/brochure/BRFSLSFWTLAUTO.pdf?fpsp=1
I wonder what the heck they are thinking, they need to show a cramped
cubical, sweaty stinky engineers, messy hardware tables, and a stressed
out engineer with a manager staring over his/her shoulder to capture the
real feeling.
Tom W
No thanks :)
I have 20 years of 6502 asm real time programming experience.
http://www.rotaryeng.net/RT1.pdf
The 9S08 16 pin is the smallest 6800 chip I could find with an A to D
and PWM. Something with a lot less stuff in it would be better as long
as it was 6800 based. I have the demo board so I can use that as a
programmer.
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.