December 2017 signature and base tunes

This commit is contained in:
Josh Stewart 2018-01-03 21:52:25 +11:00
parent a2e1379fd6
commit f474a95dc5
5 changed files with 264 additions and 20 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<msq xmlns="http://www.msefi.com/:msq">
<bibliography author="TunerStudio MS(Beta) 3.0.50.17 - EFI Analytics, Inc." tuneComment="" writeDate="Sun Dec 10 17:18:48 AEDT 2017"/>
<versionInfo fileFormat="5.0" firmwareInfo="Speeduino+2017.11" nPages="10" signature="speeduino 201711"/>
<bibliography author="TunerStudio MS(Beta) 3.0.50.23 - EFI Analytics, Inc." tuneComment="" writeDate="Wed Jan 03 21:37:23 AEDT 2018"/>
<versionInfo fileFormat="5.0" firmwareInfo="Speeduino+2017.12" nPages="10" signature="speeduino 201712"/>
<page>
<pcVariable name="tsCanId">"CAN ID 0"</pcVariable>
</page>
@ -113,12 +113,14 @@
<constant name="twoStroke">"Four-stroke"</constant>
<constant name="injType">"Port"</constant>
<constant name="nCylinders">"4"</constant>
<constant name="unused2-37a">"None"</constant>
<constant name="unused2-37b">"None"</constant>
<constant name="nInjectors">"4"</constant>
<constant name="engineType">"Even fire"</constant>
<constant name="flexEnabled">"Off"</constant>
<constant name="algorithm">"Speed Density"</constant>
<constant name="baroCorr">"Off"</constant>
<constant name="injLayout">"Semi-Sequential"</constant>
<constant name="injLayout">"Paired"</constant>
<constant name="perToothIgn">"No"</constant>
<constant name="dfcoEnabled">"Off"</constant>
<constant digits="1" name="primePulse" units="ms">2.0</constant>
@ -207,7 +209,7 @@
77.0
</constant>
<constant digits="0" name="UNALLOCATED_TOP_1" units="RAW">
77.0
255.0
</constant>
</page>
<page number="2" size="288">
@ -274,7 +276,6 @@
<constant name="TrigEdge">"Leading"</constant>
<constant name="TrigSpeed">"Crank Speed"</constant>
<constant name="IgInv">"Going Low"</constant>
<constant name="unused4-5d">"Yes"</constant>
<constant name="TrigPattern">"4G63 / Miata / 3000GT"</constant>
<constant name="TrigEdgeSec">"Trailing"</constant>
<constant name="fuelPumpPin">"Board Default"</constant>
@ -420,7 +421,7 @@
1.0
</constant>
<constant digits="0" name="UNALLOCATED_TOP_3" units="RAW">
134.0
255.0
</constant>
</page>
<page number="4" size="288">
@ -526,8 +527,8 @@
20.0
35.0
50.0
60.0
90.0
62.0
91.0
120.0
</constant>
<constant cols="1" digits="0" name="airDenRates" rows="9" units="%">
@ -537,7 +538,7 @@
100.0
95.0
91.0
88.0
83.0
81.0
74.0
</constant>
@ -860,6 +861,22 @@
<constant name="caninput_sel13">"Off"</constant>
<constant name="caninput_sel14">"Off"</constant>
<constant name="caninput_sel15">"Off"</constant>
<constant name="caninput_source_can_address0">"0x100"</constant>
<constant name="caninput_source_can_address1">"0x100"</constant>
<constant name="caninput_source_can_address2">"0x100"</constant>
<constant name="caninput_source_can_address3">"0x100"</constant>
<constant name="caninput_source_can_address4">"0x100"</constant>
<constant name="caninput_source_can_address5">"0x100"</constant>
<constant name="caninput_source_can_address6">"0x100"</constant>
<constant name="caninput_source_can_address7">"0x100"</constant>
<constant name="caninput_source_can_address8">"0x100"</constant>
<constant name="caninput_source_can_address9">"0x100"</constant>
<constant name="caninput_source_can_address10">"0x100"</constant>
<constant name="caninput_source_can_address11">"0x100"</constant>
<constant name="caninput_source_can_address12">"0x100"</constant>
<constant name="caninput_source_can_address13">"0x100"</constant>
<constant name="caninput_source_can_address14">"0x100"</constant>
<constant name="caninput_source_can_address15">"0x100"</constant>
<constant name="caninput_source_start_byte0">"7"</constant>
<constant name="caninput_source_start_byte1">"1"</constant>
<constant name="caninput_source_start_byte2">"1"</constant>
@ -926,6 +943,9 @@
<constant digits="0" name="unused10_98">0.0</constant>
<constant digits="0" name="unused10_99">0.0</constant>
<constant name="speeduino_tsCanId">"CAN ID 0"</constant>
<constant name="true_address">"0x100"</constant>
<constant name="realtime_base_address">"0x100"</constant>
<constant name="obd_address">"0x100"</constant>
<constant digits="0" name="unused10_107">0.0</constant>
<constant digits="0" name="unused10_108">0.0</constant>
<constant digits="0" name="unused10_109">0.0</constant>
@ -946,7 +966,7 @@
<constant digits="0" name="unused10_124">0.0</constant>
<constant digits="0" name="unused10_125">0.0</constant>
<constant digits="0" name="unused10_126">0.0</constant>
<constant digits="0" name="unused10_127">132.0</constant>
<constant digits="0" name="unused10_127">1.0</constant>
</page>
<page number="9" size="192">
<constant cols="1" digits="0" name="crankingEnrichBins" rows="4" units="C">
@ -1154,7 +1174,7 @@
0.0
</constant>
<constant digits="0" name="UNALLOCATED_TOP_9" units="RAW">
0.0
255.0
</constant>
</page>
<settings Comment="These setting are only used if this msq is opened without a project.">

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<msq xmlns="http://www.msefi.com/:msq">
<bibliography author="TunerStudio MS(Beta) 3.0.50.17 - EFI Analytics, Inc." tuneComment="" writeDate="Sun Dec 10 15:54:48 AEDT 2017"/>
<versionInfo fileFormat="5.0" firmwareInfo="Speeduino+2017.10" nPages="10" signature="speeduino 201711"/>
<bibliography author="TunerStudio MS(Beta) 3.0.50.23 - EFI Analytics, Inc." tuneComment="" writeDate="Wed Jan 03 21:35:21 AEDT 2018"/>
<versionInfo fileFormat="5.0" firmwareInfo="Speeduino+2017.12" nPages="10" signature="speeduino 201712"/>
<page>
<pcVariable name="tsCanId">"CAN ID 0"</pcVariable>
</page>
@ -144,6 +144,70 @@
<constant digits="0" name="iacCLminDuty" units="%">0.0</constant>
<constant digits="0" name="iacCLmaxDuty" units="%">0.0</constant>
<constant digits="0" name="boostMinDuty" units="%">20.0</constant>
<constant digits="0" name="baroMin" units="kpa">1.0</constant>
<constant digits="0" name="baroMax" units="kpa">315.0</constant>
<constant cols="1" digits="0" name="unused2-67" rows="60" units="%">
62.0
62.0
60.0
61.0
64.0
65.0
66.0
68.0
68.0
70.0
71.0
71.0
71.0
71.0
66.0
59.0
60.0
60.0
61.0
63.0
64.0
66.0
67.0
68.0
69.0
70.0
71.0
72.0
74.0
69.0
61.0
59.0
60.0
61.0
62.0
64.0
66.0
67.0
69.0
70.0
71.0
72.0
72.0
73.0
74.0
64.0
59.0
61.0
60.0
61.0
64.0
65.0
67.0
68.0
68.0
70.0
71.0
71.0
71.0
71.0
</constant>
<constant digits="0" name="UNALLOCATED_TOP_1" units="RAW">
255.0
</constant>
@ -212,7 +276,6 @@
<constant name="TrigEdge">"Leading"</constant>
<constant name="TrigSpeed">"Crank Speed"</constant>
<constant name="IgInv">"Going Low"</constant>
<constant name="unused4-5d">"No"</constant>
<constant name="TrigPattern">"Missing Tooth"</constant>
<constant name="TrigEdgeSec">"Leading"</constant>
<constant name="fuelPumpPin">"Board Default"</constant>
@ -621,8 +684,8 @@
100.0
</constant>
<constant cols="8" digits="0" name="vvtTable" rows="8" units="%">
0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
11.0 10.0 6.0 6.0 6.0 6.0 7.0 7.0
175.0 0.0 0.0 27.0 4.0 4.0 0.0 0.0
99.0 8.0 6.0 0.0 6.0 6.0 0.0 1.0
24.0 22.0 20.0 18.0 18.0 18.0 19.0 20.0
32.0 30.0 29.0 28.0 27.0 27.0 27.0 29.0
39.0 39.0 38.0 38.0 37.0 37.0 36.0 36.0
@ -933,6 +996,167 @@
<constant digits="0" name="boostIntv" units="ms">20.0</constant>
<constant digits="0" name="stagedInjSizePri" units="cc/min">200.0</constant>
<constant digits="0" name="stagedInjSizeSec" units="cc/min">600.0</constant>
<constant cols="1" digits="0" name="unused11_32_192" rows="159" units="RPM">
700.0
25500.0
700.0
700.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
700.0
700.0
700.0
700.0
700.0
700.0
0.0
0.0
25500.0
25500.0
100.0
100.0
100.0
100.0
100.0
100.0
100.0
100.0
100.0
25500.0
25500.0
25500.0
25500.0
25500.0
25500.0
25500.0
25500.0
25500.0
25500.0
25500.0
25500.0
25500.0
25500.0
25500.0
25500.0
700.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
100.0
0.0
200.0
200.0
100.0
100.0
100.0
200.0
25500.0
25500.0
25500.0
25500.0
0.0
100.0
0.0
100.0
100.0
25500.0
100.0
25500.0
25500.0
25500.0
25500.0
25500.0
25500.0
25500.0
25500.0
25500.0
25500.0
25500.0
25500.0
25500.0
25500.0
25500.0
25500.0
25500.0
25500.0
25500.0
25500.0
25500.0
1000.0
5000.0
7500.0
11000.0
15000.0
12000.0
10900.0
9600.0
0.0
1200.0
1000.0
600.0
500.0
1000.0
1000.0
1300.0
1500.0
1500.0
2500.0
3800.0
4500.0
5000.0
6500.0
9000.0
12500.0
21600.0
100.0
3000.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
</constant>
<constant digits="0" name="UNALLOCATED_TOP_9" units="RAW">
255.0
</constant>

View File

@ -6,7 +6,7 @@
MTversion = 2.25
queryCommand = "Q"
signature = "speeduino 201712-dev"
signature = "speeduino 201712"
versionInfo = "S" ;This info is what is displayed to user
[TunerStudio]

View File

@ -132,7 +132,7 @@ void command()
break;
case 'Q': // send code version
Serial.print("speeduino 201712-dev");
Serial.print("speeduino 201712");
break;
case 'r': //New format for the optimised OutputChannels
@ -162,7 +162,7 @@ void command()
break;
case 'S': // send code version
Serial.print("Speeduino 2017.12-dev");
Serial.print("Speeduino 2017.12");
currentStatus.secl = 0; //This is required in TS3 due to its stricter timings
break;

View File

@ -940,7 +940,7 @@ int getCrankAngle_4G63(int timePerDegree)
unsigned long elapsedTime = micros() - tempToothLastToothTime;
//crankAngle += uSToDegrees(elapsedTime);
unsigned long toothTime = tempToothLastToothTime - tempToothLastMinusOneToothTime;
crankAngle += int16_t((elapsedTime * triggerToothAngle) / toothTime);
crankAngle += int((elapsedTime * triggerToothAngle) / toothTime);
//timePerDegree = toothTime / tempToothAngle;
if (crankAngle >= 720) { crankAngle -= 720; }