-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The correction will be made with a LUT. Previously this correction had to be made in timer1 interrupt that was stuffed, so it penalized commutation. Now the load is moved to a new state machine the like of dshot_tlm_create_packet. dshot_tlm_create_packet has been demistified removing obstructing macros. Fixed bugs Reoptimized t1_int Refactorings Updated comments Updated comment Fixed telemetry state machine to produce frames only if telemetry is enabled Always run at least 1 state of rcpulse state machine so firmware cannot get stuck at max pwm Fixed many bugs Added pwm deadtime lookup table Implemented pwm deadtime adjustment Fixed some bugs Fixed Infinite loop bug and EDT Disable interrupts while applying new pwm config and duty cycle Moved cleaning Flag_Ext_Tele to the place the esc is disarmed to avoid disabling telemetry when desync events are produced Disable telemetry when stall is done Updated deadtime correction LUTs and algorithm to allow being more precise Updated LUTs Fixed LUTs Fixed LUTs Refactored some tags and updated some comments Reset PCA before commutating Reworked commutation to erradicate shoot throughs
- Loading branch information
Showing
7 changed files
with
854 additions
and
545 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.