Commit Graph
145 Commits
Author SHA1 Message Date
Oskar Weigl 0cec4e2f6c Rename clock constants due to different APB1 and APB2 clocks 2017-02-04 23:12:04 +01:00
Oskar Weigl 7f019cccc2 turn on aux ch pwm TIM2 2017-02-03 19:04:47 +01:00
Oskar Weigl b8aee50354 rerun CubeMX 2017-02-03 19:04:47 +01:00
Oskar Weigl 4c98e2c0a6 remove unnessecary file 2017-02-03 19:04:46 +01:00
Oskar Weigl e4af04aa3d Implement current noise test 2017-02-03 19:04:46 +01:00
Oskar Weigl 1bc7742071 found weird 2MHz when driving lower mosfets 2017-02-03 19:04:46 +01:00
Oskar Weigl c76ff61dd4 tunings for large motor 2017-02-03 19:04:46 +01:00
Oskar Weigl 8b449f2a2e make maximum modulation even safer due to current sense errata 2017-02-03 19:04:20 +01:00
Oskar Weigl 156b6c5c83 fix silly hardcoded path 2017-02-01 21:08:46 +01:00
Oskar Weigl c2fe61017d Update README.md 2017-02-01 19:50:15 +01:00
Oskar Weigl 2303c20a45 add gdb command to makefile 2017-02-01 19:42:34 +01:00
Oskar Weigl bfc00d18b6 add flashing command to makefile 2017-02-01 19:29:19 +01:00
Oskar Weigl 20f6e3ffa2 Reduce modulation index due to slow current filters 2017-02-01 19:09:06 +01:00
madcowswe 57086b36f4 Update README.md 2017-01-20 15:31:25 +01:00
Oskar Weigl 7a662da3ee slightly offset timer sync 2017-01-07 18:27:02 +01:00
Oskar Weigl 3179aa92eb implement position control 2016-12-19 05:09:23 +09:00
Oskar Weigl fb735026ed implement velocity controller 2016-12-19 02:31:51 +09:00
Oskar Weigl ed418aadd0 tune pll 2016-12-19 01:08:29 +09:00
Oskar Weigl 0d4722e425 implement pll 2016-12-19 00:10:40 +09:00
Oskar Weigl eb79172aa1 change pll object structure 2016-12-18 23:51:45 +09:00
Oskar Weigl 84e1dce738 make rotor class 2016-12-18 04:02:42 +09:00
Oskar Weigl 485eab41b4 implement current control 2016-12-17 01:57:05 +09:00
Oskar Weigl a4b96ee778 Encoders on both motors 2016-12-15 03:19:56 +09:00
Oskar Weigl b798fb45e9 clean up int16 vs uint16 on encoder 2016-12-14 01:21:54 +09:00
Oskar Weigl 12306023c8 fix reverse spin 2016-12-13 23:18:05 +09:00
Oskar Weigl 8e4af6e53e 32 bit encoder spin 2016-12-13 22:54:29 +09:00
Oskar Weigl 07be523330 change scan units 2016-12-13 22:09:41 +09:00
Oskar Weigl f2f1be401b Implement encoder scan calibration 2016-12-13 04:15:47 +09:00
Oskar Weigl 33428fef07 include vbus in queue timings 2016-12-13 03:36:28 +09:00
Oskar Weigl 6276355e6a get encoders working 2016-12-13 01:47:26 +09:00
Oskar Weigl f59d1dd577 Implement coherent writing of timings via buffering 2016-12-12 00:43:50 +09:00
Oskar Weigl 28b4740b18 working 2 motors 2016-12-11 23:47:17 +09:00
Oskar Weigl 4a85368384 silly ADC sequence registers uses slot 4 not 1 2016-12-11 23:35:26 +09:00
Oskar Weigl 8bf2c2ea71 motor 1 adc measurements not working for some reason 2016-12-11 19:54:37 +09:00
Oskar Weigl 529849f4b7 implement ADC channel switching 2016-12-11 19:01:19 +09:00
Oskar Weigl 140034a15d cleaner structure of sequencing code 2016-12-11 18:36:35 +09:00
Oskar Weigl 40100fe89c full sequence with dummy conversions working 2016-12-11 18:25:32 +09:00
Oskar Weigl ef63668140 set up regular ADC channels to M1 current 2016-12-11 16:29:36 +09:00
Oskar Weigl 5a0e234cf1 restore scan motor timing check 2016-12-11 16:24:28 +09:00
Oskar Weigl 65ad51cbfd TIM1,8 uses HCLK 2016-12-11 02:36:21 +09:00
Oskar Weigl 4b5f2f7b40 enable motor 1 (no control yet) 2016-12-11 00:09:08 +09:00
Oskar Weigl 80de126c66 use current calibrations lol 2016-12-10 23:56:40 +09:00
Oskar Weigl e00d5f5477 setting up thread starting 2016-12-10 23:49:41 +09:00
Oskar Weigl c9c617b636 generalise DRV 2016-12-10 22:57:56 +09:00
Oskar Weigl 44a76ad0db include arm_math library 2016-12-10 22:28:52 +09:00
Oskar Weigl 337f474526 include arm_math with annoying cmsis_rtos bug fix 2016-12-10 21:03:13 +09:00
Oskar Weigl 7985973590 generalised check_timing 2016-12-10 20:06:00 +09:00
Oskar Weigl 5af766700d Structure c files like STM libs 2016-12-10 19:34:31 +09:00
Oskar Weigl 6fd65390cb fix safe torque off 2016-12-10 19:08:18 +09:00
Oskar Weigl 141102998b clean out old tests 2016-12-10 18:48:21 +09:00