MIT Motor FOC Control

Dependencies:   FastPWM3

Committer:
benkatz
Date:
Thu Mar 02 15:31:23 2017 +0000
Revision:
20:bf9ea5125d52
Child:
22:60276ba87ac6
Compact version works.;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
benkatz 20:bf9ea5125d52 1 #ifndef HW_CONFIG_H
benkatz 20:bf9ea5125d52 2 #define HW_CONFIG_H
benkatz 20:bf9ea5125d52 3
benkatz 20:bf9ea5125d52 4 #define PIN_U PA_10
benkatz 20:bf9ea5125d52 5 #define PIN_V PA_9
benkatz 20:bf9ea5125d52 6 #define PIN_W PA_8
benkatz 20:bf9ea5125d52 7 #define ENABLE_PIN PA_11
benkatz 20:bf9ea5125d52 8 #define I_SCALE 0.02014160156f // Amps per A/D Count
benkatz 20:bf9ea5125d52 9 #define DTC_MAX 0.935f
benkatz 20:bf9ea5125d52 10 #define DTC_MIN 0.065f
benkatz 20:bf9ea5125d52 11
benkatz 20:bf9ea5125d52 12
benkatz 20:bf9ea5125d52 13 #endif