MIT Motor FOC Control

Dependencies:   FastPWM3

Config/hw_config.h

Committer:
benkatz
Date:
2017-03-31
Revision:
22:60276ba87ac6
Parent:
20:bf9ea5125d52
Child:
27:501fee691e0e

File content as of revision 22:60276ba87ac6:

#ifndef HW_CONFIG_H
#define HW_CONFIG_H

#define PIN_U PA_10
#define PIN_V PA_9
#define PIN_W PA_8
#define ENABLE_PIN PA_11        // Enable gate drive pin
#define I_SCALE 0.02014160156f  // Amps per A/D Count
#define DTC_MAX 0.95f          // Max phase duty cycle
#define DTC_MIN 0.05f          // Min phase duty cycle


#endif