6.1 Hemi V8 decoder #2010
This commit is contained in:
parent
3a4942fd55
commit
0a23e82baf
|
@ -1,7 +1,7 @@
|
|||
#include "global.h"
|
||||
#include "rusefi_enums.h"
|
||||
#include "rusefi_hw_enums.h"
|
||||
// was generated automatically by rusEfi tool from rusefi_hw_enums.h // was generated automatically by rusEfi tool from rusefi_enums.h // by enum2string.jar tool on Thu Dec 03 23:48:52 EST 2020
|
||||
// was generated automatically by rusEfi tool from rusefi_hw_enums.h // was generated automatically by rusEfi tool from rusefi_enums.h // by enum2string.jar tool on Fri Dec 04 00:17:48 EST 2020
|
||||
// see also gen_config_and_enums.bat
|
||||
|
||||
|
||||
|
@ -1337,6 +1337,8 @@ case TT_3_1_CAM:
|
|||
return "TT_3_1_CAM";
|
||||
case TT_60_2_VW:
|
||||
return "TT_60_2_VW";
|
||||
case TT_CHRYSLER_NGC_36_2_2:
|
||||
return "TT_CHRYSLER_NGC_36_2_2";
|
||||
case TT_DAIHATSU:
|
||||
return "TT_DAIHATSU";
|
||||
case TT_DODGE_NEON_1995:
|
||||
|
@ -1421,8 +1423,6 @@ case TT_TOOTHED_WHEEL_60_2:
|
|||
return "TT_TOOTHED_WHEEL_60_2";
|
||||
case TT_UNUSED:
|
||||
return "TT_UNUSED";
|
||||
case TT_UNUSED_30:
|
||||
return "TT_UNUSED_30";
|
||||
case TT_VVT_BOSCH_QUICK_START:
|
||||
return "TT_VVT_BOSCH_QUICK_START";
|
||||
case TT_VVT_JZ:
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "global.h"
|
||||
#include "rusefi_enums.h"
|
||||
#include "rusefi_hw_enums.h"
|
||||
// was generated automatically by rusEfi tool from rusefi_hw_enums.h // was generated automatically by rusEfi tool from rusefi_enums.h // by enum2string.jar tool on Thu Dec 03 23:48:51 EST 2020
|
||||
// was generated automatically by rusEfi tool from rusefi_hw_enums.h // was generated automatically by rusEfi tool from rusefi_enums.h // by enum2string.jar tool on Fri Dec 04 00:17:47 EST 2020
|
||||
// see also gen_config_and_enums.bat
|
||||
|
||||
|
||||
|
@ -1133,6 +1133,8 @@ case TT_3_1_CAM:
|
|||
return "TT_3_1_CAM";
|
||||
case TT_60_2_VW:
|
||||
return "TT_60_2_VW";
|
||||
case TT_CHRYSLER_NGC_36_2_2:
|
||||
return "TT_CHRYSLER_NGC_36_2_2";
|
||||
case TT_DAIHATSU:
|
||||
return "TT_DAIHATSU";
|
||||
case TT_DODGE_NEON_1995:
|
||||
|
@ -1217,8 +1219,6 @@ case TT_TOOTHED_WHEEL_60_2:
|
|||
return "TT_TOOTHED_WHEEL_60_2";
|
||||
case TT_UNUSED:
|
||||
return "TT_UNUSED";
|
||||
case TT_UNUSED_30:
|
||||
return "TT_UNUSED_30";
|
||||
case TT_VVT_BOSCH_QUICK_START:
|
||||
return "TT_VVT_BOSCH_QUICK_START";
|
||||
case TT_VVT_JZ:
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "global.h"
|
||||
#include "rusefi_enums.h"
|
||||
#include "rusefi_hw_enums.h"
|
||||
// was generated automatically by rusEfi tool from rusefi_hw_enums.h // was generated automatically by rusEfi tool from rusefi_enums.h // by enum2string.jar tool on Thu Dec 03 23:48:51 EST 2020
|
||||
// was generated automatically by rusEfi tool from rusefi_hw_enums.h // was generated automatically by rusEfi tool from rusefi_enums.h // by enum2string.jar tool on Fri Dec 04 00:17:47 EST 2020
|
||||
// see also gen_config_and_enums.bat
|
||||
|
||||
|
||||
|
@ -1279,6 +1279,8 @@ case TT_3_1_CAM:
|
|||
return "TT_3_1_CAM";
|
||||
case TT_60_2_VW:
|
||||
return "TT_60_2_VW";
|
||||
case TT_CHRYSLER_NGC_36_2_2:
|
||||
return "TT_CHRYSLER_NGC_36_2_2";
|
||||
case TT_DAIHATSU:
|
||||
return "TT_DAIHATSU";
|
||||
case TT_DODGE_NEON_1995:
|
||||
|
@ -1363,8 +1365,6 @@ case TT_TOOTHED_WHEEL_60_2:
|
|||
return "TT_TOOTHED_WHEEL_60_2";
|
||||
case TT_UNUSED:
|
||||
return "TT_UNUSED";
|
||||
case TT_UNUSED_30:
|
||||
return "TT_UNUSED_30";
|
||||
case TT_VVT_BOSCH_QUICK_START:
|
||||
return "TT_VVT_BOSCH_QUICK_START";
|
||||
case TT_VVT_JZ:
|
||||
|
|
|
@ -292,7 +292,7 @@ typedef enum {
|
|||
|
||||
TT_2JZ_1_12 = TT_TT_2JZ_1_12,
|
||||
|
||||
TT_UNUSED_30 = 30,
|
||||
TT_CHRYSLER_NGC_36_2_2 = TT_TT_CHRYSLER_NGC_36_2_2,
|
||||
|
||||
// skipped 3/1 with cam sensor for testing
|
||||
TT_3_1_CAM = 31,
|
||||
|
|
|
@ -574,3 +574,39 @@ void initJeep_XJ_4cyl_2500(TriggerWaveform *s) {
|
|||
s->addEvent720(596 + offset, T_PRIMARY, TV_FALL); // 720
|
||||
|
||||
}
|
||||
|
||||
void configureChryslerNGC_36_2_2(TriggerWaveform *s) {
|
||||
s->initialize(FOUR_STROKE_CAM_SENSOR);
|
||||
|
||||
float wide = 30 * 2;
|
||||
float narrow = 10 * 2;
|
||||
|
||||
s->isSynchronizationNeeded = true;
|
||||
s->setTriggerSynchronizationGap(0.5);
|
||||
s->setSecondTriggerSynchronizationGap(1);
|
||||
|
||||
float base = 0;
|
||||
|
||||
for (int i = 0; i < 12; i++) {
|
||||
s->addEvent720(base + narrow / 2, T_PRIMARY, TV_RISE);
|
||||
s->addEvent720(base + narrow, T_PRIMARY, TV_FALL);
|
||||
base += narrow;
|
||||
}
|
||||
|
||||
s->addEvent720(base + wide / 2, T_PRIMARY, TV_RISE);
|
||||
s->addEvent720(base + wide, T_PRIMARY, TV_FALL);
|
||||
base += wide;
|
||||
|
||||
for (int i = 0; i < 15; i++) {
|
||||
s->addEvent720(base + narrow / 2, T_PRIMARY, TV_RISE);
|
||||
s->addEvent720(base + narrow, T_PRIMARY, TV_FALL);
|
||||
base += narrow;
|
||||
}
|
||||
|
||||
s->addEvent720(720 - wide - wide / 2, T_PRIMARY, TV_RISE);
|
||||
s->addEvent720(720 - wide, T_PRIMARY, TV_FALL);
|
||||
|
||||
s->addEvent720(720 - wide / 2, T_PRIMARY, TV_RISE);
|
||||
s->addEvent720(720, T_PRIMARY, TV_FALL);
|
||||
s->useOnlyPrimaryForSync = true;
|
||||
}
|
||||
|
|
|
@ -24,3 +24,5 @@ void configureDodgeStratusTriggerWaveform(TriggerWaveform *s);
|
|||
void initJeep18_2_2_2(TriggerWaveform *s);
|
||||
void initJeep_XJ_4cyl_2500(TriggerWaveform *s);
|
||||
|
||||
void configureChryslerNGC_36_2_2(TriggerWaveform *s);
|
||||
|
||||
|
|
|
@ -607,7 +607,10 @@ void TriggerWaveform::initializeTriggerWaveform(Logging *logger, operation_mode_
|
|||
configureHondaCbr600(this);
|
||||
break;
|
||||
|
||||
case TT_UNUSED_30:
|
||||
case TT_CHRYSLER_NGC_36_2_2:
|
||||
configureChryslerNGC_36_2_2(this);
|
||||
break;
|
||||
|
||||
case TT_MITSUBISHI:
|
||||
initializeMitsubishi4g18(this);
|
||||
break;
|
||||
|
|
|
@ -63,6 +63,8 @@ public class TriggerImage {
|
|||
return "GM 24x";
|
||||
case Fields.TT_TT_GM_7X:
|
||||
return "GM 7x";
|
||||
case Fields.TT_TT_CHRYSLER_NGC_36_2_2:
|
||||
return "Chrysler NGC 36/2/2";
|
||||
case Fields.TT_TT_ONE:
|
||||
return "Single Tooth";
|
||||
case Fields.TT_TT_2JZ_1_12:
|
||||
|
|
Loading…
Reference in New Issue