From 349bc8cbba44109c634d8479bdb50c6c314e878d Mon Sep 17 00:00:00 2001 From: Andrey G Date: Sun, 18 Jul 2021 21:58:22 +0300 Subject: [PATCH] board: subaru eg33: fix pinouts, add aux connector (#2986) --- .../boards/subaru_eg33/connectors/A-B59.yaml | 4 +- .../subaru_eg33/connectors/XP2-AUX0.yaml | 38 +++++++++++++++++++ 2 files changed, 40 insertions(+), 2 deletions(-) create mode 100644 firmware/config/boards/subaru_eg33/connectors/XP2-AUX0.yaml diff --git a/firmware/config/boards/subaru_eg33/connectors/A-B59.yaml b/firmware/config/boards/subaru_eg33/connectors/A-B59.yaml index 5e09c2fb88..3099f5300b 100644 --- a/firmware/config/boards/subaru_eg33/connectors/A-B59.yaml +++ b/firmware/config/boards/subaru_eg33/connectors/A-B59.yaml @@ -89,8 +89,8 @@ pins: - pin: 16 id: EFI_ADC3_10 class: analog_inputs - function: Atm Pressure Sensor - ts_name: A16 - Atm Pressure Sensor Ain + function: Atm Pressure Sensor output to TCU + ts_name: (BUG!) A16 - Atm Pressure Sensor Ain type: av - pin: 17 diff --git a/firmware/config/boards/subaru_eg33/connectors/XP2-AUX0.yaml b/firmware/config/boards/subaru_eg33/connectors/XP2-AUX0.yaml new file mode 100644 index 0000000000..721b9387f8 --- /dev/null +++ b/firmware/config/boards/subaru_eg33/connectors/XP2-AUX0.yaml @@ -0,0 +1,38 @@ +# Aux 20-pin connector + +pins: + - pin: 12 + function: "Sensors Analog supply (+5)" + type: 5v + + - pin: 13 + function: Sensors GND + type: sgnd + + - pin: 14 + id: TLE6240_PIN_14 + class: outputs + function: AUX OD output 1 + ts_name: AUX0_14 - AUX0 OD output 1 + type: gp_low + + - pin: 17 + id: TLE6240_PIN_13 + class: outputs + function: AUX OD output 0 + ts_name: AUX0_17 - AUX0 OD output 0 + type: gp_low + + - pin: 18 + id: EFI_ADC_0 + class: analog_inputs + function: MAP input + ts_name: AUX0_18 - MAP Ain + type: av + + - pin: 19 + id: EFI_ADC_5 + class: analog_inputs + function: MAP input + ts_name: AUX0_19 - IAT Ain + type: av