Modified Motor Driver Firmware to include Flash + Thermal
Dependencies: FastPWM3 mbed-dev-STM-lean
Diff: Config/hw_config.h
- Revision:
- 22:60276ba87ac6
- Parent:
- 20:bf9ea5125d52
- Child:
- 27:501fee691e0e
--- a/Config/hw_config.h Thu Mar 02 15:31:45 2017 +0000 +++ b/Config/hw_config.h Fri Mar 31 18:24:46 2017 +0000 @@ -4,10 +4,10 @@ #define PIN_U PA_10 #define PIN_V PA_9 #define PIN_W PA_8 -#define ENABLE_PIN PA_11 -#define I_SCALE 0.02014160156f // Amps per A/D Count -#define DTC_MAX 0.935f -#define DTC_MIN 0.065f +#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