Commit Graph

484 Commits

Author SHA1 Message Date
Teslafly 3d0a4abced rename 75300 files 2023-03-10 00:47:43 -06:00
Teslafly be96f76406 move 75300 config 2023-03-10 00:46:07 -06:00
Teslafly d66fecdb2c adjust vref voltage 2023-03-10 00:45:16 -06:00
Teslafly 961c09beb2 remove multi thermistor function 2023-03-09 01:23:58 -06:00
Teslafly e479ff6e14 board does have phase filters 2023-03-09 01:08:25 -06:00
Teslafly 1c61f03a04 cleanup comments and formatting 2023-03-09 00:50:57 -06:00
Teslafly 496fd68fde label adc setup scan list entries. reconfigure to enable ext4/5 adc inputs 2023-03-09 00:48:08 -06:00
Teslafly ab3dffa698 fix typo 2023-03-09 00:01:06 -06:00
Teslafly 8411ebf437 add fsesc 75 300 hwconf 2023-03-08 23:57:22 -06:00
Benjamin Vedder 6106081220 Added mk6_max hardware 2023-02-16 09:00:49 +01:00
Benjamin Vedder 0d0f30650a Fixed lbm current measurement commands, some tweaks and cleanup 2023-02-07 21:40:26 +01:00
Benjamin Vedder d0821d45f6 Renamed 75300 r34 to mkiv 2022-12-08 10:24:29 +01:00
Benjamin Vedder 3eb55d3678
Merge pull request #579 from jaykup26/FSESC_75_200_ALU
FSESC_75_200 Aluminum PCB hardware configs
2022-12-07 12:32:24 +01:00
Benjamin Vedder 4a9fd258bc
Merge pull request #578 from jaykup26/Little_FOCer_organization
Little FOCer hardware config organization
2022-12-07 12:32:14 +01:00
Benjamin Vedder 48feb2381d
Merge pull request #577 from jaykup26/cheap_focer_09
Support for Cheap FOCer V0.9 (New Method)
2022-12-07 12:32:00 +01:00
unknown 28477a701f FSESC_75_200_ALU hardware configs 2022-12-06 20:21:26 -06:00
unknown 7f18c54e14 moving to a new folder 2022-12-06 20:00:28 -06:00
unknown ff8445c7e2 Slight change 2022-12-06 19:59:59 -06:00
unknown 6bbf9cca71 Organizing files 2022-12-06 19:30:38 -06:00
unknown 0c2213af85 Adding no-limit versions 2022-12-06 19:25:56 -06:00
unknown 732d5472f8 Adding V1.0 and V0.9 options 2022-12-06 19:21:57 -06:00
unknown 591ac525a1 Renaming files 2022-12-06 19:19:34 -06:00
unknown 0d98a7c114 Preparing the Cheap FOCer to use the new header file method 2022-12-06 19:18:51 -06:00
unknown dc8a2c0bd0 Solo hardware add 2022-12-06 19:10:13 -06:00
Benjamin Vedder 398b76adc6 Made these compile 2022-12-02 09:50:17 +01:00
Benjamin Vedder 50c688a5ea
Merge pull request #566 from jaykup26/Flipsky-75100
Adding Flipsky 75100 Hardware
2022-12-02 09:10:08 +01:00
Benjamin Vedder a19aa29d02
Merge pull request #567 from jaykup26/MakerX
Adding MakerX hardware
2022-12-02 09:08:08 +01:00
unknown bb5a2b0c0f single shunt version of v2 - 0.0005 ohms
For those who modify the V2 and remove the stacked shunts to only have a single 0.0005 ohm shunt on each phase.  Hardware limits are disabled for this version.
2022-12-01 07:37:00 -06:00
unknown 6a09b71204 pin maps for 3rd UART 2022-11-30 12:40:37 -06:00
unknown c84bd3d2b0 Added HI200 and HV200 2022-11-30 12:27:12 -06:00
unknown 7d4343fcaa no limit configs
Cleaned up a few hardware definitions and added no limit options for all models.
2022-11-30 11:54:25 -06:00
Benjamin Vedder 69316a6c5d Fixed warnings 2022-11-30 17:18:08 +01:00
unknown 8d0bf6263b Added no limit versions for Flipsky 75100 2022-11-30 09:25:33 -06:00
unknown fe69ddf804 Adding 3 MakerX hardware configs 2022-11-30 08:53:34 -06:00
unknown 554c8080f1 Adding Flipsky 75100 Hardware 2022-11-30 08:47:54 -06:00
Benjamin Vedder 5c0c4fb255
Merge pull request #562 from Jfriesen222/master
fix issue #557
2022-11-30 10:22:21 +01:00
Jeffrey M. Friesen 46a5f1839e Update hw_stormcore_100d_core.h 2022-11-29 08:19:34 -08:00
karu2003 f537cebd04 add board ka160 2022-11-29 09:07:03 +01:00
Marcos Chaparro 2d26feeff8 luna_m600: Use new lowpass voltage filter for battery SOC
Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2022-11-25 18:43:01 -03:00
Marcos Chaparro aeeded8829 luna_m600: Tune UI and disable phase filters
Signed-off-by: Marcos Chaparro <marcos@lunacycle.com>
2022-11-24 12:56:58 -03:00
Marcos Chaparro b8bef0cb55 m600: fix supply latching on Rev5
Signed-off-by: Marcos Chaparro <marcos@lunacycle.com>
2022-11-24 12:56:58 -03:00
Benjamin Vedder 9b11246dd0
Merge pull request #558 from TechAUmNu/clean-servo-input
Clean servo input
2022-11-21 20:32:44 +01:00
Euan 9aaf1187db Correct compensation for below cal temperature 2022-11-21 15:30:48 +00:00
Marcos Chaparro 4df718310c luna_m600: Add hardware support files
Reorganizes luna directory and includes torque sensor and display communication for all produced motor drives.

Also include minor updates to bbhsd drives.

Signed-off-by: Marcos Chaparro <marcos@lunacycle.com>
2022-11-19 18:44:33 -03:00
Euan e48f9fef51 Clean PPM in wizard. Temperature comp for HSI.
Option to only send back valid servo pulse lengths to VESC Tool. Stops ground noise making the PPM mapping wizard unusable.

Add temperature compensation for HSI oscillator. Needed to stop PPM pulse length changing drastically over temperature. Fairly simple map at the moment but seems to work very well.
2022-11-17 22:32:59 +00:00
Benjamin Vedder ea910462ea Added hw_gp 2022-11-09 20:41:09 +01:00
Euan d4ffa77413 Update to support TeamTriforceUK hardware
Add 25MHz external clock option
Add Low voltage output fault handling
Add support for A50S High gain (HG) versions
Add support for A200S V3 and V4.
Move A200S V2 to its own folder.
2022-11-08 23:43:05 +00:00
Benjamin Vedder 1f8c59f9c5
Merge pull request #545 from spencer1979/master
add Spesc hardware
2022-11-06 09:59:40 +01:00
Benjamin Vedder a1c026499a Updated doc, updated hw, removed dynamic functions that now are fundamentals 2022-10-24 15:56:27 +02:00
Benjamin Vedder 70c58f2b7c First CAN log support, added foc voltage and current extensions 2022-10-23 18:35:26 +02:00
Spencer Chen 3a3a49108b add Spesc hardware 2022-10-17 10:18:20 +08:00
Benjamin Vedder 9f892f1c54 HW update 2022-10-10 15:06:23 +02:00
JohnSpintend 80e3421482
Merge branch 'vedderb:master' into master 2022-09-08 09:10:25 +08:00
Benjamin Vedder 451fe7a17f Dual motor temp sensor fix 2022-09-06 12:24:55 +02:00
Benjamin Vedder 247fe8eefc Added custom UAVCAN message 2022-09-05 20:05:39 +02:00
Benjamin Vedder 05c76a3886 Added new hardwares 2022-09-03 09:36:56 +02:00
JohnSpintend 1bf5bb7055 Add hw_no_limits files for ubox family
Add hw_no_limits files for ubox family
2022-08-30 21:53:09 +08:00
JohnSpintend 9c0007c84f Add no limits files to ubox 100V directory
Add no limits files to ubox 100V directory
2022-08-26 16:09:51 +08:00
JohnSpintend 3094a43e15
Merge branch 'vedderb:master' into master 2022-08-06 14:21:32 +08:00
Benjamin Vedder 9a15de6299 Updated EDU default settings 2022-07-31 13:29:21 +02:00
Zach O'Brien 9c7b0dae2c Adding support for the AS5x47U encoder. 2022-07-18 14:25:03 -06:00
Jeffrey M. Friesen 5b5fdde57d minor cleanup 2022-07-12 08:20:48 -07:00
Jeffrey M. Friesen b4e576085f Update hw_mbot.h 2022-07-11 22:46:04 -07:00
Jeffrey M. Friesen 8260a7bfc1 added new HW 2022-07-11 17:15:47 -07:00
Benjamin Vedder 19ce7ebe48 hwconf fizes 2022-07-07 18:26:51 +02:00
Benjamin Vedder 245765b875 Added VESC EDU 2022-07-07 18:09:18 +02:00
JohnSpintend c7d1c65dbf remove the hw_ubox_single in othe directoryr
Remove the "hw_ubox_single" files in "other" directory, to avoid duplication with ubox_single HW support in the"ubox" directory.
2022-07-06 09:08:03 +08:00
Benjamin Vedder a00a3141c0 Some fixes 2022-06-11 13:53:41 +02:00
Benjamin Vedder 553548a6e2 Dual motor triple temp sens support 2022-06-08 14:31:23 +02:00
Benjamin Vedder 5483947f46 Dual motor current filter support 2022-06-08 14:00:43 +02:00
Benjamin Vedder e2bdbd3698
Merge pull request #502 from JohnSpintend/master
John of Spintend request to add Ubox family HW config files
2022-05-31 21:32:41 +02:00
Benjamin Vedder c2b35df2c1 Stormcore fixes 2022-05-31 16:46:42 +02:00
Benjamin Vedder d579968bda Rearranged HW-files 2022-05-31 16:25:16 +02:00
JohnSpintend 66d4493d49 Restore make file parallel disable
Restore make file parallel disable
2022-05-31 09:00:38 +08:00
JohnSpintend 459cbfdf69 Delete no_limits files
Delete no_limits files
2022-05-31 08:55:13 +08:00
JohnSpintend 7310543530 Merge branch 'master' of https://github.com/JohnSpintend/vedderb_bldc 2022-05-30 22:40:22 +08:00
JohnSpintend d69b9943e9 JohnSpintend added Ubox files
JohnSpintend added Ubox files
2022-05-30 22:39:13 +08:00
Benjamin Vedder 74cbe7cea3
Merge pull request #501 from surfdado/little_focer_v3_1
Support for Little FOCer versions V3 and V3.1
2022-05-30 16:13:53 +02:00
Benjamin Vedder ce6cda63ea Stormcore parallel fixes 2022-05-28 15:54:00 +02:00
Dado Mista de67d823c9 Support for Little FOCer V3 and V3.1
There's 3 Little FOCer variants:
V1 (the original, supported since fw5.3)
V3 (new version without DRV chip)
V3.1 (new variant of V3 with LSM6DS3 IMU)

Also removed the no-limits version.

Reviewed and tested by Shaman Systems.

Signed-off-by: Dado Mista <dadomista@gmail.com>
2022-05-24 10:18:23 -07:00
Benjamin Vedder ba5268f048 Moved shutdown to hwconf 2022-05-15 12:04:38 +02:00
Benjamin Vedder b900ffcde5 Orginized files 2022-05-15 11:55:34 +02:00
Benjamin Vedder 099aeb5b56
Merge pull request #487 from powerdesigns/extra_fw_version_name
Extra fw version name
2022-05-03 22:53:47 +02:00
Benjamin Vedder 112a0af934 Added 60v2_alva_mk2 2022-05-03 22:11:55 +02:00
Marcos Chaparro df9097a0a3 Show no_hw_limits as FW_NAME for builds with disabled limits
FW_NAME can still be overridden at hwconf level

Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2022-05-03 11:23:20 -03:00
Marcos Chaparro d290f61ddf Send FW_NAME
See https://github.com/vedderb/vesc_tool/pull/229

Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2022-05-03 09:54:36 -03:00
Benjamin Vedder 9cfd1e44ee Unity stack overflow fix 2022-05-01 20:06:47 +02:00
Benjamin Vedder f06574fbdd Added 60_75_mk2 2022-04-26 02:37:43 +02:00
Benjamin Vedder 8355a8fab0 HFI integrator windup protection based on estimated speed 2022-04-25 22:27:49 +02:00
Benjamin Vedder 0d2cab34dc Changed hw60 default f_zv 2022-04-10 20:39:47 +02:00
Benjamin Vedder 3c2d330283 Added 60_mk6 hw 2022-03-28 02:05:05 +02:00
Kenn Sebesta cf6f32332d [Utils] Update the header includes 2022-03-23 20:25:37 -04:00
Benjamin Vedder 58b5c85a69 Changed ADC sampling order on some phase shunt hardwares 2022-03-23 22:53:30 +01:00
Benjamin Vedder d8e8be51de Fixed silent hfi current offset, added high performance hfi mode, changed vesc6 current sampling, only use HT interrupt if the currents are first in the ADC vector 2022-03-23 22:26:05 +01:00
Benjamin Vedder c348120325 High-performance and silent HFI 2022-03-23 15:04:30 +01:00
adilrepas c8e64589c1
Create hw_410_005ohm.h 2022-03-08 00:57:57 +08:00
Benjamin Vedder dcfcca8e42 Added HW4 targets 2022-03-06 01:33:46 +01:00
Benjamin Vedder e42dfecc51 Updated package script 2022-03-06 00:09:11 +01:00
Kenn Sebesta dc9f552202 [HW] No hardware limits
These targets have no hardware limits on current, voltage, etc... The user
is free to immolate the hardware, if so desired.
2022-03-02 16:56:19 -05:00
Kenn Sebesta 2c7ec0450a [HW][Trampa] Move Trampa 100_500 hardware to a dedicated folder
This uses the `_core.h` approach in order to avoid duplicated code.
2022-03-02 16:56:18 -05:00
Kenn Sebesta 5cf397c082 [HW][Trampa] Move VESC4 to dedicated directory 2022-03-02 16:56:18 -05:00
Kenn Sebesta 8d6112e9c0 [HW][Trampa] Move 75_300 to dedicated directory and use `core` approach 2022-03-02 16:56:18 -05:00
Kenn Sebesta f569432d2e [HW][Stormcore] Move Stormcore hardware to a dedicated folder
This uses the `_core.h` approach in order to avoid duplicated code.
2022-03-02 16:56:18 -05:00
Kenn Sebesta 4c20be9d54 [HW][TP & Victor_R1] Remove as per Benjamin Vedder's request 2022-03-02 16:56:18 -05:00
Kenn Sebesta 57832238b4 [HW][TeamTriforceUK] Move TeamTriforceUK hardware to a dedicated folder
This uses the `_core.h` approach in order to avoid duplicated code.
2022-03-02 16:56:18 -05:00
Kenn Sebesta 26b83329df [HW][Trampa] Move Trampa VESC6 hardware to a dedicated folder
This uses the `_core.h` approach in order to avoid duplicated code.
2022-03-02 16:56:18 -05:00
Benjamin Vedder fca4395b6e hw40 build fix 2022-02-28 19:00:29 +01:00
Benjamin Vedder 9d1926a130
Merge pull request #416 from tensorfield-ag/master
Fix SPI NSS PORT and PIN for MKV
2022-02-20 17:58:37 +01:00
Benjamin Vedder a446b355af Sincos cleanup 2022-02-20 12:12:40 +01:00
Benjamin Vedder 3bd5545c3e Fixed build on all hardwares 2022-02-19 19:40:42 +01:00
Cheehan 6fbe22eb40 Fix SPI NSS PORT and PIN for MKV 2022-02-14 10:53:29 -08:00
dnordahl83 7fc94b8375 hw_resc: Added resc hw support. 2022-02-10 14:38:32 +01:00
rodale75 599595089d hw_rd2: Defined CAN controller ID.
This to make sure to have a deterministic & same
CAN controller id for all Radinn VESC:s.
2022-02-10 14:38:32 +01:00
rodale75 1ecc5b9457 hw_rd2: Macro adjustments and cleanup.
* Removed commented-out code.
* Removed legacy HW75_300_VEDDER_FIRST_PCB switches/sections.
* Removed un-needed undef.
* Removed un-needed #ifndef switch-checks. In the current vesc config setup,
  conf_general.h overrides all the underlying default configurations (strict
  include-order).
* Indentation adjustments.
2022-02-10 14:38:17 +01:00
rodale75 c6fa4e2d02 hw_rd2: Added APPCONF_CHUK_CTRL_TYPE config. 2022-02-10 14:26:51 +01:00
Benjamin Vedder aac4e940fb Added hw75_600 and hw_60_75 2022-02-05 19:00:49 +01:00
Benjamin Vedder 24b076bdc4 Fixed stormcore stack issues 2022-02-05 01:04:56 +01:00
Benjamin Vedder d61fc474fc Added support for second AUX port 2022-01-25 20:59:15 +01:00
Benjamin Vedder 7cde2e950c Merge branch 'release_5_03' 2022-01-25 10:26:10 +01:00
Benjamin Vedder d5407fee66 Fixed hw name string 2022-01-25 10:21:32 +01:00
Benjamin Vedder 473b7170f5
Merge pull request #404 from CTSchorsch/pull_request
update hwconf to new hardware version (hw7)
2022-01-24 01:26:27 +01:00
Benjamin Vedder 4958a91670 Added support for custom NTC and PTC motor temperature sensors 2022-01-24 00:36:53 +01:00
CTSchorsch 786cf09889 update hwconf to new hardware version (hw7) 2022-01-20 13:22:39 +01:00
Benjamin Vedder 9c484d01e4 Decreased stack sizes to save ram 2022-01-16 21:57:12 +01:00
Benjamin Vedder 38566313e7 Added hw_60v2alva 2022-01-13 01:12:52 +01:00
Benjamin Vedder 9ed0456031 Added support for CAN2 and hardware with dual CAN. Added sensor port voltage change macro. This has no effect on hardware without these things. 2022-01-13 01:00:40 +01:00
Jeffrey M. Friesen 0ad58b446a Merge branch 'dev_fw_5_03' of https://github.com/vedderb/bldc into dev_fw_5_03 2022-01-11 12:29:18 -08:00
Jeffrey M. Friesen 40ddb64d91 fix some config things for stormcore 2022-01-11 12:29:16 -08:00
Benjamin Vedder 88a360162e
Merge branch 'dev_fw_5_03' into dev_fw_5_03 2022-01-09 20:23:39 +01:00
Benjamin Vedder 768a9a633a Added deprecation warning 2022-01-06 22:54:27 +01:00
Benjamin Vedder 648b8a33d5 MCCONF_FOC_F_SW backwards-compatibility 2022-01-06 22:47:46 +01:00
Benjamin Vedder a092ea99d2 More consequences of the f_sw renaming 2022-01-06 21:34:22 +01:00
Benjamin Vedder aeda17e38e Moved luna appconf 2022-01-02 22:53:19 +01:00
Marcos Chaparro a1dd7f4c73 bbshd: include appconf
Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2021-12-31 10:52:47 -03:00
Benjamin Vedder ab0aa126d6 Collected luna-files in one place, removed some old files 2021-12-31 12:27:36 +01:00
Marcos Chaparro d6fc739899 bbshd: Support display, assist levels, PTC temp sensor, wheel speed sensor, gearshift sensor, custom UI
Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2021-12-28 11:17:53 -03:00
Jeffrey M. Friesen 796c122fc2 Merge branch 'dev_fw_5_03' of https://github.com/vedderb/bldc into dev_fw_5_03 2021-12-20 14:33:47 -08:00
Jeffrey M. Friesen f8ba78c03a fixed power switch on 60dxs 2021-12-20 14:33:44 -08:00
Benjamin Vedder 4eec52d5c0 Fix NaN-problem after lost tracking on some motors 2021-12-19 23:55:03 +01:00
Euan Mutch 5e6110189e
Tweak settings for A50S hardware
Limited duty cycle and lowered default switching frequency to reduce impact of using 2 low side shunts. 
Cleaned up formatting.
2021-11-28 23:59:26 +00:00
Jeffrey M. Friesen 78b3cd00c3 fixed GPIO mapping for phase filters on SC 2021-11-23 09:37:53 -08:00
rodale75 80d504edaf hw_rd2: Adjustments of guard- & get-temperature function-naming.
And also, some minor adjustments of the configuration parameters.

Change-Id: Ic56430dcf13cc47e6d6df1fcc19e09941b2e6d91
2021-11-12 11:16:00 +01:00
Benjamin Vedder c3f3c9512e Parameter update 2021-11-10 13:56:59 +01:00
Benjamin Vedder 9046e4644b
Merge pull request #363 from TechAUmNu/dev_fw_5_03
Add A50S 6S and 12S hardware
2021-10-24 18:14:17 +02:00
Benjamin Vedder f1c4e713d7 Added MTPA modes 2021-10-24 18:10:00 +02:00
Euan 49cfd795a3 Add A50S 6S and 12S hardware
Adds A50S.h/c and build script.
2021-10-20 10:57:11 +01:00
Benjamin Vedder d8a99fd0f1 Inductance and resistance measurement and scaling fixes, various other fixes 2021-10-15 22:25:07 +02:00
Tharon Rivera 11ad3f862f Support for Spintend ubox single 2021-09-24 20:58:55 -04:00
Benjamin Vedder e7d22911f8 More stormcore power switch fixes 2021-09-15 18:46:08 +02:00
Benjamin Vedder bec2534559 Fixed stormcore CAN shutdown 2021-09-15 17:49:09 +02:00