VVT progress

This commit is contained in:
rusefi 2017-07-22 20:43:54 -04:00
parent 40e060b5a2
commit 7d7c0b5d99
3 changed files with 5 additions and 4 deletions

View File

@ -268,7 +268,7 @@ void setMazdaMiata2003EngineConfiguration(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
engineConfiguration->vvtMode = MIATA_NB2;
boardConfiguration->vvtCamSensorUseRise = true;
engineConfiguration->vvtDisplayInverted = true;
engineConfiguration->vvtOffset = 83;
engineConfiguration->vvtOffset = 98; // 2003 red car value
engineConfiguration->activateAuxPid1 = true; // todo: remove this field?
engineConfiguration->auxPidFrequency[0] = 300;
@ -411,6 +411,7 @@ void setMazdaMiata2003EngineConfigurationNewBoard(DECLARE_ENGINE_PARAMETER_SIGNA
memcpy(config->veLoadBins, ve18vvtLoadBins, sizeof(ve18vvtLoadBins));
copyFuelTable(mapBased18vvtVeTable_NA_fuel_rail, config->veTable);
engineConfiguration->vvtOffset = 83; // 2002 green car value
memcpy(config->afrRpmBins, targetAfrRpmBins, sizeof(targetAfrRpmBins));
memcpy(config->afrLoadBins, targetAfrLoadBins, sizeof(targetAfrLoadBins));

View File

@ -725,7 +725,7 @@ custom pin_mode_e 4 bits, U32, @OFFSET@, [0:5], @@pin_mode_e_enum@@
int tpsAccelLength;;"cycles", 1, 0, 1, 200, 0
float tpsAccelEnrichmentThreshold;;"roc", 1, 0, 0, 200, 3
float vvtOffset;set vvt_offset X;"value", 1, 0, -720, 1000, 5
float vvtOffset;set vvt_offset X;"value", 1, 0, -720, 1000, 1
int engineLoadAccelLength;;"cycles", 1, 0, 1, 200, 0

View File

@ -59,7 +59,7 @@ enable2ndByteCanID = false
; see PAGE_0_SIZE in C source code
; CONFIG_DEFINITION_START
; this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Sat Jul 15 15:30:50 EDT 2017
; this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Sat Jul 22 20:43:02 EDT 2017
pageSize = 16376
page = 1
@ -576,7 +576,7 @@ page = 1
;skipping unusedalternatorControl offset 2168
tpsAccelLength = scalar, S32, 2184, "cycles", 1, 0, 1, 200, 0
tpsAccelEnrichmentThreshold = scalar, F32, 2188, "roc", 1, 0, 0, 200, 3
vvtOffset = scalar, F32, 2192, "value", 1, 0, -720, 1000, 5
vvtOffset = scalar, F32, 2192, "value", 1, 0, -720, 1000, 1
engineLoadAccelLength = scalar, S32, 2196, "cycles", 1, 0, 1, 200, 0
engineLoadDecelEnleanmentThreshold = scalar, F32, 2200, "roc", 1, 0, 0, 200, 3
engineLoadDecelEnleanmentMultiplier = scalar, F32, 2204, "coeff", 1, 0, 0, 200, 3