Skip to content

Commit

Permalink
Add 8khz target for early 2014 Multistar 30A boards that have problems.
Browse files Browse the repository at this point in the history
  • Loading branch information
sim- committed Jul 21, 2014
1 parent bd1d2b5 commit 8bd3749
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ SHELL = /bin/bash

.SUFFIXES: .inc .hex

ALL_TARGETS = afro.hex afro2.hex afro_hv.hex afro_nfet.hex arctictiger.hex birdie70a.hex bs_nfet.hex bs.hex bs40a.hex dlu40a.hex dlux.hex dys_nfet.hex hk200a.hex hm135a.hex kda.hex kda_nfet.hex maytech30a.hex maytech40a.hex maytech60a.hex mkblctrl1.hex rb50a.hex rb70a.hex rct50a.hex tbs.hex tbs_hv.hex tp.hex tp_8khz.hex tp_i2c.hex tp_nfet.hex tp70a.hex tgy6a.hex tgy.hex
ALL_TARGETS = afro.hex afro2.hex afro_hv.hex afro_nfet.hex arctictiger.hex birdie70a.hex bs_nfet.hex bs.hex bs40a.hex dlu40a.hex dlux.hex dys_nfet.hex hk200a.hex hm135a.hex kda.hex kda_8khz.hex kda_nfet.hex maytech30a.hex maytech40a.hex maytech60a.hex mkblctrl1.hex rb50a.hex rb70a.hex rct50a.hex tbs.hex tbs_hv.hex tp.hex tp_8khz.hex tp_i2c.hex tp_nfet.hex tp70a.hex tgy6a.hex tgy.hex
AUX_TARGETS = diy0.hex

all: $(ALL_TARGETS)
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,12 @@ Tested boards by target:
- kda:
- Keda 12A rev B with inverted PWM input (30A should also work)
- Dynam 18A, 25A with Blue Heat Shrink
- Hobby King Multistar series (30A and under, older)
- Hobby King Multistar series (30A and under, original)
- kda_8khz:
- Keda/Multistar 20A, 30A with TPC8123 pFETs (early 2014)
- kda_nfet:
- (Assumed) newer Keda boards as above
- Hobby King Multistar series (30A at least)
- Hobby King Multistar series up to 30A with all nFETs
- maytech30a:
- Maytech 30A and 20A, complementary PWM
- maytech40a:
Expand Down
16 changes: 16 additions & 0 deletions kda_8khz.inc
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
6 changes: 4 additions & 2 deletions tgy.asm
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,11 @@
#elif defined(hm135a_esc)
#include "hm135a.inc" ; Hacker/Jeti Master 135-O-F5B 135A inverted-PWM-opto (INT0 PWM)
#elif defined(kda_esc)
#include "kda.inc" ; Keda Model 12A - 30A (older) (INT0 PWM)
#include "kda.inc" ; Keda/Multistar 12A, 20A, 30A (original) (INT0 PWM)
#elif defined(kda_8khz_esc)
#include "kda_8khz.inc" ; Keda/Multistar 30A (early 2014) (INT0 PWM)
#elif defined(kda_nfet_esc)
#include "kda_nfet.inc" ; Multistar, Keda Model 12A - 30A (INT0 PWM)
#include "kda_nfet.inc" ; Keda/Multistar 30A with all nFETs (INT0 PWM)
#elif defined(maytech30a_esc)
#include "maytech30a.inc" ; Maytech 30A and 20A with all nFETs (INT0 PWM)
#elif defined(maytech40a_esc)
Expand Down

0 comments on commit 8bd3749

Please sign in to comment.