I am running into problem trying to reduce the speed once the motor is running. I am using the dSPIN_Run command, and have no trouble ramping the speed upwards, but then when I try to ramp back down by passing in lower values, the motor just keeps running at the same speed. This behavior continues until I pass in 0 (zero) as the Run speed, at which point the motor stops as expected. Note that my accel and decel params are set to 0xFFF which should give me infinite accel/decel. Min Speed is set to zero. BEMF is disabled.
What am I doing wrong?