only: 6G72 Trigger Pattern #5593

This commit is contained in:
rusefillc 2023-11-08 14:51:12 -05:00
parent a02da0bde7
commit 27e479f447
6 changed files with 8 additions and 3 deletions

View File

@ -96,6 +96,8 @@ trigger_type_e getVvtTriggerType(vvt_mode_e vvtMode) {
return trigger_type_e::TT_VVT_MITSUBISHI_4G69;
case VVT_MITSUBISHI_3A92:
return trigger_type_e::TT_VVT_MITSUBISHI_3A92;
case VVT_MITSUBISHI_6G72:
return trigger_type_e::TT_VVT_MITSU_6G72;
case VVT_MITSUBISHI_6G75:
case VVT_NISSAN_MR:
return trigger_type_e::TT_NISSAN_MR18_CAM_VVT;

View File

@ -423,7 +423,7 @@ enum class trigger_type_e : uint32_t {
// trigger setup matches 4G15T
TT_VVT_MITSUBISHI_4G69 = 78,
TT_MITSU_6G72_CAM = 79,
TT_VVT_MITSU_6G72 = 79,
// do not forget to edit "#define trigger_type_e_enum" line in integration/rusefi_config.txt file to propogate new value to rusefi.ini TS project
// do not forget to invoke "gen_config.bat" once you make changes to integration/rusefi_config.txt

View File

@ -112,6 +112,8 @@ typedef enum __attribute__ ((__packed__)) {
VVT_FORD_COYOTE = 19,
VVT_MITSUBISHI_6G72 = 20,
} vvt_mode_e;
/**

View File

@ -489,7 +489,7 @@ void TriggerWaveform::initializeTriggerWaveform(operation_mode_e triggerOperatio
initializeNissanVQvvt(this);
break;
case trigger_type_e::TT_MITSU_6G72_CAM:
case trigger_type_e::TT_VVT_MITSU_6G72:
case trigger_type_e::TT_VVT_MITSUBISHI_3A92:
initializeVvt3A92(this);
break;

View File

@ -188,6 +188,7 @@ static angle_t adjustCrankPhase(int camIndex) {
case VVT_MAZDA_SKYACTIV:
case VVT_MITSUBISHI_4G69:
case VVT_MITSUBISHI_3A92:
case VVT_MITSUBISHI_6G72:
case VVT_MITSUBISHI_6G75:
case VVT_HONDA_K_EXHAUST:
return tc->syncAndReport(crankDivider, 0);

View File

@ -286,7 +286,7 @@ end_struct
#define debug_mode_e_enum "INVALID", "TPS acceleration enrichment", "INVALID", "Stepper Idle Control", "Engine Load accl enrich", "Trigger Counters", "Soft Spark Cut", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "SD card", "sr5", "Knock", "INVALID", "Electronic Throttle", "Executor", "Bench Test / TS commands", "INVALID", "Analog inputs #1", "INSTANT_RPM", "INVALID", "Status", "INVALID", "INVALID", "MAP", "Metrics", "INVALID", "Ion Sense", "TLE8888", "Analog inputs #2", "Dwell Metric", "INVALID", "INVALID", "Boost Control", "INVALID", "INVALID", "ETB Autotune", "Composite Log", "INVALID", "INVALID", "INVALID", "Dyno_View", "Logic_Analyzer", "INVALID", "TCU", "Lua"
custom debug_mode_e 1 bits, U08, @OFFSET@, [0:5], @@debug_mode_e_enum@@
#define vvt_mode_e_enum "Inactive", "Single Tooth", "Toyota 3 Tooth", "Miata NB2", "Mitsu 4G69", "Bosch Quick Start", "4/1", "ST 170", "Ford Barra 3+1", "Nissan VQ", "Honda K Intake", "Nissan MR18", "Mitsu 3A92", "VTwin by MAP", "Mitsu 6G75", "Mazda Skyactiv", "Honda K Exhaust", "Mitsubishi 4G92/93/94", "Mitsubishi 4G63", "Ford Coyote"
#define vvt_mode_e_enum "Inactive", "Single Tooth", "Toyota 3 Tooth", "Miata NB2", "Mitsu 4G69", "Bosch Quick Start", "4/1", "ST 170", "Ford Barra 3+1", "Nissan VQ", "Honda K Intake", "Nissan MR18", "Mitsu 3A92", "VTwin by MAP", "Mitsu 6G75", "Mazda Skyactiv", "Honda K Exhaust", "Mitsubishi 4G92/93/94", "Mitsubishi 4G63", "Ford Coyote", "Mitsu 6G72"
custom vvt_mode_e 1 bits, U08, @OFFSET@, [0:5], @@vvt_mode_e_enum@@
! At the moment TIM1, TIM2, TIM3 and TIM9 are configured as ICU