Notices
MEGAsquirt A place to collectively sort out this megasquirt gizmo

Spark settings inverted?

Thread Tools
 
Search this Thread
 
Old Sep 28, 2009 | 11:47 AM
  #1  
Alta_Racer's Avatar
Thread Starter
Junior Member
iTrader: (4)
 
Joined: Oct 2006
Posts: 228
Total Cats: 7
From: Alberta Canada
Default Spark settings inverted?

What exactly do the spark inverted yes/no settings change?

I this a change to rising/falling edge trigger?

Ron
Old Sep 28, 2009 | 11:50 AM
  #2  
Braineack's Avatar
Boost Czar
iTrader: (62)
 
Joined: May 2005
Posts: 80,552
Total Cats: 4,368
From: Chantilly, VA
Default

https://www.miataturbo.net/forum/t33964/


/thread.
Old Sep 28, 2009 | 11:56 AM
  #3  
Joe Perez's Avatar
Boost Pope
iTrader: (8)
 
Joined: Sep 2005
Posts: 34,402
Total Cats: 7,523
From: Chicago. (The less-murder part.)
Default

That setting changes the output polarity of the spark output driver, specifically, whether the CPU pins used are high in the "resting" state and go low during the "dwell" state, or vise-versa.

In the "usual" configuration, the output driver circuit is inverting, such that the output is high (and thus, the coil conducts) when the CPU pin is low. (This is why coils fry during a reflash, and why some cars pop at poweron). In this configuration, you must select Inverted = NO (which is somewhat counter-intuative.)

In my "improved" output circuit (linked to above), the spark drivers are non-inverting (technically, they are double-inverting) so that when the CPU pin is low (or the CPU is inactive) the final output is also low. In this configuration, you set Inverted = YES (which, again, is silly, but it's the way it is.)



The primary input trigger (on the MS1) is always falling-edge detect, with respect to the CPU itself. This is due to the fact that the pin used for the primary trigger is the hardware IRQ line, and the CPU is "hard-wired" to only look at falling edges on that line. Inversion at the input circuit must be taken into account in determining whether this corresponds to a leading or trailing edge.
Old Sep 28, 2009 | 07:12 PM
  #4  
Alta_Racer's Avatar
Thread Starter
Junior Member
iTrader: (4)
 
Joined: Oct 2006
Posts: 228
Total Cats: 7
From: Alberta Canada
Default

Thanks for the responses, that's what I needed to know.
Old Sep 28, 2009 | 09:08 PM
  #5  
Joe Perez's Avatar
Boost Pope
iTrader: (8)
 
Joined: Sep 2005
Posts: 34,402
Total Cats: 7,523
From: Chicago. (The less-murder part.)
Default

Ipsa scientia potestas est.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
stoves
Suspension, Brakes, Drivetrain
5
Apr 21, 2016 03:00 PM
90 Turbo
MEGAsquirt
19
Oct 19, 2015 03:23 PM
The Gleas
MEGAsquirt
3
Oct 1, 2015 09:30 AM
mx592
Suspension, Brakes, Drivetrain
1
Oct 1, 2015 12:45 AM
FrankB
Miata parts for sale/trade
6
Sep 30, 2015 11:48 AM




All times are GMT -4. The time now is 04:14 AM.