From 44192b2889041bf45e93aa0ad53d11122b07d1d5 Mon Sep 17 00:00:00 2001 From: Andreika Date: Sun, 3 Apr 2022 16:06:49 +0300 Subject: [PATCH] AlphaX-4ch: better yaml (#4035) * AlphaX-4ch: better yaml * move VIGN from A2 to F7 --- .../hellen/alphax-4chan/connectors/main.yaml | 93 ++++++++++++++++--- 1 file changed, 81 insertions(+), 12 deletions(-) diff --git a/firmware/config/boards/hellen/alphax-4chan/connectors/main.yaml b/firmware/config/boards/hellen/alphax-4chan/connectors/main.yaml index aac171327a..b1d46ce205 100644 --- a/firmware/config/boards/hellen/alphax-4chan/connectors/main.yaml +++ b/firmware/config/boards/hellen/alphax-4chan/connectors/main.yaml @@ -7,10 +7,7 @@ pins: color: black - pin: A2 - id: EFI_ADC_5 - class: analog_inputs function: +12V - ts_name: A2 Battery Sense type: 12v color: red @@ -218,7 +215,16 @@ pins: function: Out Boost class: outputs ts_name: D2 - Out Boost - color: blue + color: purple + + - pin: D3 + # H144_IN_SENS1 + id: GPIOF_3 + class: switch_inputs + function: Digital Input 2 + type: hall + ts_name: D3 - Digital In 2 + color: green - pin: D4 # H144_IN_AUX1 @@ -274,18 +280,60 @@ pins: function: Out NOS class: outputs ts_name: E2 - Out NOS - color: blue + color: purple + + - pin: E3 + # H144_IN_SENS2 + id: GPIOF_4 + class: switch_inputs + function: Digital Input 3 + type: hall + ts_name: D3 - Digital In 3 + color: green + + - pin: E4 + # H144_IN_SENS3 + id: GPIOF_5 + class: switch_inputs + function: Digital Input 4 + type: hall + ts_name: D3 - Digital In 4 + color: green + + - pin: E5 + function: Cam Sensor VR- + color: white + + - pin: E6 + # H144_IN_D_4 + id: [GPIOE_15, GPIOE_15] + class: [event_inputs, switch_inputs] + function: Cam Sensor VR+ as Hall + type: hall + ts_name: C3 - Cam+ (hall) + color: gray + + - pin: E5E6 + # H144_IN_RES1 + id: GPIOF_9 + class: event_inputs + function: Cam Sensor (VR) + type: vr + ts_name: E5/E6 Cam Sensor VR + color: gray - pin: E7 # H144_IN_D_AUX4 id: GPIOA_7 class: event_inputs ts_name: E7 - Flex - function: DIGITAL + function: Digital Input / Flex fuel sensor + color: brown - pin: E8 function: ETB negative type: etb + color: purple - pin: F1 # H144_OUT_PWM5 @@ -301,16 +349,28 @@ pins: id: GPIOD_15 function: VVT#1 class: outputs - type: inj + type: ls ts_name: F2 - VVT#1 + color: purple + + # also used as knock input (is hard-coded at the moment) + - pin: F3 + # H144_IN_SENS4 + id: GPIOF_6 + class: switch_inputs + function: Digital Input 5 / Knock Input + type: hall + ts_name: F3 - Digital In 5 + color: green - pin: F4 # H144_OUT_PWM8 id: GPIOD_12 function: VVT#2 class: outputs - type: inj + type: ls ts_name: F4 - VVT#2 + color: purple - pin: F5 # H144_OUT_IO10 @@ -319,7 +379,7 @@ pins: ts_name: F5 - MAIN function: Main relay control type: ls - color: white + color: purple - pin: F6 # H144_IN_AUX2 @@ -329,9 +389,18 @@ pins: ts_name: F6 - PPS2 color: orange + - pin: F7 + # VIGN PA5 + id: EFI_ADC_5 + class: analog_inputs + ts_name: F7 - Ignition Key Voltage + function: +12V engine ECU power source, run/start + color: red + - pin: F8 function: ETB positive type: etb + color: purple info: title: AlphaX 4chan @@ -461,7 +530,7 @@ info: y: 150 - pin: D7 - x: 1114 + x: 1062 y: 150 - pin: D8 @@ -493,8 +562,8 @@ info: y: 226 - pin: E7 - x: 1114 - y: 305 + x: 1062 + y: 226 - pin: E8 x: 998