GDI Epic #1448
This commit is contained in:
parent
5913ca68dd
commit
ba906c2cee
|
@ -629,6 +629,20 @@ void mreBoardNewTest(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
|||
|
||||
}
|
||||
|
||||
void setBoschHDEV_5_injectors(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
||||
// This is the configuration for bosch HDEV 5 injectors
|
||||
CONFIG(mc33_hvolt) = 65;
|
||||
CONFIG(mc33_i_boost) = 13000;
|
||||
CONFIG(mc33_i_peak) = 9400;
|
||||
CONFIG(mc33_i_hold) = 3700;
|
||||
CONFIG(mc33_t_max_boost) = 470;
|
||||
CONFIG(mc33_t_peak_off) = 10;
|
||||
CONFIG(mc33_t_peak_tot) = 700;
|
||||
CONFIG(mc33_t_bypass) = 15;
|
||||
CONFIG(mc33_t_hold_off) = 60;
|
||||
CONFIG(mc33_t_hold_tot) = 10000;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* set engine_type 103
|
||||
|
@ -672,16 +686,5 @@ void setTest33816EngineConfiguration(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
|||
CONFIG(isSdCardEnabled) = false;
|
||||
|
||||
CONFIG(mc33816spiDevice) = SPI_DEVICE_3;
|
||||
|
||||
// This is the configuration for bosch HDEV 5 injectors
|
||||
CONFIG(mc33_hvolt) = 65;
|
||||
CONFIG(mc33_i_boost) = 13000;
|
||||
CONFIG(mc33_i_peak) = 9400;
|
||||
CONFIG(mc33_i_hold) = 3700;
|
||||
CONFIG(mc33_t_max_boost) = 470;
|
||||
CONFIG(mc33_t_peak_off) = 10;
|
||||
CONFIG(mc33_t_peak_tot) = 700;
|
||||
CONFIG(mc33_t_bypass) = 15;
|
||||
CONFIG(mc33_t_hold_off) = 60;
|
||||
CONFIG(mc33_t_hold_tot) = 10000;
|
||||
setBoschHDEV_5_injectors(PASS_CONFIG_PARAMETER_SIGNATURE);
|
||||
}
|
||||
|
|
|
@ -24,3 +24,4 @@ void mreBoardNewTest(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
|||
void mreBCM(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||
|
||||
void setTest33816EngineConfiguration(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||
void setBoschHDEV_5_injectors(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||
|
|
|
@ -7,12 +7,14 @@
|
|||
|
||||
#include "engine.h"
|
||||
#include "vw_b6.h"
|
||||
#include "custom_engine.h"
|
||||
|
||||
EXTERN_CONFIG;
|
||||
|
||||
/**
|
||||
* set engine_type 62
|
||||
* VW_B6
|
||||
* has to be microRusEFI 0.5.2
|
||||
*/
|
||||
void setVwPassatB6(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
||||
setOperationMode(engineConfiguration, FOUR_STROKE_CRANK_SENSOR);
|
||||
|
@ -26,4 +28,31 @@ void setVwPassatB6(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
|||
engineConfiguration->verboseVVTDecoding = true;
|
||||
engineConfiguration->invertCamVVTSignal = true;
|
||||
engineConfiguration->vvtCamSensorUseRise = true;
|
||||
|
||||
|
||||
|
||||
CONFIG(isSdCardEnabled) = false;
|
||||
|
||||
CONFIG(mc33816spiDevice) = SPI_DEVICE_3;
|
||||
setBoschHDEV_5_injectors(PASS_CONFIG_PARAMETER_SIGNATURE);
|
||||
engineConfiguration->spi3mosiPin = GPIOC_12;
|
||||
engineConfiguration->spi3misoPin = GPIOC_11;
|
||||
engineConfiguration->spi3sckPin = GPIOC_10;
|
||||
engineConfiguration->sdCardCsPin = GPIO_UNASSIGNED;
|
||||
CONFIG(is_enabled_spi_3) = true;
|
||||
|
||||
|
||||
// blue wire
|
||||
CONFIG(mc33816_cs) = GPIOB_9;
|
||||
// J18 green wire
|
||||
CONFIG(mc33816_rstb) = GPIOB_7;
|
||||
// J9 yellow wire
|
||||
CONFIG(mc33816_driven) = GPIOC_13;
|
||||
// J6 white wire
|
||||
CONFIG(mc33816_flag0) = GPIOE_9;
|
||||
|
||||
// J10
|
||||
engineConfiguration->injectionPins[0] = GPIOE_6;
|
||||
// J11
|
||||
engineConfiguration->injectionPins[1] = GPIOE_5;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue