Hellen NB2 default tune #4038
This commit is contained in:
parent
19007ade64
commit
0c0db82486
|
@ -131,6 +131,8 @@ void setBoardDefaultConfiguration() {
|
|||
engineConfiguration->acSwitchMode = PI_PULLUP;
|
||||
|
||||
engineConfiguration->vehicleSpeedSensorInputPin = H144_IN_VSS;
|
||||
engineConfiguration->clutchDownPin = H144_IN_RES3;
|
||||
engineConfiguration->clutchDownPinInverted = true;
|
||||
|
||||
engineConfiguration->fuelPumpPin = GPIOG_2; // OUT_IO9
|
||||
engineConfiguration->idle.solenoidPin = GPIOD_14; // OUT_PWM5
|
||||
|
|
|
@ -314,8 +314,9 @@ pins:
|
|||
function: Neutral Switch
|
||||
|
||||
- pin: 4I
|
||||
id: [ GPIOF_8 ]
|
||||
class: [ switch_inputs ]
|
||||
# H144_IN_RES3
|
||||
id: GPIOF_8
|
||||
class: switch_inputs
|
||||
ts_name: 4I - Clutch (A8)
|
||||
function: Clutch Switch
|
||||
|
||||
|
|
|
@ -269,7 +269,7 @@ static void setCommonMazdaNB() {
|
|||
engineConfiguration->cranking.baseFuel = 27.5; // this value for return-less NB miata fuel system, higher pressure
|
||||
|
||||
engineConfiguration->cranking.rpm = 400;
|
||||
engineConfiguration->idle.solenoidFrequency = 300;
|
||||
engineConfiguration->idle.solenoidFrequency = 500;
|
||||
engineConfiguration->rpmHardLimit = 7200;
|
||||
engineConfiguration->useInstantRpmForIdle = true;
|
||||
engineConfiguration->enableFan1WithAc = true;
|
||||
|
@ -315,8 +315,10 @@ static void setCommonMazdaNB() {
|
|||
// set tps_max 540
|
||||
engineConfiguration->tpsMax = 650; // convert 12to10 bit (ADC/4)
|
||||
|
||||
// set idle_position 35
|
||||
engineConfiguration->manIdlePosition = 35;
|
||||
// set idle_position 20
|
||||
engineConfiguration->manIdlePosition = 20;
|
||||
engineConfiguration->iacByTpsTaper = 6;
|
||||
engineConfiguration->acIdleExtraOffset = 15;
|
||||
|
||||
engineConfiguration->specs.cylindersCount = 4;
|
||||
engineConfiguration->specs.firingOrder = FO_1_3_4_2;
|
||||
|
|
Loading…
Reference in New Issue