v12 progress

This commit is contained in:
rusEfi 2020-03-20 00:36:22 -04:00
parent fa8036e4b6
commit fbbac83010
4 changed files with 14 additions and 9 deletions

View File

@ -44,15 +44,15 @@
* Plug #4 40 pin
* ECU pin 6: IN start signal from ignition key
* ECU pin 17: OUT BLK engine speed output for gauge cluster
* ECU pin 26: IN GRN/BLK RED +12 hot in start & run
* ECU pin 26: IN GRN/BLK RED +12v hot in start & run
* ECU pin 40: OUT YEL/BRN BRN starter enable
*
*
* Plug #5 9 pin
* ECU pic 3: OUT BLK coil signal, low-side
* ECU pic 5: GND BRN ground
* ECU pic 6: OUT BLK coil signal, low-side
* ECU pic 9: OUT BLK RED coil signal, low-side
* ECU pin 3: OUT BLK coil signal, low-side
* ECU pin 5: GND BRN ground
* ECU pin 6: OUT BLK coil signal, low-side
* ECU pin 9: OUT BLK RED coil signal, low-side
*
* Frankenso
* set engine_type 40

View File

@ -39,11 +39,13 @@
*
* Plug #4 40 pin
* ECU pin 6: IN ORG start signal from ignition key. Custom wiring: pulled-up thermistor wire on MRE
* ECU pin 26: IN GRN/BLK RED +12v hot in start & run
* ECU pin 40: OUT YEL/BRN GRN starter enable
*
*
* Plug #5 9 pin
* ECU pic 3: OUT BLK ORG coil signal
* ECU pin 3: OUT BLK ORG coil signal
* ECU pin 5: GND BRN ground
*
* BMW_M73_MRE
* set engine_type 104
@ -84,6 +86,9 @@ void setEngineBMW_M73_microRusEfi(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
// AN Temp 4, orange wire
CONFIG(startStopButton) = GPIOA_3;
// "43 - GP Out 4"
CONFIG(starterControlPin) = TLE8888_PIN_24;
//set tps_min 891
CONFIG(tpsMin) = 891;

View File

@ -849,6 +849,6 @@ int getRusEfiVersion(void) {
if (initBootloader() != 0)
return 123;
#endif /* EFI_BOOTLOADER_INCLUDE_CODE */
return 201200317;
return 201200319;
}
#endif /* EFI_UNIT_TEST */

View File

@ -688,7 +688,7 @@ custom uart_device_e 1 bits,U32, @OFFSET@, [0:7], "Off", "UART1", "UART2", "UA
output_pin_e starterRelayDisablePin;
pin_output_mode_e starterRelayDisableMode;On some vehicles we can disable starter once engine is already running
brain_pin_e secondSolenoidPin;Some Subaru and some Mazda use double-solenoid idle air valve
switch_input_pin_e startStopButton;
switch_input_pin_e startStopButton;See also starterControlPin
int mapMinBufferLength;;"count", 1, 0, 0, 24, 0
int16_t idlePidDeactivationTpsThreshold;;"%", 1, 0, 0, 100.0, 0
@ -944,7 +944,7 @@ custom pin_mode_e 1 bits, U08, @OFFSET@, [0:7], @@pin_mode_e_enum@@
float alternator_antiwindupFreq;; "x", 1, 0.0, -1000000, 1000000, 4
int16_t tps2Min;Closed throttle#2. todo: extract these two fields into a structure\nSee also tps2_1AdcChannel\nset tps2_min X;"ADC", 1, 0, 0, 1023, 0
int16_t tps2Max;Full throttle#2. tpsMax value as 10 bit ADC value. Not Voltage!\nSee also tps1_1AdcChannel\nset tps2_max X;"ADC", 1, 0, 0, 1023, 0
output_pin_e starterControlPin;
output_pin_e starterControlPin;See also startStopButton
uint8_t[2] unusedFormerWarmupAfrPid;
uint8_t tachPulsePerRev;;"Pulse", 1, 0, 1.0, 255.0, 0