-
Notifications
You must be signed in to change notification settings - Fork 388
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add 8khz target for early 2014 Multistar 30A boards that have problems.
- Loading branch information
Showing
4 changed files
with
25 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
;************************************************* | ||
;* Keda/Multistar 12A, 20A, 30A with P/N-ch FETs * | ||
;* 8kHz PWM variant for early-ish 2014 boards * | ||
;* before they went to an all-N-channel design * | ||
;************************************************* | ||
|
||
; Like HK-SS TowerPro clones, it seems some Multistar 30A boards | ||
; have a P-channel FET gate noise problem that causes overheating | ||
; if the P-ch body diode is conducting when the PWM chops on. | ||
; This happens less often at 8kHz, so, uhh...fixed! | ||
|
||
#include "kda.inc" | ||
|
||
.equ T_CPU_MHZ = F_CPU / 1000000 | ||
.equ MIN_DUTY = 56 * T_CPU_MHZ / 16 | ||
.equ POWER_RANGE = 2000 * T_CPU_MHZ / 16 + MIN_DUTY |
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