Search Results



Gary W Har ==> Old ALDL Synchronous format

From owner-diy_efi-archive  Tue Jul 16 15:06:45 1996
Received: by coulomb.eng.ohio-state.edu (940816.SGI.8.6.9/940406.SGI)
	 id OAA02080; Tue, 16 Jul 1996 14:56:43 GMT
Return-Path: <daemon>
Received: from ormail.intel.com by coulomb.eng.ohio-state.edu via ESMTP (940816.SGI.8.6.9/940406.SGI)
	for <diy_efi@coulomb.eng.ohio-state.edu> id KAA02075; Tue, 16 Jul 1996 10:56:39 -0400
Received: from relay.jf.intel.com (relay.jf.intel.com [134.134.131.6]) by ormail.intel.com (8.7.4/8.7.3) with ESMTP id HAA24810 for <diy_efi@coulomb.eng.ohio-state.edu>; Tue, 16 Jul 1996 07:56:38 -0700 (PDT)
Received: (from ccmgate@localhost) by relay.jf.intel.com (8.7.4/8.7.3) id HAA27797 for diy_efi@coulomb.eng.ohio-state.edu; Tue, 16 Jul 1996 07:56:35 -0700 (PDT)
Received: by ccm.hf.intel.com (ccmgate 3.2 #7) Tue, 16 Jul 96 07:56:35 PDT
Date: Tue, 16 Jul 96 07:53:00 PDT
From: Gary W Harris <Gary_W_Harris@ccm.ch.intel.com>
Message-ID: <Tue, 16 Jul 96 07:56:05 PDT_6@ccm.hf.intel.com>
To: diy_efi
Subject: Old ALDL Synchronous format
Sender: owner-diy_efi
Precedence: bulk
Reply-To: diy_efi

     Hi all
     
     Someone a bit ago requested the information on the old GM ALDL 
     synchronous data format.  Here is what I know about it:
     
     ; The data frame consists of a start pattern of 9 ones, (the frame 
     ; sync pattern) followed by the actual data.  Each data word is 
     ; 9 bits, but the first bit is always a 0. Thus, the leading bit is 
     ; stripped away, leaving the 8-bit data byte. MSB is transmitted 
     first.  
     ; The total frame length is 19 data bytes (?).
     ;
     ;
     ; The following is a list of the bytes in order of reception:
     ; Note-- the address is controlled by table @ 0d4c5h for type 4E ECU
     ; an interesting aside--can change RAM/ROM location that is 
     ; monitored by altering address in EPROM table
     ;
     ; A/D conversion values based on 256 counts = 5.000 volts (not 255 
     counts!)
     ; Thus, 1 bit = 19.53 mv.
     ;
     ;  ID_HIGH     high byte of eprom ID#, location 0d002h
     ;  ID_LOW      low byte of eprom ID#, location 0d003h
     ;  IAC         current idle air count
     ;  COOLENT     coolent temp, deg C= (0.75 x value) - 40
     ;  MPH         miles per hour
     ;  MAP         manifold air pressure KPA = (0.3125 x value) + 20
     ;  RPM         RPM = 25 x value
     ;  TPS         throttle position, % = (100 x value) / 255
     ;  INT         integrator value
     ;  O2          o2 sensor value, mv = 4.50 x value
     ;  ERR1        error codes byte 1
     ;  ERR2        error codes byte 2
     ;  ERR3        error codes byte 3
     ;  AFSTAT      air/fuel status byte
     ;  BATT        battery voltage, Volts = value x 0.195
     ;  IOSTAT      descrete IO status byte
     ;  KNOCK       knock counter (rolls over)
     ;  BLM         block learn mode value
     ;  ALDL        aldl counter (rolling--frame cntr?)     
     ;
     ;  
     ;
     ;
     ; Use 2 EPA channels to perform the serial input function.  
     ; EPA0 is set-up to detect a falling edge on PORT 1.0, then 
     ; EPA1 is used to sample the bit value in the middle of the 
     ; the BAUD period.
     ;
     ;
     ;               6.250 mS (=1/160 baud)
     ;         |<------------------------------->|
     ;         |                                 |
     ;
     ;---------+     +\\\\\\\\\\\\\\\\\\\\+------+     +\\\\\\
     ;         |     | data here (1 or 0) |      |     | next data bit
     ;         +-----+\\\\\\\\\\\\\\\\\\\\+      +-----+\\\\\\
     ;
     ;         |     |         |          |<--->|<---1.65 mS high always
     ;         |     |         | 
     ;         |     |         |
     ;         |     |         +--sample bit here, t=2.400 ms
     ;         |<--->|            from falling edge bit start
     ;            |
     ;            +--200 uS start time (low always)
     ;
     ;
     
     
     Cheers,
     
     Gary


John S. Gwynne <jsg@coulomb.eng.ohio-state.edu>