This commit is contained in:
parent
a324349420
commit
90419841df
|
@ -26,6 +26,7 @@ void setVwPassatB6() {
|
|||
engineConfiguration->map.sensor.type = MT_BOSCH_2_5;
|
||||
|
||||
engineConfiguration->tps1_2AdcChannel = MRE_IN_ANALOG_VOLT_9;
|
||||
engineConfiguration->canNbcType = CAN_BUS_NBC_VAG;
|
||||
|
||||
// Injectors flow 1214 cc/min at 100 bar pressure
|
||||
engineConfiguration->injector.flow = 1214;
|
||||
|
@ -144,8 +145,8 @@ void setVwPassatB6() {
|
|||
engineConfiguration->hpfpMinAngle = 10;
|
||||
engineConfiguration->hpfpActivationAngle = 30;
|
||||
engineConfiguration->hpfpTargetDecay = 2000;
|
||||
engineConfiguration->hpfpPidP = 0.0301;
|
||||
engineConfiguration->hpfpPidI = 0.000012;
|
||||
engineConfiguration->hpfpPidP = 0.01;
|
||||
engineConfiguration->hpfpPidI = 0.0003;
|
||||
|
||||
setTable(config->veTable, 55);
|
||||
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "can_dash.h"
|
||||
#include "can_msg_tx.h"
|
||||
#include "can_bmw.h"
|
||||
#include "can_vag.h"
|
||||
|
||||
#include "rtc_helper.h"
|
||||
#include "fuel_math.h"
|
||||
|
@ -23,12 +24,6 @@
|
|||
#define CAN_MAZDA_RX_STATUS_1 0x212
|
||||
#define CAN_MAZDA_RX_STATUS_2 0x420
|
||||
|
||||
// https://wiki.openstreetmap.org/wiki/VW-CAN
|
||||
#define CAN_VAG_RPM 0x280 /* _10ms cycle */
|
||||
#define CAN_VAG_CLT 0x288 /* _10ms cycle */
|
||||
#define CAN_VAG_CLT_V2 0x420 /* _10ms cycle */
|
||||
#define CAN_VAG_IMMO 0x3D0 /* _10ms cycle */
|
||||
|
||||
//w202 DASH
|
||||
#define W202_STAT_1 0x308 /* _20ms cycle */
|
||||
#define W202_STAT_2 0x608 /* _100ms cycle */
|
||||
|
@ -87,7 +82,6 @@ constexpr uint8_t e90_temp_offset = 49;
|
|||
|
||||
void canDashboardBMW(CanCycle cycle);
|
||||
void canDashboardFiat(CanCycle cycle);
|
||||
void canDashboardVAG(CanCycle cycle);
|
||||
void canMazdaRX8(CanCycle cycle);
|
||||
void canDashboardW202(CanCycle cycle);
|
||||
void canDashboardBMWE90(CanCycle cycle);
|
||||
|
|
|
@ -0,0 +1,30 @@
|
|||
#pragma once
|
||||
|
||||
#include "pch.h"
|
||||
#include "can.h"
|
||||
|
||||
void canDashboardVAG(CanCycle cycle);
|
||||
|
||||
/**
|
||||
* B6
|
||||
* https://mdac.com.au/2021/04/11/dsg-control-with-rabbit-ecu/
|
||||
* https://github.com/RabbitECUProject/RabbitECUTeensyMCUXpresso/blob/main/source/Client/DIAG.c
|
||||
* https://github.com/commaai/opendbc/blob/master/vw_golf_mk4.dbc
|
||||
* https://rusefi.com/forum/download/file.php?id=9076
|
||||
*/
|
||||
|
||||
|
||||
// https://wiki.openstreetmap.org/wiki/VW-CAN
|
||||
#define CAN_VAG_RPM 0x280 /* _10ms cycle */
|
||||
#define CAN_VAG_CLT 0x288 /* _10ms cycle */
|
||||
#define CAN_VAG_CLT_V2 0x420 /* _10ms cycle */
|
||||
#define CAN_VAG_IMMO 0x3D0 /* _10ms cycle */
|
||||
|
||||
// 0x280
|
||||
#define CAN_VAG_Motor_1 640
|
||||
// 0x284
|
||||
#define CAN_VAG_Motor_Brake 644
|
||||
// 0x288
|
||||
#define CAN_VAG_Motor_2 648
|
||||
// 0x480
|
||||
#define CAN_VAG_Motor_5 1152
|
Loading…
Reference in New Issue