C4 Tech/Performance L98 Corvette and LT1 Corvette Technical Info, Internal Engine, External Engine

ECM Timing

Thread Tools
 
Search this Thread
 
Old Mar 30, 2012 | 04:19 AM
  #1  
Cliff Harris's Avatar
Cliff Harris
Thread Starter
Race Director
15 Year Member
 
Joined: Apr 2002
Posts: 10,036
Likes: 346
From: Anaheim CA
Default ECM Timing

I thought I'd clarify this, since I read somewhere that the ECM in early C4s updates "thousands of times per second". Uh, not quite.

This information is specific to the 1227165 ECMs used in 1986 - 1989 Corvettes. The other ECMs are similar and I believe they got faster in the later C4s with the LT1 and LT4 engines.

The master interrupt clock in the microcontroller creates an interrupt every 6.25 ms (millisecond = 1/1000 of a second). 6.25 ms is 0.00625 seconds. Every time an interrupt comes along, the Major Loop Counter at address $0000 in RAM is incremented by one. That counter is used as an index into the Major Loop Segment Table, which looks like this:

Code:
*******************************************************
*  Major Loop Segment Table
*******************************************************
LCCE4:  FDB $CD04   ;  0.00 ms, Segment 0,  Do nothing, exit via RTS
        FDB $EDA3   ;  6.25 ms, Segment 1,  Output Bit Signals (TCC, CCP etc)
        FDB $E07F   ; 12.50 ms, Segment 2,  VSS Calculation
        FDB $EA28   ; 18.75 ms, Segment 3,  Misc 100 ms
        FDB $F8F9   ; 25.00 ms, Segment 4,  Log RAM to Heads Up
        FDB $ECEA   ; 31.25 ms, Segment 5,  A/C, Closed Loop & Cooling fan
        FDB $F3B6   ; 37.50 ms, Segment 6,  Log RAM to Heads Up, read coolant temperature
        FDB $EA95   ; 43.75 ms, Segment 7,  Look up Coolant variables
        FDB $CD04   ; 50.00 ms, Segment 8,  Do Nothing, exit via RTS
        FDB $E34E   ; 56.25 ms, Segment 9,  A.I.R. Injection Management
        FDB $EB3A   ; 62.50 ms, Segment A,  Look up Manifold Air Temp Variables
        FDB $DEE5   ; 68.75 ms, Segment B,  EGR
        FDB $E75D   ; 75.00 ms, Segment C,  Charcoal Canister Purge
        FDB $EF04   ; 81.25 ms, Segment D,  Diagnostics
        FDB $DE6D   ; 87.50 ms, Segment E,  TCC (ADC voltage conversion)
        FDB $EC23   ; 93.75 ms, Segment F,  Air/Fuel Major Loop
When the Major Loop Counter is 0, Segment 0 is executed. 6.25 ms later the Major Loop Counter is 1 and Segment 1 is executed. This continues until all 16 segments are executed. To execute all 16 segments takes 16 x 6.25 ms = 100 ms or 1/10 second. Then the ECM does some tricky arithmetic and starts over with Segment 0. The ECM continues doing this until the Major Loop Counter reaches 160. Then the Major Loop Counter is reset to zero and the cycle begins again. So 160 x 6.25 ms = 1.000 seconds. That means that the ECM is updating 160 times a second. Also, not every parameter is updated during every segment, so most of them are updated once per 16 segment cycle, or every 1/10 of a second. In most cases the updates occur 10 times a second, not "thousands of times".

This explanation is greatly simplified and there are a lot of things going on while the Major Segments are being executed. Some happen on every 6.25 ms interrupt, others happen every other interrupt (every 12.5 ms), etc. So 160 times a second is the most often that any one parameter or output is updated.
Reply




All times are GMT -4. The time now is 09:28 PM.

story-0
150 hp to 1,250 hp: Every Corvette Generation Compared by the Specs That Matter

Slideshow: From C1 to C8 we compare every Corvette generation by the numbers.

By Joe Kucinski | 2026-05-12 16:54:12


VIEW MORE
story-1
8 Coolest Corvette Pace Cars (and Replicas) of All Time

Slideshow: Some Corvette pace cars became collectible legends, while others perfectly captured the look and attitude of their era.

By Verdad Gallardo | 2026-05-11 09:50:51


VIEW MORE
story-2
Top 10 Corvette Engines RANKED by Peak Torque (70+ Years of Muscle!)

Slideshow: Ranking the top 10 Corvette engines by torque output.

By Joe Kucinski | 2026-05-05 11:58:09


VIEW MORE
story-3
Corvette ZR1X Will Be Pacing the Indy 500, And Could Probably Race, Too!

Slideshow: A Corvette pace car nearly matching IndyCar speeds sounds exaggerated, until you look at the numbers.

By Verdad Gallardo | 2026-05-04 20:03:36


VIEW MORE
story-4
Top 10 Corvettes Coming to Mecum Indy 2026!

Among a rather large group of them.

By Brett Foote | 2026-05-04 13:56:44


VIEW MORE
story-5
Top 10 C9 Corvette MUST-HAVES to Fix These C8 Generation Flaws!

Slideshow: the top 10 things Corvette owners want in the C9 Corvette

By Michael S. Palmer | 2026-04-30 12:41:15


VIEW MORE
story-6
10 Revolutionary 'Corvette Firsts' Most People Don't Know

Slideshow: 10 Important Corvette 'firsts' that every fan should know.

By Joe Kucinski | 2026-04-29 17:02:16


VIEW MORE
story-7
5 Reasons to Upgrade to an LS6-Powered Corvette; 5 Reasons to Stay LT2

Slideshow: Should you buy a 2020-2026 Corvette or wait for 2027?

By Michael S. Palmer | 2026-04-22 10:08:58


VIEW MORE
story-8
2027 Corvette vs The World: Every C8 vs Its Closest Competitor

Slideshow: 2027 Corvette lineup vs the world.

By Joe Kucinski | 2026-04-24 16:12:42


VIEW MORE
story-9
10 Most Common Corvette Problems of the Last 20 Years!

Slideshow: 10 major Corvette problems from the last 20 years.

By Joe Kucinski | 2026-04-14 16:37:05


VIEW MORE