Commit Graph

100 Commits

Author SHA1 Message Date
Jeffrey M. Friesen 1b67dc2666 Refactored name of is_test_build, also added dual stuff to foc_detect_apply_all_can 2020-04-05 12:28:08 -07:00
Benjamin Vedder 2f19819d27 Fixed conflicts with master merge 2020-04-04 22:35:29 +02:00
Benjamin Vedder 76fd7a3917 Added COMM_SET_CAN_MODE and added support for HW75_300_R3 2020-04-04 22:28:41 +02:00
Benjamin Vedder 450ed15837 Some Fixes in prevoius PR 2020-04-02 16:26:59 +02: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
Benjamin Vedder 76c7575bb9 Fixed merge conflict 2020-03-26 13:52:40 +01:00
Benjamin Vedder 731ac70e55 Fixed typo in previous commit 2020-03-26 13:51:20 +01:00
Benjamin Vedder 3a03286f00 Fixed merge conflict 2020-03-26 13:47:48 +01:00
Benjamin Vedder 5e93fa9f81 Fixed warning on previous commit 2020-03-26 13:45:39 +01:00
Benjamin Vedder cf0031ee17 Fixed merge conflicts 2020-03-26 13:37:15 +01:00
Benjamin Vedder 3129420e43 Updated COMM_SET_MCCONF_TEMP to allow setting input current limits 2020-03-26 13:30:53 +01:00
Benjamin Vedder 988dfd4e72 Added new_app_offset to COMM_WRITE_NEW_APP_DATA reply 2020-03-22 18:21:53 +01:00
Benjamin Vedder 51f0fcea09 gpdrive fix, observer gain calc updates, added COMM_SET_BATTERY_CUT, added CAN_PACKET_SHUTDOWN, detect all fix 2020-03-20 17:35:25 +01:00
Benjamin Vedder 7391330f4c Added test build flag 2020-03-17 11:46:52 +01:00
Benjamin Vedder 52e17059e5 Major restructuring for dual motor support, and added unity hw files 2020-03-16 18:32:39 +01:00
Mitch Lustig 6d29b6741f Use ADC for switches 2020-02-23 13:34:51 -08:00
Benjamin Vedder 97ef43cff8 Leave debug mode on NRF5x after SWD upload, more TS5700N8501 encoder features, more CAN baud rates 2020-02-01 00:37:25 +01:00
Benjamin Vedder b6949d60dc FW4.00: HFI and many updates, see changelog 2020-01-28 19:46:19 +01:00
Benjamin Vedder ceb8b7bf7d HW60_MK3 support, shutdown fix, added COMM_SET_CURRENT_REL, ramp fix, PPM timeout fix, IRQ prio fix 2019-12-19 16:55:38 +01:00
Benjamin Vedder 23e61925b6 FW upload compression support, TS5700N8501 support 2019-12-05 19:50:17 +01:00
Benjamin Vedder ce31092c1d Merge branch 'master' of https://github.com/vedderb/bldc 2019-09-21 12:50:41 +02:00
Benjamin Vedder f34d0159bf Fixed nunchuk bug and added COMM_BM_MEM_READ command 2019-09-21 12:50:39 +02:00
Mitch Lustig 343dba369a Remove axis config 2019-09-21 01:07:31 -07:00
Benjamin Vedder 6117c2ba20 Fixed merge conflict 2019-09-17 19:43:28 +02:00
Benjamin Vedder db6ba047d9 Added COMM_BM_READ_MEM command 2019-09-17 19:39:11 +02:00
Mitch Lustig 67a4653bd8 Add support for dual fault switches 2019-09-10 01:07:05 -07:00
Mitch Lustig a4de5eb2b5 Cleanup 2019-09-08 22:23:31 -07:00
Mitch Lustig 011d3055f6 Merge branch 'master' into merge_new_master 2019-09-08 15:05:54 -07:00
Mitch Lustig 98652977a2 Merge master 2019-09-08 11:42:28 -07:00
Benjamin Vedder a233367be8 MPU9x50 fix, experiment plots, DQ voltage RT data, smart reverse for nunchuk app 2019-09-08 18:25:38 +02:00
Benjamin Vedder 602db7435b FW3.59. Many updates, see changelog for details 2019-09-03 20:39:05 +02:00
Mitch Lustig 7cd25a1252 Send app state 2019-08-09 20:55:58 -07:00
Mitch Lustig 14faa2e593 Make all features configurable 2019-08-07 00:22:51 -07:00
Mitch Lustig 800115f683 Implement more data to help debug 2019-07-30 00:27:23 -07:00
Mitch Lustig bbba718140 Work to get GUI going 2019-07-29 00:31:48 -07:00
Benjamin Vedder a141e750bb Added CAN status msg 5, fixed issue 94, use defaul HW parameters after autodetect 2019-05-16 23:30:40 +02:00
Benjamin Vedder 1161f8417c Added SWD programming support (based on Black Magic Probe) and open loop duty cycle control 2019-03-31 10:49:18 +02:00
Benjamin Vedder 39bb8a6b09 FW 3.53: Limit foc_current_filter_const range, 1Mbit/de NRF speed, lower detect f_sw for resistance, no temp_comp by default 2019-03-20 22:46:36 +01:00
Benjamin Vedder 65298263b6 75/300 R2 support, terminal sync cmd, IMU support, option to disable permanent UART, collected timer functions in one place 2019-03-10 14:57:42 +01:00
Benjamin Vedder 0db2f200f6 Updated some comments in commands to make it easier to follow 2019-03-05 07:33:31 +01:00
Benjamin Vedder aa13c3b345 Fixed build with servo out enabled, added prebuild firmwares 2019-03-04 19:29:05 +01:00
Benjamin Vedder 35c1c72ab4 Commands restructuring for thread safety, 75/300 vreg fix, fixed relative current commands 2019-03-04 19:23:38 +01:00
Benjamin Vedder 01e72eb555 Autogenerated config parsing with signatures, fixed previous PRs 2019-03-01 21:36:58 +01:00
Benjamin Vedder c76942009b Some fixes after the merge 2019-02-19 18:55:18 +01:00
Marcos Chaparro 32cf05629d Resolve merge conficts with major 2019 release
Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2019-02-18 20:25:52 -03:00
Benjamin Vedder 123bb00ab4 Major 2019 update 2019-02-18 19:30:19 +01:00
Marcos Chaparro fa9ed8dc55 Clearerr way to limit FOC loop frequency.
Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2019-01-29 16:05:47 -03:00
Marcos Chaparro 69bdc73536 Put a safe limit on ADC ISR frequency to avoid kernel panics. Currently ADC ISR duration is around 26usec, it can not be executed at more than 38kHz
Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2019-01-26 02:36:12 -03:00
Benjamin Vedder 43c3bbaf91 FW 3.40: Added vesc id to mc_values 2018-07-23 15:43:58 +02:00
Benjamin Vedder a20c35b338 FW 3.39: AUX pin support, some refactoring 2018-07-06 21:20:54 +02:00