Shop OBEX P1 Docs P2 Docs Learn Events
Homebrew EFI Project - Page 3 — Parallax Forums

Homebrew EFI Project

13»

Comments

  • Thanks, I will test the rig on Saturday also.
  • Beavis,
    We have seen a lot of theoretical coding discussion. Do you think you could post some details and photographs of the rig?
  • Beavis3215Beavis3215 Posts: 229
    edited 2015-10-30 03:59
    Look for pics above on page one. Not a lot to see yet. Just a piece of an engine block with a OHC being turned by an electric motor. A home made cam sensor communicating with a propeller on a PDB, making LEDS flash for now.
  • kwinnkwinn Posts: 8,697
    @Beavis3215

    Sorry for the delay in posting. Got tied up on a service call.

    I had been wondering if doing the timing calculations in time (uS) rather than degrees might make the coding simpler and came across this PDF on spark timing.

    The statement “Given the same circumstances of mixture strength, cylinder filling and CR, the time taken for the mixture to fully ignite and burn is the same regardless of engine speed.” pretty much confirmed my thinking. By doing the calculations in microseconds per revolution and microseconds of advance a lot of the trig functions, multiplies, and divides should be eliminated.
  • My latest code is in clock ticks.
  • Quick question, If I were interested in PASM, does the SPIN interpreter understand PASM, or do I need something else?
  • JonnyMacJonnyMac Posts: 9,105
    edited 2015-11-12 01:20
    Quick question, If I were interested in PASM, does the SPIN interpreter understand PASM, or do I need something else?

    The Propeller Tool and Propeller IDE know how to compile programs that include Spin and PASM; you don't need any special tools.

    In fact, the Spin interpreter is a PASM cog (that is loaded from the silicon); it reads compiled Spin code from the hub and runs appropriate assembly routines. If you search the forums you can find the source code for the Spin interpreter. Be warned: it's not for beginners. Chip Gracey writes code that is very tightly wound often co-mingling routines in very subtle ways.

    PASM is the native language of the Propeller, the machine's language. There are a couple good PDFs floating around that will get you started with PASM.
Sign In or Register to comment.