CQ_KIT_Ver1_5

Dependencies:   mbed RateLimiter BLDCmotorDriverCQ_KIT_Ver1_5

Revision:
13:038b62c7ac17
Parent:
11:0120619cdfb7
--- a/X_NUCLEO_IHM07M1/SPN7Driver.cpp	Thu Oct 20 14:44:40 2016 +0000
+++ b/X_NUCLEO_IHM07M1/SPN7Driver.cpp	Thu Aug 25 12:35:39 2022 +0000
@@ -153,7 +153,8 @@
     
     // Update the logic inputs and the enable pins
     for (int i = 0; i < 3; i++) {
-         *EN[i] = (tab[sector][i] == ST_BLDC_OFF) ? 0 : 1;
+//         *EN[i] = (tab[sector][i] == ST_BLDC_OFF) ? 0 : 1;
+         *EN[i] = (tab[sector][i] == ST_BLDC_LOW)  ? 0 : 1;  // for cq_kit
          *IN[i] = (tab[sector][i] == ST_BLDC_HIGH) ? d : 0;
     }    
 }