Commit Graph

515 Commits

Author SHA1 Message Date
Josh Stewart 765e52fce5 Move a chunk of the prediction code out of speeduino.ino into crankMaths 2018-08-31 17:35:29 +10:00
Josh Stewart bc94053f10 Various small and medium decoder fixes 2018-08-31 17:34:25 +10:00
Josh Stewart 778439e937 Working new ignition mode for 4g63 2018-08-21 14:42:58 +10:00
Josh Stewart 726755ad8e Fix for crank speed being wrong on Basic Distrbutor, Miata9905 and Subaru 67 patterns 2018-08-18 08:49:19 +10:00
Josh Stewart bc096fbae3 Bunch of minor error cleanup 2018-08-15 17:44:30 +10:00
Josh Stewart 22b9c03ae3 Fixes to allow sequential missing tooth with new ignition mode 2018-08-14 16:08:52 +10:00
Josh Stewart faae1f3a5a More of the knock control ground work 2018-08-14 12:47:15 +10:00
Josh Stewart 189234015f Huge amount of optimsation work on new ignition system 2018-08-14 12:46:39 +10:00
John Bloom 2b284ac0d8 Fix Teensy IGN2 pin mapping
Correctly set pin mapping on Speeduino 0.4.x w/ Teensy Adapter.
2018-08-12 18:51:14 -07:00
Josh Stewart 9e3049d5ec Add missing knock threshold variable for analog knock input 2018-08-13 09:16:58 +10:00
Josh Stewart cc6bf05a43 Initial work on new ignition timing method (Very messy) 2018-08-08 15:17:09 +10:00
Josh Stewart 8d854eec22 Enable sequential on 4g63 2018-07-29 14:34:48 +10:00
Josh Stewart 20c9c796d6 Initial memory allocation (etc) work for knock control 2018-07-26 22:09:48 +10:00
Josh Stewart 0bbed9f316 Cleanup of aux PR and add init routing for these channels 2018-07-26 17:07:31 +10:00
Josh Stewart 57a5791a05
Merge pull request #148 from Autohome2/local_auxin3
I will need to change some of these slightly in speeduino.ino as there can't be any for loops occurring every cycle, but that should be easy enough
2018-07-25 16:41:14 +10:00
Josh Stewart 3febb26493 Add last interval tooth calculation for angleToTime() 2018-07-25 16:39:49 +10:00
Josh Stewart f1182d569d
Merge branch 'master' into local_auxin3 2018-07-25 16:38:07 +10:00
Josh Stewart 45bbb4bad8 Correct check for new board on startup. Fixes #153 2018-07-24 15:50:16 +10:00
Josh Stewart 2287c9086c Add sync loss counter to log (And apply to other patterns) 2018-07-24 10:44:47 +10:00
Josh Stewart 0b2cd0d88a Initial introduction of a sync los counter 2018-07-24 10:03:40 +10:00
Josh Stewart b14e2d41f4 Fix for stepper homing not completing. Fixes #152 2018-07-23 08:28:56 +10:00
Josh Stewart cfe1062dd2 New rolling cut method 2018-07-22 21:28:05 +10:00
Josh Stewart 0dee4ab7f2 Still more warnings cleanup 2018-07-22 00:17:08 +10:00
Josh Stewart ce0e399201 More warnings cleanup 2018-07-19 23:26:31 +10:00
Josh Stewart 9e2d649f61 Begin some work on warnings cleanup 2018-07-19 17:35:35 +10:00
Josh Stewart dc784deaef Allow for negative ethanol ignition advance 2018-07-19 17:33:40 +10:00
Josh Stewart f741a3bef1 Fix for sequential ignition not working on 2 cyl 2018-07-18 18:19:59 +10:00
Josh Stewart b8a5586422 Initial conversion to the new timing maths code 2018-07-12 20:45:27 +10:00
Josh Stewart 7bc42b13eb July dev signatures 2018-07-10 15:13:00 +10:00
darren siepka 8dd9ed9fbd improve TS ini selection options
fix bit masking
storage table fix
2018-07-04 01:16:35 +01:00
Autohome2 fbfa727f6f
Merge pull request #60 from noisymime/master
update for 03072018 release
2018-07-03 21:51:12 +01:00
Josh Stewart 72397a90e1 Base tune and signatures for June release 2018-07-03 17:31:28 +10:00
Josh Stewart 02a8fe6cd3 MISRA cleanup 2018-07-03 17:20:13 +10:00
Josh Stewart 5c79f2ac15 Multiple nitrous control fixes. Appears to be working fully. Closes #147 2018-07-03 15:46:23 +10:00
Josh Stewart 043673dd78 Improvements to nitrous contol. Now complete and needing testing #147 2018-07-01 20:37:57 +10:00
Josh Stewart 5ce2d61186 Stub versions of new crank maths files to allow compiling 2018-06-30 09:21:13 +10:00
darren siepka a124f4d6b1 fix minor typos 2018-06-29 23:38:41 +01:00
Autohome2 757256bbb7
Merge pull request #59 from noisymime/master
update with josh 29062018
2018-06-29 23:15:31 +01:00
darren siepka a480996cfc add option to use can channels for local input pins 2018-06-29 23:09:27 +01:00
Josh Stewart 8ff299e3ac Initial nitrous control implementation (Needs tweaking and testing) 2018-06-30 01:19:51 +10:00
Josh Stewart 4000c24dde Change boost control hyster to work above 100kpa 2018-06-29 18:08:17 +10:00
Josh Stewart f276bb7042 Add Fix angle on/off setting 2018-06-29 18:07:39 +10:00
Josh Stewart 2b1a7d38ef Fixes for missing tooth @ cam speed 2018-06-26 12:17:43 +10:00
Josh Stewart 3c719d00b7 Relax sync requirements on 6g72 pattern 2018-06-20 16:46:21 +10:00
Josh Stewart e5ea1ce36e Allow 6g72 patterns under the new sync method of the 4g63 decoder. #76 2018-06-17 15:16:22 +10:00
Josh Stewart 600fa72f7f Auto switching of TPS reverse calibration. Closes #131 2018-06-17 12:20:09 +10:00
Josh Stewart d291d6433f Fix minor bug where cranking RPM would be rough on startup for 1 second 2018-06-17 11:29:47 +10:00
Josh Stewart 3773647062 Initial implementation of AE RPM tapering (Issue #138) 2018-06-10 14:57:52 +10:00
Josh Stewart 34e0aca5b6 June Dev signatures 2018-06-10 13:04:57 +10:00
Josh Stewart ab08140bbc Cleanup of new micros() timer stuff 2018-06-07 15:23:34 +10:00
Josh Stewart 47b7da893e Base tunes and signtatures for May 18 FW 2018-06-07 15:22:04 +10:00
Josh Stewart 627d6d98fa Tweaks and bug fixes on the PID AFR algorithm 2018-06-06 16:51:28 +10:00
Josh Stewart 6258fd1556 Correct schedule function definitions to match actual functions 2018-06-06 12:15:07 +10:00
Josh Stewart 88429b977b Minor changes to Simple closed loop AFR algorithm
See Issue #142
2018-06-04 17:01:53 +10:00
Josh Stewart 388ad9ac41 Add UA4C board definition 2018-06-04 16:33:19 +10:00
Josh Stewart badb088006 Change fan on/off logic to be more reliable 2018-05-31 08:29:17 +10:00
Josh Stewart a694651caa Add open loop boost option back in 2018-05-15 14:05:45 +10:00
Josh Stewart 19e258ecfb Independent fuel and ignition load algorithms 2018-05-08 16:43:18 +10:00
Josh Stewart 00daa6b93a Initial Idle Up implementation 2018-05-04 17:55:58 +10:00
Josh Stewart 50196ce247 May dev signatures 2018-05-02 16:40:57 +10:00
Josh Stewart d7599089dc April 18 signatures and base tunes 2018-05-01 17:40:05 +10:00
Josh Stewart ba88cfc07d Allow negative fixed ignition angles 2018-05-01 17:33:52 +10:00
Josh Stewart c0cf1c5119 MISRA cleanup 2018-04-25 08:00:16 +10:00
Josh Stewart 4b5f580649 All base work on EMAP sensor configuration and reading 2018-04-24 21:31:52 +10:00
Josh Stewart d473e00ce4 Groundwork for proper variable algorithms 2018-04-24 17:11:10 +10:00
Josh Stewart 1d5a79757a Send through channel and squirt info to TS 2018-04-23 15:27:57 +10:00
Josh Stewart 1f998a2764 Add sequential set modes for 6 and 8 cylinder fuel 2018-04-20 17:13:20 +10:00
Josh Stewart f62a4d727c Add protection check on Miata 99-05 fixed cranking timing 2018-04-20 17:02:59 +10:00
Josh Stewart 8706c107fb Multi-squirt enable (giggity) 2018-04-20 17:02:35 +10:00
darren siepka aa3904b448 add dvjcodec rev a and b teensy board entry
reactivate second o2 input
2018-04-10 23:17:38 +01:00
darren siepka 2498f53730 fix second o2 error 2018-04-05 22:11:58 +01:00
darren siepka a5e226c58c add teensy ifdef for new board entries 2018-04-05 22:02:33 +01:00
darren siepka 8583e8ac7a Merge branch 'teensy_reva' of https://github.com/Autohome2/speeduino 2018-04-05 21:42:47 +01:00
darren siepka 339ece2618 add reva and revb teensy boards and enable second o2 2018-04-05 21:41:33 +01:00
Josh Stewart 8d7370e0df Multiple safety checks and fixes on fixed cranking and Miata 99-05 decoder 2018-04-04 14:40:09 +10:00
Josh Stewart 818a2416b8 Increase the cranking RPM setting resolution to 10rpm 2018-04-04 14:39:17 +10:00
Josh Stewart 6df7e4c345 Timer configs for boost and vvt on Teensy 2018-04-03 17:47:33 +10:00
Josh Stewart 915c6b9107 Fix timer initialisation on Teensy for more than 4 ign/inj channels 2018-04-03 17:12:23 +10:00
Josh Stewart 34ab5a3a67 Allow final values in the WUE table below 100% 2018-03-28 12:50:36 +11:00
Josh Stewart 7353782399 Correct some of the extra fuel enable/disable macros 2018-03-20 23:58:17 +11:00
Josh Stewart dd197adb07 Revert a few problem changes from the last PR 2018-03-20 22:49:00 +11:00
Josh Stewart 18e91ac378
Merge pull request #134 from VitorBoss/master
STM32 fast update
2018-03-19 08:44:32 +11:00
Josh Stewart 5d68ca4c6f Copy/paste errors in schedule numbers 2018-03-19 08:43:34 +11:00
VitorBoss bcf3a2922b fix for digitalPinToInterrupt on libmaple core 2018-03-18 03:39:30 -03:00
VitorBoss 7e19e6c4ad Fixes for STM crash 2018-03-18 03:26:12 -03:00
Vitor Moreno B. Sales 4a532a7a80
Merge pull request #19 from noisymime/master
Bunch more work on dynamic ignition assignment
2018-03-18 02:57:54 -03:00
Josh Stewart 7f0ba43d51 Bunch more work on dynamic ignition assignment 2018-03-18 10:37:31 +11:00
Vitor Moreno B. Sales 17a551d89b
Merge pull request #18 from noisymime/master
Early March Sync
2018-03-16 22:17:54 -03:00
Josh Stewart c35ed913a1 March dev firmware sigs 2018-03-14 23:10:30 +11:00
Josh Stewart 0a8d5e21c5 Feb 2018 signature and base tune 2018-03-10 20:55:21 +11:00
Josh Stewart 981d087d64 Work on the dynamic ignition functions 2018-03-10 14:07:29 +11:00
Josh Stewart 4183be51f2 Fast versions of millis() and micros() that use timer5 rather than timer0. Current disabled 2018-03-10 14:07:06 +11:00
Josh Stewart d4f0bdc03e Fix potential issue that would prevent sync on 4cyl Daihatsu +1 patterns 2018-03-01 16:29:20 +11:00
Josh Stewart 4c47ea93d3 Add a check that prevents staged injection from trying to run when there are more cylinders than injection channels 2018-02-22 23:10:35 +11:00
Murray 684f668c84 changed ini for page 10 unused bytes to match the convention used in other config pages. reformatted the reset control config page section. fixed first element of flex bins not being initialized to 0. 2018-02-17 11:46:42 -06:00
VitorBoss 8a636e407f Update Timers and limited BluePill to 4 Inj/Ign 2018-02-16 20:44:12 -02:00
Josh Stewart 7477ba3322 MISRA errors cleanup 2018-02-12 10:45:02 +11:00
Vitor Moreno B. Sales e510c0e909
Merge pull request #17 from noisymime/master
Get latest fixes from Josh
2018-02-09 13:06:05 -02:00
Josh Stewart d646553b6f Fix for 24x decoder not syncing after startup 2018-02-06 21:47:02 +11:00
Josh Stewart 11a0c8069e Fix initial state of the dual wheel decoder on first rev after sync 2018-02-05 18:05:58 +11:00