Commit Graph

47 Commits

Author SHA1 Message Date
Richard Metcalfe 3b29179621 Changes to separate out stepper cooling step time from stepper step time. 2019-02-27 09:44:25 +00:00
Richard Metcalfe 33720f77f8 Changes to idle stepper control to prevent idleControl() and disableIdle() from competing against each other. Also target the cranking stepper position when the engine stops and after initial homing when on open loop. Do not disable the stepper when engine stops on stepper closed loop. 2019-02-27 09:40:57 +00:00
Josh Stewart 631867dec2 Ensure idle load is updating when cranking. Fixes #178 2019-02-04 14:32:05 +11:00
Josh Stewart 0fbab60841 Move most of the stm32 runtime into board file 2019-01-22 10:56:25 +13:00
Josh Stewart c2c84b7ef3 Move some of the board specific init code into their respective board files 2019-01-21 17:51:33 +13:00
Josh Stewart 27de4f19c5 Multi board compatibility work 2019-01-18 21:46:03 +11:00
Josh Stewart 9602a4c1e1
Merge pull request #182 from ric355/oct2018additions.
Idle stepper direction changing. Closes #132
2019-01-09 08:39:18 +11:00
Josh Stewart e19090f560
Merge branch 'master' into dec18_master 2019-01-09 08:32:56 +11:00
Richard Metcalfe 4f94c98caa Provide support for changing the idle stepper direction through the use
of an "inverted Y/N" setting. This is to avoid the need to change wiring
if it turns out the stepper is working in the opposite direction to what
is expected.
2019-01-08 11:37:18 +00:00
connor rigby 72e1e2f9f8
Fix a few typos and comment formatting consistency 2019-01-06 10:16:04 -08:00
darren siepka eca00f5719 dec 29122018 master from josh 2018-12-29 17:26:30 +00:00
Josh Stewart 7820d5c2c4 MISRA cleanup 2018-11-05 16:30:26 +11:00
Josh Stewart 43ed2e422a Fix for Teensy freezing when pwm idle enabled 2018-10-06 09:39:23 +10:00
Josh Stewart 0fcc116d3f Potential fix for Teensy crash when PWM idle enabled 2018-10-05 20:26:08 +10:00
Josh Stewart dffa998f0d Correctly set the cranking IAC step table size. Fixes #159 2018-09-04 12:11:15 +10:00
Josh Stewart bc096fbae3 Bunch of minor error cleanup 2018-08-15 17:44:30 +10:00
Josh Stewart b14e2d41f4 Fix for stepper homing not completing. Fixes #152 2018-07-23 08:28:56 +10:00
Josh Stewart 00daa6b93a Initial Idle Up implementation 2018-05-04 17:55:58 +10:00
Josh Stewart 18556718b1 Fix issue where PWM idle could fail to load at startup 2018-04-08 14:40:12 +10: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 4183be51f2 Fast versions of millis() and micros() that use timer5 rather than timer0. Current disabled 2018-03-10 14:07:06 +11:00
VitorBoss 27e22eef1b Merge branch 'master' of git://github.com/noisymime/speeduino 2018-02-01 18:28:53 -02:00
Josh Stewart 8e2e3f125b Convert all tables in code to match the numbering in the ini (Probably has bugs for now) 2018-01-24 12:05:50 +11:00
VitorBoss 31d134c05d Merge branch 'master' of git://github.com/noisymime/speeduino 2017-12-06 16:13:58 -02:00
Josh Stewart 1e432514f9 Allow separate bars calibration 2017-11-28 10:09:54 +11:00
Josh Stewart 6ba1e4f946 Make sure stepper homing completes with 0 rpm 2017-11-27 17:39:53 +11:00
Josh Stewart d26c5298a3 Fixes for homing not working with stepper idles 2017-11-27 09:24:00 +11:00
VitorBoss bc71f23895 Merge branch 'master' of git://github.com/noisymime/speeduino into noisymime-master 2017-10-06 14:43:56 -03:00
Josh Stewart 5b3df5ac4d Merge config pages 6 and 7 2017-09-19 14:51:33 +10:00
VitorBoss 8af08a7209 Included 12bit math for STM
Boost/VVT pins dont change if 0%
Change visual led clock to 4Hz
Change analog resolution to 10bits on STM32GENERIC core
2017-09-02 13:26:41 -03:00
VitorBoss da39db1476 Fix potential crash on IDLE when first flash
Other cosmetic changes
2017-09-01 16:16:45 -03:00
VitorBoss 6b205e832f Fix error on IDLE 2017-08-31 17:38:41 -03:00
VitorBoss 1defafb387 Work on boost/vvt and timers for STM32 2017-08-07 21:40:27 -03:00
VitorBoss 9f64ba2b6c idle, boost and vvt PWM added 2017-08-04 00:13:32 -03:00
Vitor Moreno B. Sales e9db1a2f78 New update to STM32
Using timer bits instead (mainLoopCount & 31) comparators.
Few changes to support another library on STM32
2017-08-02 22:46:48 -03:00
Josh Stewart e399eb1df6 Some teensy fixes 2017-04-15 08:42:33 +10:00
Josh Stewart 34b9adb777 Add stepper idle disable function for DRV8825 2017-04-02 21:17:29 +10:00
Josh Stewart 822c400c01 Fix for potentially wrong initialisation of the on/off idle control 2017-03-30 00:01:52 +11:00
Josh Stewart d38a9584c5 Bunch of little stm32 compatibility tweaks 2017-03-23 12:25:51 +11:00
Josh Stewart 8fc87e062a Fixes for closed loop stepper idle (Now ready for wider testing) 2017-03-22 12:44:22 +11:00
Josh Stewart babbd726d6 Better initial outputs for closed loop stepper 2017-03-20 23:29:34 +11:00
Josh Stewart 880947746f Many small updates to the idle system (Including additional logging) 2017-03-20 22:29:42 +11:00
Josh Stewart afb6f71aae Complete closed loop stepper idle (Needs testing) 2017-03-14 17:25:59 +11:00
Josh Stewart 31836511a3 Initial closed loop stepper idle (Not quite complete) 2017-03-10 20:34:39 +11:00
Josh Stewart 88e412bcf6 Teensy idle code 2017-03-01 14:42:24 +11:00
Josh Stewart 0d055dc7f1 Allow min and max duty cycles for closed loop idle and boost 2017-02-20 17:57:46 +11:00
Josh Stewart c555bbc060 Move to PlatformIO for project layout 2017-02-06 20:56:46 +11:00