diff --git a/tgy.asm b/tgy.asm index 3caf042..790cac5 100644 --- a/tgy.asm +++ b/tgy.asm @@ -254,7 +254,7 @@ .equ TIMING_RANGE1 = 0x4000 ; 4096us per commutation .equ TIMING_RANGE2 = 0x2000 ; 2048us per commutation .equ TIMING_RANGE3 = 0x1000 ; 1024us per commutation -.equ TIMING_MAX = 0x00e0 ; 56us per commutation +.equ TIMING_MAX = 0x0080 ; 32us per commutation (312,500eRPM) .equ TIMEOUT_START = 48000 ; Timeout per commutation for ZC during starting .if !defined(START_DELAY_US) @@ -323,6 +323,7 @@ .equ B_FET = 1 ; if set, B FET is being PWMed .equ C_FET = 2 ; if set, C FET is being PWMed .equ ALL_FETS = (1<