diff --git a/firmware/config/boards/microrusefi/mapping.yaml b/firmware/config/boards/microrusefi/mapping.yaml index 11a4ef612a..0a023bc4d7 100644 --- a/firmware/config/boards/microrusefi/mapping.yaml +++ b/firmware/config/boards/microrusefi/mapping.yaml @@ -13,9 +13,9 @@ outputs: GPIOD_7: "14 - GP Out 5" GPIOD_6: "13 - GP Out 6" - # TLE8888 high current low side: IN10 + # TLE8888 high current low side: VVT1 IN10 / OUT6 GPIOE_9: "7 - Lowside 1" - # TLE8888 high current low side: IN9 + # TLE8888 high current low side: VVT2 IN9 / OUT5 GPIOE_10: "3 - Lowside 2" # TLE8888 half bridges (pushpull, lowside, or high-low) IN11 diff --git a/firmware/config/engines/custom_engine.cpp b/firmware/config/engines/custom_engine.cpp index 24dcb36a7f..aca8162417 100644 --- a/firmware/config/engines/custom_engine.cpp +++ b/firmware/config/engines/custom_engine.cpp @@ -470,7 +470,7 @@ void mreBoardTest(DECLARE_CONFIG_PARAMETER_SIGNATURE) { boardConfiguration->ignitionPins[5] = GPIOD_7; // TLE8888_PIN_20: "33 - GP Out 3" - boardConfiguration->injectionPins[4] = TLE8888_PIN_20; + boardConfiguration->injectionPins[4] = TLE8888_PIN_22; // GPIOE_7: "34 - GP Out 2" boardConfiguration->injectionPins[5] = GPIOE_7; diff --git a/firmware/hw_layer/smart_gpio.cpp b/firmware/hw_layer/smart_gpio.cpp index 22c1043331..7b961485cd 100644 --- a/firmware/hw_layer/smart_gpio.cpp +++ b/firmware/hw_layer/smart_gpio.cpp @@ -119,11 +119,12 @@ struct tle8888_config tle8888_cfg = { }, .reset = {.port = NULL, .pad = 0}, .direct_io = { - [0] = {.port = GPIOE, .pad = 10, .output = 21}, - [1] = {.port = GPIOE, .pad = 9, .output = 22}, + [0] = {.port = GPIOE, .pad = 10, .output = 5}, + [1] = {.port = GPIOE, .pad = 9, .output = 6}, [2] = {.port = GPIOE, .pad = 8, .output = 23}, [3] = {.port = GPIOE, .pad = 7, .output = 24}, - [0] = {.port = NULL, .pad = 0, .output = 20}, + + /* [0] = {.port = NULL, .pad = 0, .output = 9}, [1] = {.port = NULL, .pad = 0, .output = 10},