Commit Graph
68 Commits
Author SHA1 Message Date
Oskar Weigl 0f668de7c8 pulldown on step/dir pins 2017-07-13 17:02:12 -07:00
Oskar Weigl 9ce254e269 implement step callback 2017-07-12 02:52:39 -07:00
Oskar Weigl 1f5acaadc0 Remap GPIO 1,3 to interrupt, 2,4 to GPIO in 2017-07-12 02:36:38 -07:00
Oskar Weigl ebc3262196 run CubeMX 2017-07-12 00:37:52 -07:00
Oskar Weigl c0a84367de null terminate usb string before parse 2017-07-11 00:43:07 -07:00
Oskar Weigl 43ab04d334 fix warnings in autogenerated code again 2017-03-13 23:44:17 +01:00
sirus 367fcc0342 Upgrade to CubeMX v4.20.0 and FreeRTOS v9.0.0 2017-03-12 18:53:22 -07:00
sirus 78f8fda576 Clean up build warnings. 2017-03-05 11:12:59 -08:00
Rick Pannen bc9f4557a5 reverted whitespace changes 2017-03-05 14:14:39 +01:00
Rick Pannen d6f5c3b7a9 Fix for compiling under case-insensitive systems like OSX 2017-03-03 18:09:14 +01:00
Oskar Weigl 6bb0361479 testing and cleanup 2017-03-01 21:22:15 +01:00
Oskar Weigl 9ce886a258 guard uninited semaphore use in IRQ 2017-03-01 20:43:41 +01:00
Oskar Weigl 46e37f1eb5 change usb cmd processing to single thread with semaphore signalling 2017-03-01 14:57:39 +01:00
Oskar Weigl 70319f4199 Merge branch 'feature/usb-cdc' of git://github.com/nickaknudson/ODriveFirmware into usb-cdc 2017-02-28 15:55:54 +01:00
Nick Knudson 0934e88147 only process USB OTG interrupts during idle time, only process one USB OTG interrupt at a time 2017-02-28 00:12:07 -08:00
Nick Knudson f3768c1ab5 moved USB CDC motor control to task 2017-02-28 00:11:53 -08:00
Oskar Weigl fce1fa6f8d change comment 2017-02-27 21:58:45 +01:00
Oskar Weigl a5a69169b3 Merge branch 'feature/usb-cdc' of git://github.com/nickaknudson/ODriveFirmware into usb-cdc 2017-02-27 19:40:40 +01:00
Nick Knudson d694abe113 added motor control, python control script 2017-02-27 00:16:30 -08:00
Nick Knudson 2c5bc5a9c0 added printf, added USB CDC task, added version 2017-02-25 20:00:15 -08:00
Nick Knudson 3b2c2d4c9c added USB OTG FS with CDC middleware 2017-02-25 18:12:44 -08:00
Oskar Weigl 6f04b2e58c Implement brake resistor control 2017-02-06 23:06:35 +01:00
Oskar Weigl 6f434722f7 aux test lower 50% duty 2017-02-05 03:26:50 +01:00
Oskar Weigl 82ed564280 update used constants 2017-02-04 23:45:22 +01:00
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 6276355e6a get encoders working 2016-12-13 01:47:26 +09:00
Oskar Weigl 28b4740b18 working 2 motors 2016-12-11 23:47:17 +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 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 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 141102998b clean out old tests 2016-12-10 18:48:21 +09:00
madcowswe 5c149f40d6 Merge pull request #2 from wzli/master
Added vbus voltage sampling
2016-12-06 23:25:43 +09:00
Oskar Weigl 7087a2c1d4 fix bus voltage normalisation 2016-12-06 23:21:04 +09:00
wzli 2a895914a8 mapped vbus sampling adc interrupt 2016-12-05 01:01:48 +09:00
Oskar Weigl 74e84d43e6 bypass ADC HAL 2016-12-04 19:55:41 +09:00
Oskar Weigl 13a5f622c9 use signals instead of mail queue for performance reasons 2016-12-04 18:59:07 +09:00
Oskar Weigl 6dafb58eaf make timer config parametric 2016-11-19 22:12:36 +09:00
Oskar Weigl 5344536261 change timer 1 and 8 TRGO to Update 2016-11-19 22:12:36 +09:00
Oskar Weigl d83d015222 restucture files 2016-11-13 16:58:48 +09:00
Oskar Weigl 23239be9bc turn off motor drive when core is halted 2016-11-13 03:49:18 +09:00
Oskar Weigl 9bdd844cf8 Rerun CubeMX (and had to fix some problems)
USB didnt compile, so it is removed for now
Project files didnt generate properly
start code .s file wasnt included, so copied from old version
Makefile edited manually due to project files generation issue
2016-11-12 23:26:36 +09:00
Oskar Weigl dfe2bd3d24 moved motor control files to own folder 2016-11-12 19:51:49 +09:00
Oskar Weigl 8c850dd74a add motor thread 2016-11-12 19:51:49 +09:00
Oskar Weigl 5ad3a58e7c gimbalmotor test lockin working 2016-06-14 21:55:31 +02:00
Oskar Weigl c2508812be analyse histogram 2016-06-14 21:33:16 +02:00