From d25853085b138e3c35bf91a608bcfb87f5cdf25c Mon Sep 17 00:00:00 2001 From: rusefi Date: Sat, 31 Aug 2024 19:55:18 -0400 Subject: [PATCH] pinout progress only:alphax-4k-gdi --- .../boards/hellen/alphax-4K-GDI/connectors/gdi-A.yaml | 7 +++++++ .../boards/hellen/alphax-4K-GDI/connectors/gdi-B.yaml | 6 ++++++ firmware/config/boards/hellen_meta.h | 5 ++++- 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/firmware/config/boards/hellen/alphax-4K-GDI/connectors/gdi-A.yaml b/firmware/config/boards/hellen/alphax-4K-GDI/connectors/gdi-A.yaml index 195604f350..abfcdb72b5 100644 --- a/firmware/config/boards/hellen/alphax-4K-GDI/connectors/gdi-A.yaml +++ b/firmware/config/boards/hellen/alphax-4K-GDI/connectors/gdi-A.yaml @@ -174,6 +174,13 @@ pins: function: Sensor GND type: agnd + - pin: 28A + function: 28A input + ts_name: ___ input + id: [H144_IN_O2S2_DIGITAL, H144_IN_O2S2] + class: [switch_inputs, analog_inputs] + type: av + - pin: 33A function: Wastegate Low Side ts_name: ___ Wastegate Solenoid diff --git a/firmware/config/boards/hellen/alphax-4K-GDI/connectors/gdi-B.yaml b/firmware/config/boards/hellen/alphax-4K-GDI/connectors/gdi-B.yaml index 70fccfdd81..48f69ee07f 100644 --- a/firmware/config/boards/hellen/alphax-4K-GDI/connectors/gdi-B.yaml +++ b/firmware/config/boards/hellen/alphax-4K-GDI/connectors/gdi-B.yaml @@ -102,6 +102,12 @@ pins: function: Digital Input 1 ts_name: ___ Digital Input 1 + - pin: 22B + id: [H144_IN_AUX2_DIGITAL, H144_IN_AUX2_DIGITAL, H144_IN_AUX2] + class: [event_inputs, switch_inputs, analog_inputs] + function: Input 2 + ts_name: ___ Input 2 + - pin: 23B function: Fuel Low Pressure type: av diff --git a/firmware/config/boards/hellen_meta.h b/firmware/config/boards/hellen_meta.h index e23880e1cf..266ddfa9b0 100644 --- a/firmware/config/boards/hellen_meta.h +++ b/firmware/config/boards/hellen_meta.h @@ -126,6 +126,7 @@ void detectHellenBoardType(); #define H144_IN_AT2 EFI_ADC_28 // IN_IAT AIN14 PC3 #define H144_IN_IAT EFI_ADC_13 +#define H144_IN_IAT_DIGITAL C3 #define H144_IN_AT1 EFI_ADC_29 // IN_PPS AIN18 PA3 @@ -143,8 +144,10 @@ void detectHellenBoardType(); // IN_MAP1 AIN9 PC0 #define H144_IN_MAP1 EFI_ADC_10 +#define H144_IN_MAP1_DIGITAL C0 // AIN10 PC1 #define H144_IN_MAP2 EFI_ADC_11 +#define H144_IN_MAP2_DIGITAL C1 // AIN15 A15 PA2. Also ADC3#2 for knock #define H144_IN_MAP3 EFI_ADC_2 #define H144_IN_MAP3_DIGITAL A2 @@ -162,8 +165,8 @@ void detectHellenBoardType(); #define H144_IN_AUX1 EFI_ADC_8 -// #define H144_IN_AUX2 EFI_ADC_14 +#define H144_IN_AUX2_DIGITAL C4 // AIN20 PA7 #define H144_IN_AUX3 EFI_ADC_7