Marcos Chaparro
3c6083c34d
Keep the flash memory locked during normal operation
...
Only unlock when it is necessary to write it. This prevents memory
corruptions caused by software or EMI glitches.
Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2019-04-16 00:33:22 -03: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
01e72eb555
Autogenerated config parsing with signatures, fixed previous PRs
2019-03-01 21:36:58 +01:00
Benjamin Vedder
18b79a3a09
Fixed some issues found by codacy
2019-02-19 22:06:34 +01:00
Benjamin Vedder
c76942009b
Some fixes after the merge
2019-02-19 18:55:18 +01:00
Marcos Chaparro
b344e873b6
Remove duplicated flux linkage detection function
...
Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2019-02-19 10:55:40 -03: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
4ac69232d9
Configure deadtime by just defining it in nanoseconds. Firmware will calculate the required DTG register value.
...
Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2019-01-31 00:51:35 -03:00
Marcos Chaparro
c59dd2b2fc
Fix shadowed variables. Add -Wshadow.
...
Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2019-01-28 16:52:02 -03:00
Marcos Chaparro
17f97763c0
Extend watchdog coverage with IWDG, a watchdog running from an independent LF oscillator. If any of the threads being monitored does not report for more than 12ms, a reset will be asserted. When a WDG reset happens, the user can see it in the fault logs from vesc tool
...
Signed-off-by: Marcos Chaparro <mchaparro@paltatech.com>
2019-01-24 12:19:44 -03:00
Marcos Chaparro
78c825ac08
Use Benajmins flux linkage measurement
...
Signed-off-by: Marcos Chaparro <mchaparro@paltatech.com>
2019-01-18 19:00:46 -03:00
Marcos Chaparro
8a91468fd8
Add an abort mechanism to flux linkage detection in case the motor doesnt spin
...
Signed-off-by: Marcos Chaparro <mchaparro@paltatech.com>
2019-01-10 11:13:21 -03:00
Marcos Chaparro
6dad2b1865
Improve conf_general_measure_flux_linkage() user experience with simpler parameter request. Now it only asks for a duty % to measure at and a max rpm that prevents overspeeds. By default GUI will suggest measuring at 50% duty, but lower duty (and hence lower rpm) also work fine.
...
Signed-off-by: Marcos Chaparro <mchaparro@paltatech.com>
2019-01-07 00:26:45 -03:00
Marcos Chaparro
8152d61760
New flux linkage measurement based on open loop FOC to spin up the motor. Removes all calls to BLDC mode to reach the requested erpm
...
Signed-off-by: Marcos Chaparro <mchaparro@paltatech.com>
2019-01-05 19:24:42 -03:00
Benjamin Vedder
a20c35b338
FW 3.39: AUX pin support, some refactoring
2018-07-06 21:20:54 +02:00
Benjamin Vedder
22dc2ce33c
FW 3.37: FOC KI temp comp, configurable foc current filter
2018-03-24 22:32:58 +01:00
Benjamin Vedder
5348662197
FW 3.32: Configurable CAN baud rate
2017-11-08 14:07:35 +01:00
Benjamin Vedder
6277cf74ca
FW 3.31: Acc temp dec option, PID for APP_ADC
2017-10-27 21:29:12 +02:00
Benjamin Vedder
79bfbe6234
FW3.28: dual throttle curves, ntc beta factor config, board file added
2017-09-06 21:13:28 +02:00
Benjamin Vedder
f141157358
First official commit after the VESC Project release
2017-09-04 21:12:43 +02:00
Benjamin Vedder
bb2bfa3b9c
FW 3.9: Final float serialization update, new option to invert motor direction, UUID readout
2016-11-06 18:14:06 +01:00
Benjamin Vedder
5dbc94c525
FW 3.7
2016-11-04 15:18:34 +01:00
Benjamin Vedder
d2f6d87560
FW 3.0: HW60 support, 3 low/high side shunt support, permanent NRF option
2016-06-27 17:29:09 +02:00
Benjamin Vedder
cb2a205cb8
FW 2.17: as5047 support, change sensor port mode in conf, better encoder detection, FOC ah and wh counter fixes
2016-04-27 15:32:32 +02:00
Benjamin Vedder
08a27cfbbd
FW 1.16: Hall sensor position control, brake at 0RPM setpoint in FOC, FOC parameter detection fix
2016-02-24 21:19:44 +01:00
Benjamin Vedder
d52906fbe8
FW 2.15: NRF configuration, PPM and ADC app duty mode scaling to max duty
2016-02-09 12:25:13 +01:00
Benjamin Vedder
e6ea308a48
FW 2.10: FOC hybrid hall sensor support with interpolation
2016-01-27 23:57:23 +01:00
Benjamin Vedder
2377a45bcb
FW 2.5: red LED fix on hw 4.5, updated default PID parameters
2015-12-19 21:24:46 +01:00
Benjamin Vedder
ff090fd4e0
FW 2.3: MAJOR UPDATE: FOC!!
2015-12-08 21:01:23 +01:00
Benjamin Vedder
c4ff81e849
Ported to ChibiOS 3, refactoring, cleanup, added safe start delay after fault for PPM app, removed unused ST libraries
2015-10-08 23:09:39 +02:00
Benjamin Vedder
06129bb66c
FW 1.13: Hw 4.8 support, new CC implementation for nunchuk, refactoring, custom app and hw config support
2015-09-17 23:24:55 +02:00
Benjamin Vedder
c3e82f7651
Soft battery cutoff, more BLDC Tool parameters
2015-08-26 23:12:39 +02:00
Benjamin Vedder
58d892935d
PPM dec fix, current sampling updates, ADC cruise control, commutation fix, higher switching frequency, refactoring
2015-08-23 18:26:05 +02:00
Benjamin Vedder
24380c3fc0
New hall sensor implementation with hybrid mode and connection/order auto detection
2015-06-19 23:38:46 +02:00
Benjamin Vedder
a89ad0f1f1
Fix bug #7 , detection now works while apps are active
2015-06-09 06:11:41 +02:00
Benjamin Vedder
43b362f92b
Changed default minimum duty cycle
2015-06-03 18:21:09 +02:00
Benjamin Vedder
87932662b7
Long packet support, configurable min and max duty, longer CAN buffer, default parameter changes, appconf ack fix, refactoring
2015-05-20 16:13:48 +02:00
Benjamin Vedder
5a5ccfb4c3
ADC app added, nunchuk RPM filter, FW version added, feedback on appconf and mcconf set
2015-05-04 23:25:43 +02:00
Benjamin Vedder
85f0073105
PPM updates and safe start implementation
2015-05-01 01:57:55 +02:00
Benjamin Vedder
607e99d211
Configuration over CAN, first implementation of position control, more configuration options
2015-04-27 00:02:32 +02:00
Benjamin Vedder
bc0415c1bb
First implementation of DC motor support
2015-04-12 18:23:17 +02:00
Benjamin Vedder
828cdd92f8
Chuk and PPM config structs, phase advance fixes and implementation for delay comm mode, CAN fixes and status message implementation, multi-esc mode for PPM and Chuk, traction control for PPM and chuk, CAN id config, multi-esc and traction control config, ADC sampling change, hall-sensor read bug fix for HW45+
2015-02-19 21:20:07 +01:00
Benjamin Vedder
44c1701cf9
Included stable version of ChibiOS, fixed i2c issues, gave more RAM in linker script, added table-based gamma correction for PCB LEDs
2015-01-05 05:48:29 +01:00
Benjamin Vedder
8dc8ffe2c7
Nunchuk ramping, ws2811 configurable pin (Requieres latest BLDC_Tool)
2014-12-20 12:52:38 +01:00
Benjamin Vedder
434cd04b86
Added max ERPM in CC mode parameter (NOTE: Requires latest BLDC_Tool)
2014-12-13 11:46:26 +01:00
Benjamin Vedder
bc4409ba14
Full brake current estimation (NOTE: Extra parameter added, so update BLDC_Tool)
2014-12-13 01:31:54 +01:00
Benjamin Vedder
33c81db930
Deadband fix, configurable temperature limit
2014-11-25 21:05:46 +01:00
Benjamin Vedder
f7cda79d1b
HW45-implementation, temp-protection, nunchuk-fix, i2c-fixes
2014-10-19 19:31:06 +02:00
Benjamin Vedder
81a6d84113
Nunchuk implementation (Nyko Kama tested), mah and wh counting
2014-10-19 01:00:53 +02:00
Benjamin Vedder
2119242b43
Soft RPM limit for current mode in ppm app
2014-09-21 19:29:26 +02:00
Benjamin Vedder
10bbe73206
Global timeout implementation
2014-09-20 13:41:18 +02:00
Benjamin Vedder
d6beda7b47
Complete servo-decoding rewrite, common command module, full access to everything over uart, more ppm options
2014-09-20 03:22:38 +02:00
Benjamin Vedder
2e723ece6f
App configuration, eeprom emu fix, reboot command
2014-09-18 23:00:14 +02:00
Benjamin Vedder
9fd99ebf1a
Emulated EEPROM virtual address assignment
2014-09-17 23:23:37 +02:00
Benjamin Vedder
6d4e55051c
Prepared applications for runtime configuration
2014-09-17 21:05:57 +02:00
Benjamin Vedder
8d091c9a60
Parameter detection improvement
2014-09-16 11:46:39 +02:00
Benjamin Vedder
fd83286cd6
Parameter detection command and RC-car fix
2014-09-15 22:44:39 +02:00
Benjamin Vedder
58889d6543
Hall sensor fixes and sample send delay removal after fixing a bldc_tool problem
2014-09-15 20:48:46 +02:00
Benjamin Vedder
1f1a8af1d7
Full runtime configuration support with flash storage
2014-09-15 02:39:58 +02:00
Benjamin Vedder
2cc53de346
Major USB communication protocol re-write and beginning runtime motor parameter configuration
2014-09-14 23:08:22 +02:00