############################################################ # Last Updated 20 Jul 2005 # # Audi S6, turbocharged 5 cylinders 2.3L (AAN), direct ignition # 135tooth triggerwheel + TDC sync 62BTDC + CAM sync # target board v3.2 # HiZ injectors: INJA .. INJE # Wideband Heater: WB1 # IGNition Drivers: DR_00..DR_04 (power output stage) # PWM IAC connected to INJH ############################################################################## # # Injector map # # This is also known as the VE-TABLE # This table can be scale from [1..100 .* (256), Max_value = 0x6400 ] # or [2..200 .* (256), Max_value = 0xC800 ] # To scale for better resolution config.req_fuel must be divided by 2 # # j[] table represents percentage of req_fuel, # 100 (*256) means req_fuel, 255 (*256) means 2.55*req_fuel j[0]=1F80 1D80 1580 1A80 1A80 1880 1880 1380 0080 0080 0080 0080 j[1]=2180 1F80 2080 1F80 1F80 1E80 2180 1C80 1280 1280 1280 0980 j[2]=2480 2380 2480 2280 2480 2480 2980 2980 2980 2980 2780 2780 j[3]=2780 2780 2480 2580 2880 2A80 2F80 2F80 2F80 2E80 2D80 2C80 j[4]=2780 2880 2A80 2780 2A80 2D80 3480 3480 3380 3380 3180 3080 j[5]=2880 2A80 2A80 2B80 2D80 3080 3680 3680 3680 3680 3680 3580 j[6]=2980 2880 2980 2D80 2F80 3180 3880 3A80 3A80 3A80 3980 3880 j[7]=2A80 2E80 2F80 3180 3480 3580 3B80 3D80 3E80 3E80 3D80 3C80 j[8]=3080 3380 3880 3C80 3D80 4080 4380 4780 4880 4880 4880 4580 j[9]=3580 3A80 3E80 4580 4880 4B80 4D80 4C80 5080 5280 5280 5280 j[A]=3880 3F80 4380 4B80 5080 5680 5680 5980 5980 5A80 5B80 5A80 j[B]=3C80 4280 4980 4F80 5680 5E80 5F80 5F80 6080 6080 6080 5E80 # =========== KPa Bins =============== # This is an example settings for a Naturally Aspirated Engine # 0x14 = 20 # 0x1E = 30 # 0x28 = 40 # 0x32 = 50 # 0x3C = 60 # 0x4B = 75 # 0x5A = 90 # 0x69 = 105 k[0]=0F 17 1E 28 32 3C 46 50 55 5A 5F 64 # ========== RPM bins ================ # RPMbin = 0x00 * 100RPM # 0x05 = 500 RPM # 0x0A = 1000 RPM # 0x0F = 1500 RPM # 0x14 = 2000 RPM # 0x1E = 3000 RPM # 0x28 = 4000 RPM # 0x32 = 5000 RPM # 0x40 = 6400 RPM r[0]=07 0C 12 19 1F 25 2B 31 37 3D 43 4A # ============= lambda correction map =============== # This is what EGO attempts to correct to # l[] table is lambdacorr factor (most useful range is 56..120), # value = 1/target_lambda: # * decimal 56 (0x38) means (200+56)/256 = * 1.0 (lambda = 1.0 as well) # * 0 means (200+0)/256 = * 200/256 = 0.78 (lambda=1.25 extremely lean) # * decimal 255 means (200+255)/256 = 455/256 (stupid rich, not sane for gasoline) # l[0]=37 37 37 37 37 37 37 37 37 37 37 37 l[1]=37 37 37 2D 2D 2D 2D 2D 37 37 37 37 l[2]=37 37 27 21 1B 1B 1B 1B 37 37 37 37 l[3]=37 31 24 1B 1B 1B 1B 1B 37 37 37 37 l[4]=37 31 24 1B 1B 1B 1B 1B 37 37 37 37 l[5]=37 31 25 1B 1B 1B 1B 1B 37 37 37 37 l[6]=37 37 2D 1B 1B 1B 1B 1B 37 37 37 37 l[7]=37 37 2D 2D 2D 2D 2D 2D 37 37 37 37 l[8]=37 37 37 37 37 37 37 37 37 37 37 37 l[9]=37 37 37 37 37 37 37 37 37 37 37 37 l[A]=37 47 47 47 47 47 47 47 47 47 47 37 l[B]=55 55 55 5E 63 66 66 66 66 66 66 66 # ============== Ingition map ==================== # [0.25 deg] n[0]=3D 32 28 40 40 40 78 AC AC AC AC AC n[1]=3C 2D 28 40 40 40 78 AC AC AC AC AC n[2]=37 2D 34 3C 48 44 40 44 AC AC AC AC n[3]=37 2D 34 44 50 58 5C 5C 60 64 64 64 n[4]=33 32 3C 4C 58 60 64 64 68 6C 6C 6C n[5]=30 36 40 50 5C 64 68 68 6C 6C 6C 6C n[6]=40 35 44 54 60 68 6C 6C 70 70 70 70 n[7]=44 38 4C 5C 68 6C 78 78 7C 80 80 80 n[8]=44 38 4C 5C 68 6C 78 78 7C 80 80 80 n[9]=44 3C 50 5C 70 74 7C 80 84 88 88 88 n[A]=44 40 58 64 78 7C 84 88 8C 90 90 90 n[B]=44 44 60 6C 80 84 8C 90 94 98 98 98 # injector sequence # maskconfig.alternate elements are used # (going reverse order, last element is looked up first). # FETs are numbered 01,02,04,08,10,20,40,80. # # Injectors Populated: ## INJA[01, EC36p??] ## INJB[02, EC36p??] ## INJF[20, EC36p??] ## INJG[40, EC36p??] # PWM IAC: ## INJE[10] # Note 53124 fire order: h[0]=08 02 01 04 10 00 40 80 # NOT used Obsolete h[1]=00 00 00 00 00 00 00 00 # Ingition Driver # # Third line contains the ignition sequence, each element # represents the bitnumber of the p259 output going to coil # we start at the end (ignchmax) and work our way back # DR_00[h[2] = 00, EC36p?] # DR_01[h[2] = 01, EC36p?] # DR_02[h[2] = 02, EC36p?] # DR_03[h[2] = 03, EC36p?] # 53124 fire order h[2]=03 01 00 02 04 07 07 07 # Boostcontrol target b[0]=FF 00 00 00 1E 20 12 12 12 12 12 12 # TPS t[0]=1A 0E 06 04 02 00 00 00