only:alphax-4k-gdi

This commit is contained in:
rusefi 2024-08-28 14:18:35 -04:00
parent faff9add3d
commit eaaf2e5720
4 changed files with 18 additions and 7 deletions

View File

@ -33,10 +33,13 @@ void setBoardDefaultConfiguration() {
engineConfiguration->fanPin = Gpio::TLE9104_1_OUT_2;
engineConfiguration->triggerInputPins[0] = Gpio::H144_IN_CRANK; // max9924 is the safer default
engineConfiguration->camInputs[0] = Gpio::H144_IN_SENS1;
engineConfiguration->camInputs[0] = Gpio::H144_IN_SENS1; // Digital Input 1
engineConfiguration->camInputs[1] = Gpio::H144_IN_SENS2; // Digital Input 3
engineConfiguration->lowPressureFuel.hwChannel = H144_IN_AUX4;
engineConfiguration->highPressureFuel.hwChannel = H144_IN_MAP3;
engineConfiguration->vvtPins[0] = Gpio::TLE9104_2_OUT_0; // intake
engineConfiguration->vvtPins[1] = Gpio::TLE9104_2_OUT_1; // exhaust
engineConfiguration->map.sensor.hwChannel = H144_IN_MAP1;
engineConfiguration->clt.adcChannel = H144_IN_CLT;

View File

@ -47,7 +47,7 @@ pins:
- pin: 11A
meta: H144_IGN_4
class: outputs
function: Smart Ignition 4
function: Smart Ignition Coil 4
type: ign
ts_name: ___ Ignition 4
color: orange/brown
@ -55,7 +55,7 @@ pins:
- pin: 12A
meta: H144_IGN_3
class: outputs
function: Smart Ignition 3
function: Smart Ignition Coil 3
type: ign
ts_name: ___ Ignition 3
color: blue
@ -63,7 +63,7 @@ pins:
- pin: 13A
meta: H144_IGN_2
class: outputs
function: Smart Ignition 2
function: Smart Ignition Coil 2
type: ign
ts_name: ___ Ignition 2
color: white
@ -71,7 +71,7 @@ pins:
- pin: 14A
meta: H144_IGN_1
class: outputs
function: Smart Ignition 1
function: Smart Ignition Coil 1
type: ign
ts_name: ___ Ignition 1
color: green

View File

@ -43,7 +43,7 @@ pins:
- pin: 6B
meta: H144_IN_VBATT
class: analog_inputs
function: ECU power supply
function: ECU power supply / Ignition Key Power
ts_name: ___ Battery Sense
type: 12v
@ -71,9 +71,12 @@ pins:
- pin: 10B
meta: H144_IN_CRANK
class: event_inputs
function: VR 9924 Negative
function: Crank / VR 9924 Negative
ts_name: ___ VR Negative
- pin: 11B
function: Crank / VR 9924 Positive
- pin: 19B
function: PPS 1
type: av

View File

@ -91,6 +91,11 @@ void setHyundaiPb() {
// page 98, Fuel System > Engine Control System > Rail Pressure Sensor (RPS) > Specifications
engineConfiguration->highPressureFuel.value2 = 20'000;
#ifdef HW_HELLEN_4K_GDI
engineConfiguration->starterControlPin = Gpio::TLE9104_2_OUT_2; // vvt3
#endif
#ifdef HW_HELLEN_4CHAN
engineConfiguration->triggerInputPins[0] = Gpio::H144_IN_CAM;
engineConfiguration->triggerInputPins[1] = Gpio::H144_IN_D_4;