From 47b5abd6a614cd22d2b1ac71ffcefe1290345cdc Mon Sep 17 00:00:00 2001 From: rusEfi Date: Tue, 14 Feb 2017 23:03:57 -0500 Subject: [PATCH] auto-sync --- firmware/config/engines/mazda_miata_vvt.cpp | 37 +++++++++++---------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/firmware/config/engines/mazda_miata_vvt.cpp b/firmware/config/engines/mazda_miata_vvt.cpp index 4276a7a01c..4bd236bf5d 100644 --- a/firmware/config/engines/mazda_miata_vvt.cpp +++ b/firmware/config/engines/mazda_miata_vvt.cpp @@ -6,6 +6,9 @@ * @date Oct 4, 2016 * @author Andrey Belomutskiy, (c) 2012-2017 * http://rusefi.com/forum/viewtopic.php?f=3&t=1095 + * + * todo: try ZM-DE 2000 protege 36/1 trigger wheel + * */ #include "mazda_miata_vvt.h" @@ -71,23 +74,23 @@ static const fuel_table_t mapBased18vvtVeTable = { }; static const ignition_table_t mapBased18vvtTimingTable = { -/* Generated by TS2C on Thu Dec 15 22:45:29 EST 2016*/ -{/* 0 25.000 *//* 0 700.0*/14.800, /* 1 850.0*/14.800, /* 2 943.0*/14.800, /* 3 1112.0*/15.000, /* 4 1310.0*/20.500, /* 5 1545.0*/24.100, /* 6 1821.0*/27.300, /* 7 2146.0*/30.000, /* 8 2530.0*/32.600, /* 9 2982.0*/35.598, /* 10 3515.0*/37.698, /* 11 4144.0*/38.728, /* 12 4884.0*/39.346, /* 13 5757.0*/39.758, /* 14 6787.0*/39.964, /* 15 8000.0*/40.170, }, -{/* 1 29.100 *//* 0 700.0*/14.800, /* 1 850.0*/14.800, /* 2 943.0*/14.800, /* 3 1112.0*/15.100, /* 4 1310.0*/20.500, /* 5 1545.0*/24.000, /* 6 1821.0*/27.200, /* 7 2146.0*/29.600, /* 8 2530.0*/32.000, /* 9 2982.0*/35.190, /* 10 3515.0*/37.286, /* 11 4144.0*/38.316, /* 12 4884.0*/39.037, /* 13 5757.0*/39.552, /* 14 6787.0*/39.758, /* 15 8000.0*/39.964, }, -{/* 2 34.000 *//* 0 700.0*/14.800, /* 1 850.0*/14.800, /* 2 943.0*/14.900, /* 3 1112.0*/15.400, /* 4 1310.0*/20.600, /* 5 1545.0*/23.800, /* 6 1821.0*/26.800, /* 7 2146.0*/29.000, /* 8 2530.0*/31.400, /* 9 2982.0*/34.578, /* 10 3515.0*/36.771, /* 11 4144.0*/37.801, /* 12 4884.0*/38.522, /* 13 5757.0*/39.140, /* 14 6787.0*/39.346, /* 15 8000.0*/39.552, }, -{/* 3 39.600 *//* 0 700.0*/15.200, /* 1 850.0*/15.200, /* 2 943.0*/15.400, /* 3 1112.0*/16.900, /* 4 1310.0*/20.700, /* 5 1545.0*/23.600, /* 6 1821.0*/26.400, /* 7 2146.0*/28.400, /* 8 2530.0*/30.800, /* 9 2982.0*/33.762, /* 10 3515.0*/35.947, /* 11 4144.0*/37.183, /* 12 4884.0*/37.904, /* 13 5757.0*/38.522, /* 14 6787.0*/38.728, /* 15 8000.0*/38.934, }, -{/* 4 46.200 *//* 0 700.0*/15.500, /* 1 850.0*/15.500, /* 2 943.0*/15.800, /* 3 1112.0*/18.000, /* 4 1310.0*/20.800, /* 5 1545.0*/23.400, /* 6 1821.0*/25.900, /* 7 2146.0*/27.700, /* 8 2530.0*/30.000, /* 9 2982.0*/32.844, /* 10 3515.0*/35.123, /* 11 4144.0*/36.359, /* 12 4884.0*/37.183, /* 13 5757.0*/37.698, /* 14 6787.0*/37.904, /* 15 8000.0*/38.213, }, -{/* 5 53.900 *//* 0 700.0*/15.700, /* 1 850.0*/15.800, /* 2 943.0*/16.400, /* 3 1112.0*/18.400, /* 4 1310.0*/20.900, /* 5 1545.0*/23.000, /* 6 1821.0*/25.200, /* 7 2146.0*/27.000, /* 8 2530.0*/29.100, /* 9 2982.0*/31.926, /* 10 3515.0*/33.990, /* 11 4144.0*/35.226, /* 12 4884.0*/36.050, /* 13 5757.0*/36.771, /* 14 6787.0*/37.080, /* 15 8000.0*/37.492, }, -{/* 6 62.800 *//* 0 700.0*/15.900, /* 1 850.0*/16.100, /* 2 943.0*/16.900, /* 3 1112.0*/18.600, /* 4 1310.0*/20.700, /* 5 1545.0*/22.600, /* 6 1821.0*/24.600, /* 7 2146.0*/26.100, /* 8 2530.0*/28.000, /* 9 2982.0*/30.702, /* 10 3515.0*/32.436, /* 11 4144.0*/33.558, /* 12 4884.0*/34.476, /* 13 5757.0*/35.190, /* 14 6787.0*/35.598, /* 15 8000.0*/36.210, }, -{/* 7 73.200 *//* 0 700.0*/16.200, /* 1 850.0*/16.500, /* 2 943.0*/17.200, /* 3 1112.0*/18.700, /* 4 1310.0*/20.400, /* 5 1545.0*/22.000, /* 6 1821.0*/23.800, /* 7 2146.0*/25.000, /* 8 2530.0*/26.700, /* 9 2982.0*/28.600, /* 10 3515.0*/30.400, /* 11 4144.0*/31.600, /* 12 4884.0*/32.300, /* 13 5757.0*/33.100, /* 14 6787.0*/33.700, /* 15 8000.0*/34.300, }, -{/* 8 85.400 *//* 0 700.0*/16.300, /* 1 850.0*/17.000, /* 2 943.0*/17.500, /* 3 1112.0*/18.600, /* 4 1310.0*/19.800, /* 5 1545.0*/21.300, /* 6 1821.0*/22.700, /* 7 2146.0*/23.600, /* 8 2530.0*/25.300, /* 9 2982.0*/27.000, /* 10 3515.0*/28.600, /* 11 4144.0*/30.000, /* 12 4884.0*/30.900, /* 13 5757.0*/31.600, /* 14 6787.0*/32.200, /* 15 8000.0*/32.900, }, -{/* 9 99.500 *//* 0 700.0*/16.200, /* 1 850.0*/16.800, /* 2 943.0*/17.300, /* 3 1112.0*/18.000, /* 4 1310.0*/19.000, /* 5 1545.0*/20.200, /* 6 1821.0*/21.300, /* 7 2146.0*/22.100, /* 8 2530.0*/23.400, /* 9 2982.0*/25.200, /* 10 3515.0*/26.700, /* 11 4144.0*/28.000, /* 12 4884.0*/28.900, /* 13 5757.0*/29.800, /* 14 6787.0*/30.700, /* 15 8000.0*/31.400, }, -{/* 10 116.000 *//* 0 700.0*/15.300, /* 1 850.0*/15.900, /* 2 943.0*/16.300, /* 3 1112.0*/16.800, /* 4 1310.0*/17.400, /* 5 1545.0*/18.300, /* 6 1821.0*/19.300, /* 7 2146.0*/20.000, /* 8 2530.0*/21.500, /* 9 2982.0*/23.000, /* 10 3515.0*/24.500, /* 11 4144.0*/25.900, /* 12 4884.0*/26.900, /* 13 5757.0*/27.700, /* 14 6787.0*/28.700, /* 15 8000.0*/29.500, }, -{/* 11 135.301 *//* 0 700.0*/13.600, /* 1 850.0*/13.900, /* 2 943.0*/14.100, /* 3 1112.0*/14.600, /* 4 1310.0*/15.100, /* 5 1545.0*/15.900, /* 6 1821.0*/17.000, /* 7 2146.0*/17.700, /* 8 2530.0*/19.100, /* 9 2982.0*/20.600, /* 10 3515.0*/22.100, /* 11 4144.0*/23.300, /* 12 4884.0*/24.500, /* 13 5757.0*/25.500, /* 14 6787.0*/26.500, /* 15 8000.0*/27.300, }, -{/* 12 157.699 *//* 0 700.0*/11.200, /* 1 850.0*/11.600, /* 2 943.0*/11.800, /* 3 1112.0*/12.200, /* 4 1310.0*/12.500, /* 5 1545.0*/13.200, /* 6 1821.0*/14.200, /* 7 2146.0*/15.100, /* 8 2530.0*/16.500, /* 9 2982.0*/17.700, /* 10 3515.0*/19.200, /* 11 4144.0*/20.600, /* 12 4884.0*/21.700, /* 13 5757.0*/22.800, /* 14 6787.0*/24.000, /* 15 8000.0*/25.000, }, -{/* 13 183.900 *//* 0 700.0*/8.300, /* 1 850.0*/8.700, /* 2 943.0*/9.000, /* 3 1112.0*/9.300, /* 4 1310.0*/9.800, /* 5 1545.0*/10.400, /* 6 1821.0*/11.300, /* 7 2146.0*/12.100, /* 8 2530.0*/13.100, /* 9 2982.0*/14.500, /* 10 3515.0*/16.000, /* 11 4144.0*/17.200, /* 12 4884.0*/18.500, /* 13 5757.0*/19.700, /* 14 6787.0*/21.000, /* 15 8000.0*/22.100, }, -{/* 14 214.400 *//* 0 700.0*/5.000, /* 1 850.0*/5.300, /* 2 943.0*/5.600, /* 3 1112.0*/5.900, /* 4 1310.0*/6.400, /* 5 1545.0*/7.000, /* 6 1821.0*/7.600, /* 7 2146.0*/8.400, /* 8 2530.0*/9.600, /* 9 2982.0*/10.800, /* 10 3515.0*/12.100, /* 11 4144.0*/13.400, /* 12 4884.0*/14.800, /* 13 5757.0*/16.200, /* 14 6787.0*/17.400, /* 15 8000.0*/18.700, }, -{/* 15 250.000 *//* 0 700.0*/1.100, /* 1 850.0*/1.400, /* 2 943.0*/1.600, /* 3 1112.0*/2.000, /* 4 1310.0*/2.500, /* 5 1545.0*/3.000, /* 6 1821.0*/3.700, /* 7 2146.0*/4.400, /* 8 2530.0*/5.400, /* 9 2982.0*/6.600, /* 10 3515.0*/7.600, /* 11 4144.0*/9.000, /* 12 4884.0*/10.500, /* 13 5757.0*/12.000, /* 14 6787.0*/13.400, /* 15 8000.0*/14.900, }, + /* Generated by TS2C on Tue Feb 14 22:31:15 EST 2017*/ + {/* 0 25.000 *//* 0 700.0*/14.800, /* 1 850.0*/14.800, /* 2 943.0*/14.800, /* 3 1112.0*/10.000, /* 4 1310.0*/15.500, /* 5 1545.0*/19.100, /* 6 1821.0*/22.300, /* 7 2146.0*/25.000, /* 8 2530.0*/27.600, /* 9 2982.0*/30.598, /* 10 3515.0*/32.698, /* 11 4144.0*/33.728, /* 12 4884.0*/34.346, /* 13 5757.0*/34.758, /* 14 6787.0*/34.964, /* 15 8000.0*/35.170, }, + {/* 1 29.100 *//* 0 700.0*/14.800, /* 1 850.0*/14.800, /* 2 943.0*/14.800, /* 3 1112.0*/10.100, /* 4 1310.0*/15.500, /* 5 1545.0*/19.000, /* 6 1821.0*/22.200, /* 7 2146.0*/24.600, /* 8 2530.0*/27.000, /* 9 2982.0*/30.190, /* 10 3515.0*/32.286, /* 11 4144.0*/33.316, /* 12 4884.0*/34.037, /* 13 5757.0*/34.552, /* 14 6787.0*/34.758, /* 15 8000.0*/34.964, }, + {/* 2 34.000 *//* 0 700.0*/14.800, /* 1 850.0*/14.800, /* 2 943.0*/14.900, /* 3 1112.0*/10.400, /* 4 1310.0*/15.600, /* 5 1545.0*/18.800, /* 6 1821.0*/21.800, /* 7 2146.0*/24.000, /* 8 2530.0*/26.400, /* 9 2982.0*/29.578, /* 10 3515.0*/31.771, /* 11 4144.0*/32.801, /* 12 4884.0*/33.522, /* 13 5757.0*/34.140, /* 14 6787.0*/34.346, /* 15 8000.0*/34.552, }, + {/* 3 39.600 *//* 0 700.0*/15.200, /* 1 850.0*/15.200, /* 2 943.0*/15.400, /* 3 1112.0*/11.900, /* 4 1310.0*/15.700, /* 5 1545.0*/18.600, /* 6 1821.0*/21.400, /* 7 2146.0*/23.400, /* 8 2530.0*/25.800, /* 9 2982.0*/28.762, /* 10 3515.0*/30.947, /* 11 4144.0*/32.183, /* 12 4884.0*/32.904, /* 13 5757.0*/33.522, /* 14 6787.0*/33.728, /* 15 8000.0*/33.934, }, + {/* 4 46.200 *//* 0 700.0*/15.500, /* 1 850.0*/15.500, /* 2 943.0*/15.800, /* 3 1112.0*/13.000, /* 4 1310.0*/15.800, /* 5 1545.0*/18.400, /* 6 1821.0*/20.900, /* 7 2146.0*/22.700, /* 8 2530.0*/25.000, /* 9 2982.0*/27.844, /* 10 3515.0*/30.123, /* 11 4144.0*/31.359, /* 12 4884.0*/32.183, /* 13 5757.0*/32.698, /* 14 6787.0*/32.904, /* 15 8000.0*/33.213, }, + {/* 5 53.900 *//* 0 700.0*/15.700, /* 1 850.0*/15.800, /* 2 943.0*/16.400, /* 3 1112.0*/13.400, /* 4 1310.0*/15.900, /* 5 1545.0*/18.000, /* 6 1821.0*/20.200, /* 7 2146.0*/22.000, /* 8 2530.0*/24.100, /* 9 2982.0*/26.926, /* 10 3515.0*/28.990, /* 11 4144.0*/30.226, /* 12 4884.0*/31.050, /* 13 5757.0*/31.771, /* 14 6787.0*/32.080, /* 15 8000.0*/32.492, }, + {/* 6 62.800 *//* 0 700.0*/15.900, /* 1 850.0*/16.100, /* 2 943.0*/16.900, /* 3 1112.0*/13.600, /* 4 1310.0*/15.700, /* 5 1545.0*/17.600, /* 6 1821.0*/19.600, /* 7 2146.0*/21.100, /* 8 2530.0*/23.000, /* 9 2982.0*/25.702, /* 10 3515.0*/27.436, /* 11 4144.0*/28.558, /* 12 4884.0*/29.476, /* 13 5757.0*/30.190, /* 14 6787.0*/30.598, /* 15 8000.0*/31.210, }, + {/* 7 73.200 *//* 0 700.0*/16.200, /* 1 850.0*/16.500, /* 2 943.0*/17.200, /* 3 1112.0*/13.700, /* 4 1310.0*/15.400, /* 5 1545.0*/17.000, /* 6 1821.0*/18.800, /* 7 2146.0*/20.000, /* 8 2530.0*/21.700, /* 9 2982.0*/23.600, /* 10 3515.0*/25.400, /* 11 4144.0*/26.600, /* 12 4884.0*/27.300, /* 13 5757.0*/28.100, /* 14 6787.0*/28.700, /* 15 8000.0*/29.300, }, + {/* 8 85.400 *//* 0 700.0*/16.300, /* 1 850.0*/17.000, /* 2 943.0*/17.500, /* 3 1112.0*/13.600, /* 4 1310.0*/14.800, /* 5 1545.0*/16.300, /* 6 1821.0*/17.700, /* 7 2146.0*/18.600, /* 8 2530.0*/20.300, /* 9 2982.0*/22.000, /* 10 3515.0*/23.600, /* 11 4144.0*/25.000, /* 12 4884.0*/25.900, /* 13 5757.0*/26.600, /* 14 6787.0*/27.200, /* 15 8000.0*/27.900, }, + {/* 9 99.500 *//* 0 700.0*/16.200, /* 1 850.0*/16.800, /* 2 943.0*/17.300, /* 3 1112.0*/18.000, /* 4 1310.0*/19.000, /* 5 1545.0*/20.200, /* 6 1821.0*/21.300, /* 7 2146.0*/22.100, /* 8 2530.0*/23.400, /* 9 2982.0*/25.200, /* 10 3515.0*/26.700, /* 11 4144.0*/28.000, /* 12 4884.0*/28.900, /* 13 5757.0*/29.800, /* 14 6787.0*/30.700, /* 15 8000.0*/31.400, }, + {/* 10 116.000 *//* 0 700.0*/15.300, /* 1 850.0*/15.900, /* 2 943.0*/16.300, /* 3 1112.0*/16.800, /* 4 1310.0*/17.400, /* 5 1545.0*/18.300, /* 6 1821.0*/19.300, /* 7 2146.0*/20.000, /* 8 2530.0*/21.500, /* 9 2982.0*/23.000, /* 10 3515.0*/24.500, /* 11 4144.0*/25.900, /* 12 4884.0*/26.900, /* 13 5757.0*/27.700, /* 14 6787.0*/28.700, /* 15 8000.0*/29.500, }, + {/* 11 135.301 *//* 0 700.0*/13.600, /* 1 850.0*/13.900, /* 2 943.0*/14.100, /* 3 1112.0*/14.600, /* 4 1310.0*/15.100, /* 5 1545.0*/15.900, /* 6 1821.0*/17.000, /* 7 2146.0*/17.700, /* 8 2530.0*/19.100, /* 9 2982.0*/20.600, /* 10 3515.0*/22.100, /* 11 4144.0*/23.300, /* 12 4884.0*/24.500, /* 13 5757.0*/25.500, /* 14 6787.0*/26.500, /* 15 8000.0*/27.300, }, + {/* 12 157.699 *//* 0 700.0*/11.200, /* 1 850.0*/11.600, /* 2 943.0*/11.800, /* 3 1112.0*/12.200, /* 4 1310.0*/12.500, /* 5 1545.0*/13.200, /* 6 1821.0*/14.200, /* 7 2146.0*/15.100, /* 8 2530.0*/16.500, /* 9 2982.0*/17.700, /* 10 3515.0*/19.200, /* 11 4144.0*/20.600, /* 12 4884.0*/21.700, /* 13 5757.0*/22.800, /* 14 6787.0*/24.000, /* 15 8000.0*/25.000, }, + {/* 13 183.900 *//* 0 700.0*/8.300, /* 1 850.0*/8.700, /* 2 943.0*/9.000, /* 3 1112.0*/9.300, /* 4 1310.0*/9.800, /* 5 1545.0*/10.400, /* 6 1821.0*/11.300, /* 7 2146.0*/12.100, /* 8 2530.0*/13.100, /* 9 2982.0*/14.500, /* 10 3515.0*/16.000, /* 11 4144.0*/17.200, /* 12 4884.0*/18.500, /* 13 5757.0*/19.700, /* 14 6787.0*/21.000, /* 15 8000.0*/22.100, }, + {/* 14 214.400 *//* 0 700.0*/5.000, /* 1 850.0*/5.300, /* 2 943.0*/5.600, /* 3 1112.0*/5.900, /* 4 1310.0*/6.400, /* 5 1545.0*/7.000, /* 6 1821.0*/7.600, /* 7 2146.0*/8.400, /* 8 2530.0*/9.600, /* 9 2982.0*/10.800, /* 10 3515.0*/12.100, /* 11 4144.0*/13.400, /* 12 4884.0*/14.800, /* 13 5757.0*/16.200, /* 14 6787.0*/17.400, /* 15 8000.0*/18.700, }, + {/* 15 250.000 *//* 0 700.0*/1.100, /* 1 850.0*/1.400, /* 2 943.0*/1.600, /* 3 1112.0*/2.000, /* 4 1310.0*/2.500, /* 5 1545.0*/3.000, /* 6 1821.0*/3.700, /* 7 2146.0*/4.400, /* 8 2530.0*/5.400, /* 9 2982.0*/6.600, /* 10 3515.0*/7.600, /* 11 4144.0*/9.000, /* 12 4884.0*/10.500, /* 13 5757.0*/12.000, /* 14 6787.0*/13.400, /* 15 8000.0*/14.900, }, }; void setMazdaMiata2003EngineConfiguration(DECLARE_ENGINE_PARAMETER_F) {