The 2xPM_Sensorless project works great except the following problem.
In BUILD LEVEL6, when SpeedRef1 is set to negative value, and lsw1 = 1, the motor spins Clock Wise without problem; however, when lsw1 is set to 2, i.e., close the loop with the estimated angle smo1.Theta, the motor stalls, and CCSv4 gets out of control. To be clearer, CCW closed loop with the estimated angle works perfectly. Please advise.