In my application the motor turns in both directions Cw and CCW. I have seen that the fogui is alone positively and in changing PID SPEED REFERENCE RPM there is a compiler error. Best regards
thanks a lot for your pointing out. The bug is at line 31 of MC_PID_regulators.c file. Try changing #define PID_SPEED_REFERENCE (u16)(PID_SPEED_REFERENCE_RPM/6) into #define PID_SPEED_REFERENCE (s16)(PID_SPEED_REFERENCE_RPM/6) Regards, BilLino