TCU cherry
This commit is contained in:
parent
1ddd756f80
commit
d298ba1289
|
@ -126,6 +126,9 @@ struct_no_prefix engine_configuration_s
|
|||
#define TCU_SOLENOID_COUNT 6
|
||||
#define TCU_GEAR_COUNT 10
|
||||
|
||||
#define TCU_INPUT_COUNT 6
|
||||
#define TCU_STATE_COUNT 8
|
||||
|
||||
! Matt says: The problem is the driver chip. Tle9201 can't do 20k. The drivers are too slow. On purpose to reduce EMI
|
||||
#define ETB_HW_MAX_FREQUENCY 10000
|
||||
#define ETB_COUNT 2
|
||||
|
@ -226,6 +229,8 @@ custom ve_table_t 4*@@FUEL_RPM_COUNT@@x@@FUEL_LOAD_COUNT@@ array, F32, @OFFS
|
|||
custom lambda_table_t @@FUEL_RPM_COUNT@@x@@FUEL_LOAD_COUNT@@ array, U08, @OFFSET@, [@@FUEL_RPM_COUNT@@x@@FUEL_LOAD_COUNT@@],"deg", {1/@@PACK_MULT_LAMBDA_CFG@@}, 0, 0.6, 1.5, 2
|
||||
custom afr_table_t @@FUEL_RPM_COUNT@@x@@FUEL_LOAD_COUNT@@ array, U08, @OFFSET@, [@@FUEL_RPM_COUNT@@x@@FUEL_LOAD_COUNT@@],"deg", {1/@@PACK_MULT_AFR_CFG@@}, 0, 0, 25.0, 1
|
||||
|
||||
custom tcuinput_table_t @@TCU_INPUT_COUNT@@x@@TCU_STATE_COUNT@@ array, F32, @OFFSET@, [@@TCU_INPUT_COUNT@@x@@TCU_STATE_COUNT@@],"state", 1, 0, -1, 5.0, 2
|
||||
|
||||
custom tcubinary_table_t @@TCU_SOLENOID_COUNT@@x@@TCU_GEAR_COUNT@@ array, U08, @OFFSET@, [@@TCU_SOLENOID_COUNT@@x@@TCU_GEAR_COUNT@@],"onoff", 1, 0, 0, 1, 0
|
||||
|
||||
custom fsio_table_8x8_u8t @@FSIO_TABLE_8@@x@@FSIO_TABLE_8@@ array, U08, @OFFSET@, [@@FSIO_TABLE_8@@x@@FSIO_TABLE_8@@],"value", 1, 0, 0.0, 255.0, 0
|
||||
|
@ -997,7 +1002,7 @@ custom maf_sensor_type_e 4 bits, S32, @OFFSET@, [0:1], @@maf_sensor_type_e_enum@
|
|||
bit knockBankCyl11,"Channel 2","Channel 1"
|
||||
bit knockBankCyl12,"Channel 2","Channel 1"
|
||||
bit tcuEnabled
|
||||
bit unusedBit_251_29
|
||||
bit tcuInputMode,"Digital","Analog";
|
||||
|
||||
dc_io[ETB_COUNT iterate] etbIo
|
||||
|
||||
|
@ -1509,8 +1514,7 @@ tChargeMode_e tChargeMode;
|
|||
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
|
||||
|
||||
pin_input_mode_e tcuUpshiftButtonPinMode
|
||||
pin_input_mode_e tcuDownshiftButtonPinMode
|
||||
int8_t[2] unused1551;;"units", 1, 0, -20, 100, 0;
|
||||
|
||||
pin_input_mode_e acSwitchMode
|
||||
|
||||
|
|
Loading…
Reference in New Issue