Commit Graph

18 Commits

Author SHA1 Message Date
Benjamin Vedder e7d22911f8 More stormcore power switch fixes 2021-09-15 18:46:08 +02:00
Benjamin Vedder 36c9db6718 Dual motor shutdown fix 2021-08-20 14:59:36 +02:00
Jeffrey M. Friesen 49c94ef90a Fixed bug where unity/stormcore could be powered off too soon and freeze 2021-08-12 19:21:23 -07:00
Jeffrey M. Friesen 422e348c1a Added things for 100D_V2 hardware variant 2021-05-29 12:41:59 +02:00
Jeffrey M. Friesen 4f7be2f569 fixed conflicts 2020-12-06 21:46:47 +01:00
Jeffrey M. Friesen 1a77393ddc Add proper bootup lockout to stormcore and add dual parallel config option for unity. 2020-10-15 10:01:27 -07:00
Benjamin Vedder f560f27871 Merge branch 'master' into dev_fw_5_02 2020-08-13 13:54:16 +02:00
Jeffrey M. Friesen 74bd23dedc Prevent power switch from working when stormcore gets too hot. Fix bug in median filter. 2020-08-10 09:28:07 -07:00
Jeffrey M. Friesen 7e212b58d4 Modified some pins config stuff for stormcore hardware 2020-07-21 09:42:31 -07:00
Benjamin Vedder 9924f333af Made motor temperature lpf slower, and added median motor temperature lpf to HWs with adc mux 2020-04-18 09:48:25 +02:00
Benjamin Vedder d305e37c61 Fixed mistake in previous commit 2020-04-17 22:10:28 +02:00
Benjamin Vedder 93c8c80ca8 Added median filter to stormcore motor temperature samples 2020-04-17 22:07:55 +02:00
Jeffrey M. Friesen acfc93e693 Patched some weird behavior with motor temp on stormcore and added #define for filter constant
Was seeing a lot of coupled noise on stormcore with phase currents so I turned up the LPF on the motor temp sensor. I think it might be a good idea to turn up that LPF generally since motor temp is generally slow to change anyways.

Also found a problem in the #define for motor temp 2 in my header file. Fixed it.
2020-04-14 14:05:47 -07:00
Jeffrey M. Friesen f7964e20c2 Few small changes and fixed bug with duals
Added ramping to current measurement to avoid steps during current calibration with an un-tuned current controller.

Added terminal command for mapping to internal nrf pins, useful when you want to erase_mass a locked nrf chip and dont want to cycle between a bunch of windows to scan connect etc.

Made fault led on duals blink if motor 2 is faulting.

Added break on inductance measurement if motor faults.

Added placeholder commands for changing name and pin of BLE module.
2020-04-01 17:58:37 -07:00
Jeffrey M. Friesen 47813b1ab6 One motor Double Current Drive on Dual 2020-03-28 11:21:45 -07:00
Jeffrey M. Friesen fa1e6c1841 just playing with RGB switch 2020-03-16 20:38:17 -07:00
Jeffrey M. Friesen 36bdbebae3 100D Functioning
Modified hw config of 100D to get running.

Increased delay in drv8323s to improve stability of spi bus (was getting erroneous read/write at anything lower)

added custom settings for drv8323s for things like adjustable gate drive currents and shunt amplifier gains.  Maybe should move to hw conf and do the motor switch from mc_interface.
2020-03-16 19:33:33 -07:00
Jeffrey M. Friesen 06398a45e8 started adding support for stormcore, needs more work 2020-03-16 14:57:55 -07:00