From 1f1243ba95ff9db6d451173c3122b443efd18225 Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Sun, 2 Aug 2020 15:33:08 -0700 Subject: [PATCH] real names & sensible limits --- firmware/integration/rusefi_config.txt | 18 +++++++-------- firmware/tunerstudio/rusefi.input | 32 +++++++++++++++----------- 2 files changed, 27 insertions(+), 23 deletions(-) diff --git a/firmware/integration/rusefi_config.txt b/firmware/integration/rusefi_config.txt index 61779ff8c0..c8ce138c6a 100644 --- a/firmware/integration/rusefi_config.txt +++ b/firmware/integration/rusefi_config.txt @@ -1309,15 +1309,15 @@ uint8_t[4] unusedsw;;"units", 1, 0, -20, 100, 0 gppwm_channel[GPPWM_CHANNELS iterate] gppwm; - uint16_t mc33_i_boost;;"X", 1, 0.0, 0, 64000, 0 - uint16_t mc33_i_peak;;"X", 1, 0.0, 0, 64000, 0 - uint16_t mc33_i_hold;;"X", 1, 0.0, 0, 64000, 0 - uint16_t mc33_t_max_boost;;"X", 1, 0.0, 0, 64000, 0 - uint16_t mc33_t_peak_off;;"X", 1, 0.0, 0, 64000, 0 - uint16_t mc33_t_peak_tot;;"X", 1, 0.0, 0, 64000, 0 - uint16_t mc33_t_bypass;;"X", 1, 0.0, 0, 64000, 0 - uint16_t mc33_t_hold_off;;"X", 1, 0.0, 0, 64000, 0 - uint16_t mc33_t_hold_tot;;"X", 1, 0.0, 0, 64000, 0 + uint16_t mc33_i_boost;;"mA", 1, 0.0, 1000, 25000, 0 + uint16_t mc33_i_peak;;"mA", 1, 0.0, 1000, 20000, 0 + uint16_t mc33_i_hold;;"mA", 1, 0.0, 1000, 20000, 0 + uint16_t mc33_t_max_boost;;"us", 1, 0.0, 0, 10000, 0 + uint16_t mc33_t_peak_off;;"us", 1, 0.0, 0, 10000, 0 + uint16_t mc33_t_peak_tot;;"us", 1, 0.0, 0, 10000, 0 + uint16_t mc33_t_bypass;;"us", 1, 0.0, 0, 10000, 0 + uint16_t mc33_t_hold_off;;"us", 1, 0.0, 0, 10000, 0 + uint16_t mc33_t_hold_tot;;"us", 1, 0.0, 0, 10000, 0 ! just a reminder that 'int' and 'float' are 4 bytes each int[371] mainUnusedEnd;;"units", 1, 0, -20, 100, 0 diff --git a/firmware/tunerstudio/rusefi.input b/firmware/tunerstudio/rusefi.input index 3d2730bedc..25a753656d 100644 --- a/firmware/tunerstudio/rusefi.input +++ b/firmware/tunerstudio/rusefi.input @@ -1795,20 +1795,24 @@ cmd_set_engine_type_default = "w\x00\x31\x00\x00" panel = pedalGauges, East dialog = mc33Dialog, "GDI Dreams" - field = mc33816_cs, mc33816_cs - field = mc33816_rstb, mc33816_rstb - field = mc33816_flag0, mc33816_flag0 - field = "mc33972 SPI", mc33972spiDevice - field = mc33_hvolt, mc33_hvolt - field = mc33_i_boost, mc33_i_boost - field = mc33_i_peak, mc33_i_peak - field = mc33_i_hold, mc33_i_hold - field = mc33_t_max_boost, mc33_t_max_boost - field = mc33_t_peak_off, mc33_t_peak_off - field = mc33_t_peak_tot, mc33_t_peak_tot - field = mc33_t_bypass, mc33_t_bypass - field = mc33_t_hold_off, mc33_t_hold_off - field = mc33_t_hold_tot, mc33_t_hold_tot + field = "MC33816 cs", mc33816_cs + field = "MC33816 rstb", mc33816_rstb + field = "MC33816 flag0", mc33816_flag0 + field = "MC33816 SPI Device", mc33972spiDevice + + field = "Boost voltage", mc33_hvolt + + field = "Boost current target", mc33_i_boost + field = "Max boost time (timeout)", mc33_t_max_boost + field = "Boost -> Peak Bypass Time", mc33_t_peak_off + + field = "Peak current target", mc33_i_peak + field = "Peak time", mc33_t_peak_tot + field = "Peak -> Hold Bypass Time", mc33_t_bypass + + field = "Hold current target", mc33_i_hold + field = "mc33_t_hold_off ?????", mc33_t_hold_off + field = "Maximum injection duration", mc33_t_hold_tot ; Sensor Inputs