Spark settings inverted?
#3
Boost Pope
iTrader: (8)
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,072
Total Cats: 6,625
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.
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.
Thread
Thread Starter
Forum
Replies
Last Post
stoves
Suspension, Brakes, Drivetrain
5
04-21-2016 03:00 PM