Englebert
200ff47342
Fixed no beep issue
3 years ago
Mathias Rasmussen
9f6fc406d6
chore: Fix changelog link
3 years ago
Mathias Rasmussen
c44722799c
refactor: Use Temp7 to store packet stage
3 years ago
Mathias Rasmussen
31b3111d5f
docs: Add link to documentation (wiki)
3 years ago
Mathias Rasmussen
f6db49bc76
chore(release): 0.14
3 years ago
Mathias Rasmussen
a5cc565c02
fix: Disable DShot 600 support on BB1 (L) ESCs
Avoid using a suboptimal performing configuration
3 years ago
Mathias Rasmussen
fff71d41d8
docs: Update readme features
3 years ago
Mathias Rasmussen
cb6a714fc3
build: Make hex files with a dead time of 120
3 years ago
Mathias Rasmussen
09c729dd1a
Merge pull request #30 from mathiasvr/pca-optimize
Optimize PWM updates
3 years ago
Mathias Rasmussen
443f376592
Merge pull request #29 from mathiasvr/comm-optimize
Optimize and fix commutation timing calculations
3 years ago
Mathias Rasmussen
8b3d324fa1
refactor: Optimize jump space
Make it possible to jump to fast procedure
3 years ago
Mathias Rasmussen
17a7a22f64
perf: Remove pwm power RAM variables
4 years ago
Mathias Rasmussen
788338e8d9
perf: Remove PCA interrupt
Update PWM auto-reload registers directly
4 years ago
Mathias Rasmussen
8e6d8e9613
refactor: Move loading of commutation timing setting
Better balance of the amount of work done between waiting periods
3 years ago
Mathias Rasmussen
4d8c396541
docs: Update commutation timing comments
4 years ago
Mathias Rasmussen
edd5b09c7f
docs: Update ERPM comments
4 years ago
Mathias Rasmussen
df1fe00ebf
perf: Optimize commutation period averaging
4 years ago
Mathias Rasmussen
d126342ae2
refactor: Rename routines for calculating commutation period
4 years ago
Mathias Rasmussen
f4c918fae5
perf: Set max commutation period directly for startup phase
4 years ago
Mathias Rasmussen
a668872e90
perf: Optimize commutation calculations for startup phase
4 years ago
Mathias Rasmussen
10f0f9b26c
fix: Wrong averaging of commutation period during startup phase
The update used `C_P4x / 2 + C_P`.
This has been changed to reuse normal routine: `C_P4x - (C_P4x / 4) + C_P`.
Alternatively: `C_P4x / 2 + C_P * 2` could have been an option.
4 years ago
Mathias Rasmussen
1458591de1
refactor: Change register usage for consistency
4 years ago
Mathias Rasmussen
ea79770440
refactor: Reorganize commutation period update
4 years ago
Mathias Rasmussen
f237ec732e
perf: Optimize commutation period calculations
4 years ago
Mathias Rasmussen
fd9864a068
fix: Discrepancy when calculating wait times during startup
In the startup phase Temp4 could have the wrong value
4 years ago
Mathias Rasmussen
ca983678c0
refactor: Move Zc_Scan_Start up
4 years ago
Mathias Rasmussen
9fd507a4ed
docs: Move some things from readme to wiki
4 years ago
Mathias Rasmussen
d4d7713c2a
chore: Update github issue template
4 years ago
Mathias Rasmussen
368744a353
refactor: Simplify bootloader check
4 years ago
Mathias Rasmussen
907c4726b7
feat: Improve arming safety check
Make sure RCP value has been for 300ms (10 times)
4 years ago
Mathias Rasmussen
95e7087f77
refactor: Optimize bidirectional direction decoding
4 years ago
Mathias Rasmussen
5b5ae55f09
style: Consistent timer 1 interupt labels
4 years ago
Mathias Rasmussen
dbadddf047
build: Check if latest commit changes hex output
4 years ago
Mathias Rasmussen
f03da82bcd
docs: Add and update code comments and notes
4 years ago
Mathias Rasmussen
da09ca0e6f
style: Change timer delay numbering format
Negative numbers to represent the actual delay
4 years ago
Mathias Rasmussen
be738dec45
style: Fix code style whitespace
4 years ago
Mathias Rasmussen
9a5ad149f8
chore(release): 0.13
4 years ago
Mathias Rasmussen
b3cf0f3bbc
chore: Update commitlint config
4 years ago
Mathias Rasmussen
be52fa6469
fix: Clear DShot command when RCP is zero
DShot commands must be counted consecutively and not allow zero rcp packets in between
4 years ago
Mathias Rasmussen
90ae235481
feat: Send telemetry for each DShot packet when off
Simplify RCP start check and DShot command handling
4 years ago
Mathias Rasmussen
512f8e6839
refactor: Optimize DShot command check
4 years ago
Mathias Rasmussen
754aaf992c
refactor: Routines for beep sequences
4 years ago
Mathias Rasmussen
128323c822
style: Rename beacon delay counter
4 years ago
Mathias Rasmussen
78de110ea9
fix: Switch power off earlier during signal detection
Ensure FETs are off when beeping
4 years ago
Mathias Rasmussen
bc95ca8c64
refactor: Use timer 2 to schedule beacon beep
4 years ago
Mathias Rasmussen
18745f1682
style: Rename init_start to motor_start
4 years ago
Mathias Rasmussen
4fd988fb55
refactor: Change stall and stop handling
4 years ago
Mathias Rasmussen
3b90c60855
style: Rename wait_for_power_on labels
4 years ago
Mathias Rasmussen
406ac2b048
refactor: Move initialization of initial run counter
4 years ago
Mathias Rasmussen
ecb70ea884
fix: Check RCP timeout in DShot command loop
Avoid getting stuck in loop on signal loss
4 years ago