miata 96 defaults
This commit is contained in:
parent
4342b288e1
commit
983682d11f
|
@ -16,7 +16,6 @@ ENGINES_SRC_CPP = $(PROJECT_DIR)/config/engines/ford_aspire.cpp \
|
||||||
$(PROJECT_DIR)/config/engines/nissan_primera.cpp \
|
$(PROJECT_DIR)/config/engines/nissan_primera.cpp \
|
||||||
$(PROJECT_DIR)/config/engines/nissan_vq.cpp \
|
$(PROJECT_DIR)/config/engines/nissan_vq.cpp \
|
||||||
$(PROJECT_DIR)/config/engines/harley.cpp \
|
$(PROJECT_DIR)/config/engines/harley.cpp \
|
||||||
$(PROJECT_DIR)/config/engines/mazda_miata_nb.cpp \
|
|
||||||
$(PROJECT_DIR)/config/engines/mercedes.cpp \
|
$(PROJECT_DIR)/config/engines/mercedes.cpp \
|
||||||
$(PROJECT_DIR)/config/engines/honda_600.cpp \
|
$(PROJECT_DIR)/config/engines/honda_600.cpp \
|
||||||
$(PROJECT_DIR)/config/engines/honda_k_dbc.cpp \
|
$(PROJECT_DIR)/config/engines/honda_k_dbc.cpp \
|
||||||
|
|
|
@ -151,8 +151,7 @@ static const uint8_t mapBased16IgnitionTable[16][16] = {
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
void miataNAcommonEngineSettings() {
|
||||||
static void miataNAcommonEngineSettings() {
|
|
||||||
engineConfiguration->trigger.type = TT_MAZDA_MIATA_NA;
|
engineConfiguration->trigger.type = TT_MAZDA_MIATA_NA;
|
||||||
engineConfiguration->useOnlyRisingEdgeForTrigger = false;
|
engineConfiguration->useOnlyRisingEdgeForTrigger = false;
|
||||||
engineConfiguration->specs.cylindersCount = 4;
|
engineConfiguration->specs.cylindersCount = 4;
|
||||||
|
|
|
@ -25,7 +25,7 @@ void setMiataNA6_MAP_MRE();
|
||||||
* set engine_type 20
|
* set engine_type 20
|
||||||
*/
|
*/
|
||||||
void setMiata94_MAP_MRE();
|
void setMiata94_MAP_MRE();
|
||||||
|
void miataNAcommonEngineSettings();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* set engine_type 34
|
* set engine_type 34
|
||||||
|
|
|
@ -13,20 +13,7 @@
|
||||||
#include "custom_engine.h"
|
#include "custom_engine.h"
|
||||||
#include "mazda_miata_1_6.h"
|
#include "mazda_miata_1_6.h"
|
||||||
|
|
||||||
/**
|
static void commonNA8() {
|
||||||
* 1994, 1995 NA
|
|
||||||
* Note that ODB-II car have different wiring!
|
|
||||||
*
|
|
||||||
* https://rusefi.com/wiki/index.php?title=Vehicle:Mazda_Miata_1994
|
|
||||||
*
|
|
||||||
* See also setMiataNA_1_6_Configuration
|
|
||||||
*/
|
|
||||||
void setMazdaMiataNA8Configuration() {
|
|
||||||
setMiataNA6_MAP_Frankenso();
|
|
||||||
|
|
||||||
// blue jumper wire to W45 bottom jumper, not OEM
|
|
||||||
engineConfiguration->map.sensor.hwChannel = EFI_ADC_7;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* http://miataturbo.wikidot.com/fuel-injectors
|
* http://miataturbo.wikidot.com/fuel-injectors
|
||||||
* 94-97 (tan) - #195500-2180
|
* 94-97 (tan) - #195500-2180
|
||||||
|
@ -37,6 +24,24 @@ void setMazdaMiataNA8Configuration() {
|
||||||
strcpy(engineConfiguration->engineMake, ENGINE_MAKE_MAZDA);
|
strcpy(engineConfiguration->engineMake, ENGINE_MAKE_MAZDA);
|
||||||
strcpy(engineConfiguration->engineCode, "NA8");
|
strcpy(engineConfiguration->engineCode, "NA8");
|
||||||
|
|
||||||
|
engineConfiguration->injectionMode = IM_SEQUENTIAL;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1994, 1995 NA
|
||||||
|
* Note that ODB-II car have different wiring!
|
||||||
|
*
|
||||||
|
* https://rusefi.com/wiki/index.php?title=Vehicle:Mazda_Miata_1994
|
||||||
|
*
|
||||||
|
* See also setMiataNA_1_6_Configuration
|
||||||
|
*/
|
||||||
|
void setFrankensoMazdaMiataNA8Configuration() {
|
||||||
|
setMiataNA6_MAP_Frankenso();
|
||||||
|
commonNA8();
|
||||||
|
|
||||||
|
// blue jumper wire to W45 bottom jumper, not OEM
|
||||||
|
engineConfiguration->map.sensor.hwChannel = EFI_ADC_7;
|
||||||
|
|
||||||
|
|
||||||
engineConfiguration->vbattDividerCoeff = 9.75;// ((float) (8.2 + 33)) / 8.2 * 2;
|
engineConfiguration->vbattDividerCoeff = 9.75;// ((float) (8.2 + 33)) / 8.2 * 2;
|
||||||
|
|
||||||
|
@ -46,8 +51,7 @@ void setMazdaMiataNA8Configuration() {
|
||||||
engineConfiguration->injectionPins[2] = Gpio::B8; // #3 pin 3Y
|
engineConfiguration->injectionPins[2] = Gpio::B8; // #3 pin 3Y
|
||||||
engineConfiguration->injectionPins[3] = Gpio::B7; // #4 pin 3Z
|
engineConfiguration->injectionPins[3] = Gpio::B7; // #4 pin 3Z
|
||||||
|
|
||||||
engineConfiguration->injectionMode = IM_SEQUENTIAL;
|
void setHellenMiata96() {
|
||||||
|
miataNAcommonEngineSettings();
|
||||||
|
commonNA8();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -9,4 +9,5 @@
|
||||||
|
|
||||||
#include "engine_configuration.h"
|
#include "engine_configuration.h"
|
||||||
|
|
||||||
void setMazdaMiataNA8Configuration();
|
void setFrankensoMazdaMiataNA8Configuration();
|
||||||
|
void setHellenMiata96();
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
/**
|
|
||||||
* @file mazda_miata_nb.cpp
|
|
||||||
*
|
|
||||||
*
|
|
||||||
* @date Feb 18, 2014
|
|
||||||
* @author Andrey Belomutskiy, (c) 2012-2020
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "pch.h"
|
|
||||||
|
|
||||||
#include "mazda_miata_nb.h"
|
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
/**
|
|
||||||
* @file mazda_miata_nb.h
|
|
||||||
*
|
|
||||||
* @date Feb 18, 2014
|
|
||||||
* @author Andrey Belomutskiy, (c) 2012-2020
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "engine_configuration.h"
|
|
||||||
|
|
|
@ -58,4 +58,5 @@ void setMiataNB2_Hellen72();
|
||||||
|
|
||||||
void setMiataNB2_Hellen72_36();
|
void setMiataNB2_Hellen72_36();
|
||||||
|
|
||||||
|
|
||||||
void setHellenNB1();
|
void setHellenNB1();
|
||||||
|
|
|
@ -61,7 +61,6 @@
|
||||||
#include "mazda_miata.h"
|
#include "mazda_miata.h"
|
||||||
#include "mazda_miata_1_6.h"
|
#include "mazda_miata_1_6.h"
|
||||||
#include "mazda_miata_na8.h"
|
#include "mazda_miata_na8.h"
|
||||||
#include "mazda_miata_nb.h"
|
|
||||||
#include "mazda_miata_vvt.h"
|
#include "mazda_miata_vvt.h"
|
||||||
#include "mazda_626.h"
|
#include "mazda_626.h"
|
||||||
#include "m111.h"
|
#include "m111.h"
|
||||||
|
@ -948,8 +947,10 @@ void resetConfigurationExt(configuration_callback_t boardCallback, engine_type_e
|
||||||
case HELLEN_NB2_36:
|
case HELLEN_NB2_36:
|
||||||
setMiataNB2_Hellen72_36();
|
setMiataNB2_Hellen72_36();
|
||||||
break;
|
break;
|
||||||
case HELLEN_NB1:
|
|
||||||
case HELLEN_NA8_96:
|
case HELLEN_NA8_96:
|
||||||
|
setHellenMiata96();
|
||||||
|
break;
|
||||||
|
case HELLEN_NB1:
|
||||||
setHellenNB1();
|
setHellenNB1();
|
||||||
break;
|
break;
|
||||||
case HELLEN_121_NISSAN_4_CYL:
|
case HELLEN_121_NISSAN_4_CYL:
|
||||||
|
@ -1035,7 +1036,7 @@ void resetConfigurationExt(configuration_callback_t boardCallback, engine_type_e
|
||||||
setTle8888TestConfiguration();
|
setTle8888TestConfiguration();
|
||||||
break;
|
break;
|
||||||
case FRANKENSO_MAZDA_MIATA_NA8:
|
case FRANKENSO_MAZDA_MIATA_NA8:
|
||||||
setMazdaMiataNA8Configuration();
|
setFrankensoMazdaMiataNA8Configuration();
|
||||||
break;
|
break;
|
||||||
case MITSU_4G93:
|
case MITSU_4G93:
|
||||||
setMitsubishiConfiguration();
|
setMitsubishiConfiguration();
|
||||||
|
|
Loading…
Reference in New Issue