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

MAT Sensor - Funny Stuff!

Thread Tools
 
Search this Thread
 
Old Sep 7, 2011 | 01:31 AM
  #21  
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

The code is extremely complex, and this is some of the earliest and simplest! GM learned a lot along the way and incorporated that knowledge into the later versions. Also things got a lot more sophisticated with the sequential injection, multiple O2 sensors, etc.

I think the average person is much better off staying at the high level of the tuner software. Getting down to the "bare metal" is a LOT of work.

This code was disassembled and commented back in the mid '90s. The author didn't take credit for his work, but my guess is that it was Ward Spoonemore who did the original work (from this comment: "REV 8/1/95, WS"). I think he posted it originally on his web site, which is long gone. Some of the comment style is different, so I think somebody else also contributed, possibly Bruce Plecan. These guys are both gone so there is no way to find out for sure.

The original disassembly and commenting must have been an enormous undertaking. I have spent probably 9 months on this and I had a HUGE head start. There are still areas I don't understand and many of the status bits are still mysteries. I have also seen that some of the later "hacs" were based on the $32 code and the errors were propagated along with the good parts. Here is a good example of that:

Original comments:
Code:
LC00E:   FDB 3277    ; 66Hz, VATS Ck Value, Fail if VATS L.T.
LC010:   FDB 1638    ; 33hZ, VATS Ck Value, Fail if VATS G.T.
When I first saw that I thought, "That can't be right. A lower frequency will have a longer period and the count should be HIGHER". After a lot of code analysis, these are my revised comments:

Code:
LC00E:  FDB 3277    ; VATS Check Value, Fail if VATS lower than 20 Hz
LC010:  FDB 1638    ; VATS Check Value, Fail if VATS higher than 40 Hz
As you can see, the frequencies are different and reversed. We know that the VATS frequency is nominally 30Hz, which would be outside the frequency range of the original comments (33 to 66 Hz). This error has been repeated over and over in later hacs.

In case you're wondering ;-), here is where the numbers come from:
Counter frequency is 65536 Hz. Inverting gives a period of 15.258 us. Multiply 15.258 us * 3277 = .0500 s. Inverting that gives 20.0 Hz. Another way to get there is to divide 65536 by 3277, but that's not the way the code does it.
Reply
Old Sep 7, 2011 | 08:09 AM
  #22  
Aardwolf's Avatar
Aardwolf
Race Director
20 Year Member
Liked
Loved
Community Favorite
 
Joined: Jun 2004
Posts: 13,944
Likes: 705
From: WI
Default

Interesting thread! I originally relocated the MAT because I ported the plenum and it stuck up right up in front of a runner port. Plus if it went bad it would be a chore to change. Since then I have the miniram with no place to put it without tapping a port. I find it interesting to see the temp when data logging. I have been using 32b for tuning lately. Are you going to release a new hac based on your work?
Reply
Old Sep 7, 2011 | 11:24 PM
  #23  
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

My work is all posted on my web page. I update it every time I make a change, which is almost every day. Here's the link:

http://home.earthlink.net/~cliff_har...5/BUA/BUA.html
Reply




All times are GMT -4. The time now is 12:13 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