Hall mode for TLE88888 - VRSConfig1 VRSM #915

TS setting only
This commit is contained in:
rusEfi 2019-09-03 23:56:28 -04:00
parent 612a4ab3b3
commit 8a35983bfe
7 changed files with 17 additions and 14 deletions

View File

@ -1,4 +1,4 @@
// this section was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Tue Sep 03 18:36:09 EDT 2019
// this section was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Tue Sep 03 23:55:35 EDT 2019
// by class com.rusefi.output.CHeaderConsumer
// begin
#ifndef CONTROLLERS_GENERATED_ENGINE_CONFIGURATION_GENERATED_STRUCTURES_H
@ -1089,7 +1089,7 @@ struct engine_configuration_s {
bool cj125isUrDivided : 1;
/**
offset 76 bit 16 */
bool issue_294_16 : 1;
bool useTLE888_hall_mode : 1;
/**
offset 76 bit 17 */
bool issue_294_17 : 1;
@ -2821,4 +2821,4 @@ typedef struct persistent_config_s persistent_config_s;
#endif
// end
// this section was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Tue Sep 03 18:36:09 EDT 2019
// this section was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Tue Sep 03 23:55:35 EDT 2019

View File

@ -1262,8 +1262,6 @@
#define isMapAveragingEnabled_offset_hex 5c4
#define isSdCardEnabled_offset 744
#define isSdCardEnabled_offset_hex 2e8
#define issue_294_16_offset 76
#define issue_294_16_offset_hex 4c
#define issue_294_17_offset 76
#define issue_294_17_offset_hex 4c
#define issue_294_18_offset 76
@ -1949,6 +1947,8 @@
#define useSerialPort_offset_hex 2e8
#define useStepperIdle_offset 744
#define useStepperIdle_offset_hex 2e8
#define useTLE888_hall_mode_offset 76
#define useTLE888_hall_mode_offset_hex 4c
#define useTpicAdvancedMode_offset 744
#define useTpicAdvancedMode_offset_hex 2e8
#define useTPSAdvanceTable_offset 1476

View File

@ -298,7 +298,7 @@ bit etb1_use_two_wires;
bit etb2_use_two_wires;
bit showSdCardWarning;
bit cj125isUrDivided;looks like 3v range should be enough, divider not needed
bit issue_294_16;
bit useTLE888_hall_mode;
bit issue_294_17;
bit issue_294_18;
bit issue_294_19;

View File

@ -82,7 +82,7 @@ enable2ndByteCanID = false
; see PAGE_0_SIZE in C source code
; CONFIG_DEFINITION_START
; this section was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Tue Sep 03 18:36:09 EDT 2019
; this section was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Tue Sep 03 23:55:35 EDT 2019
pageSize = 20000
page = 1
@ -107,7 +107,7 @@ page = 1
etb2_use_two_wires = bits, U32, 76, [13:13], "false", "true"
showSdCardWarning = bits, U32, 76, [14:14], "false", "true"
cj125isUrDivided = bits, U32, 76, [15:15], "false", "true"
issue_294_16 = bits, U32, 76, [16:16], "false", "true"
useTLE888_hall_mode = bits, U32, 76, [16:16], "false", "true"
issue_294_17 = bits, U32, 76, [17:17], "false", "true"
issue_294_18 = bits, U32, 76, [18:18], "false", "true"
issue_294_19 = bits, U32, 76, [19:19], "false", "true"
@ -3162,6 +3162,7 @@ cmd_set_engine_type_default = "w\x00\x31\x00\x00"
dialog = tle8888, "TLE8888", yAxis
field = "TLE8888 Chip Select", tle8888_cs
field = "TLE8888 SPI", tle8888spiDevice
field = "useTLE888_hall_mode", useTLE888_hall_mode
dialog = connection, "", yAxis
field = "STM32 vRef voltage", adcVcc

View File

@ -2182,6 +2182,7 @@ cmd_set_engine_type_default = "w\x00\x31\x00\x00"
dialog = tle8888, "TLE8888", yAxis
field = "TLE8888 Chip Select", tle8888_cs
field = "TLE8888 SPI", tle8888spiDevice
field = "useTLE888_hall_mode", useTLE888_hall_mode
dialog = connection, "", yAxis
field = "STM32 vRef voltage", adcVcc

View File

@ -82,7 +82,7 @@ enable2ndByteCanID = false
; see PAGE_0_SIZE in C source code
; CONFIG_DEFINITION_START
; this section was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Tue Sep 03 18:36:12 EDT 2019
; this section was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Tue Sep 03 23:55:49 EDT 2019
pageSize = 20000
page = 1
@ -107,7 +107,7 @@ page = 1
etb2_use_two_wires = bits, U32, 76, [13:13], "false", "true"
showSdCardWarning = bits, U32, 76, [14:14], "false", "true"
cj125isUrDivided = bits, U32, 76, [15:15], "false", "true"
issue_294_16 = bits, U32, 76, [16:16], "false", "true"
useTLE888_hall_mode = bits, U32, 76, [16:16], "false", "true"
issue_294_17 = bits, U32, 76, [17:17], "false", "true"
issue_294_18 = bits, U32, 76, [18:18], "false", "true"
issue_294_19 = bits, U32, 76, [19:19], "false", "true"
@ -3147,6 +3147,7 @@ cmd_set_engine_type_default = "w\x00\x31\x00\x00"
dialog = tle8888, "TLE8888", yAxis
field = "TLE8888 Chip Select", tle8888_cs
field = "TLE8888 SPI", tle8888spiDevice
field = "useTLE888_hall_mode", useTLE888_hall_mode
dialog = connection, "", yAxis
field = "STM32 vRef voltage", adcVcc

View File

@ -1,6 +1,6 @@
package com.rusefi.config.generated;
// this file was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Tue Sep 03 19:18:06 EDT 2019
// this file was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Tue Sep 03 23:55:35 EDT 2019
// by class com.rusefi.output.JavaFieldsConsumer
import com.rusefi.config.*;
@ -838,7 +838,6 @@ public class Fields {
public static final int isManualSpinningMode_offset = 1476;
public static final int isMapAveragingEnabled_offset = 1476;
public static final int isSdCardEnabled_offset = 744;
public static final int issue_294_16_offset = 76;
public static final int issue_294_17_offset = 76;
public static final int issue_294_18_offset = 76;
public static final int issue_294_19_offset = 76;
@ -1257,6 +1256,7 @@ public class Fields {
public static final int useSeparateVeForIdle_offset = 1476;
public static final int useSerialPort_offset = 744;
public static final int useStepperIdle_offset = 744;
public static final int useTLE888_hall_mode_offset = 76;
public static final int useTpicAdvancedMode_offset = 744;
public static final int useTPSAdvanceTable_offset = 1476;
public static final int useTPSBasedVeTable_offset = 744;
@ -1305,7 +1305,7 @@ public class Fields {
public static final Field ETB2_USE_TWO_WIRES = Field.create("ETB2_USE_TWO_WIRES", 76, FieldType.BIT, 13);
public static final Field SHOWSDCARDWARNING = Field.create("SHOWSDCARDWARNING", 76, FieldType.BIT, 14);
public static final Field CJ125ISURDIVIDED = Field.create("CJ125ISURDIVIDED", 76, FieldType.BIT, 15);
public static final Field ISSUE_294_16 = Field.create("ISSUE_294_16", 76, FieldType.BIT, 16);
public static final Field USETLE888_HALL_MODE = Field.create("USETLE888_HALL_MODE", 76, FieldType.BIT, 16);
public static final Field ISSUE_294_17 = Field.create("ISSUE_294_17", 76, FieldType.BIT, 17);
public static final Field ISSUE_294_18 = Field.create("ISSUE_294_18", 76, FieldType.BIT, 18);
public static final Field ISSUE_294_19 = Field.create("ISSUE_294_19", 76, FieldType.BIT, 19);
@ -2089,7 +2089,7 @@ public class Fields {
ETB2_USE_TWO_WIRES,
SHOWSDCARDWARNING,
CJ125ISURDIVIDED,
ISSUE_294_16,
USETLE888_HALL_MODE,
ISSUE_294_17,
ISSUE_294_18,
ISSUE_294_19,