Hi Rakesh,
There does not appear to be a code problem. Please try again with a slower rate of change, delaying 2ms after the spi write instead of 1ms.
This may help you determine if you need to add an acceleration / deceleration profile.
Is the motor under load?
There does not appear to be a code problem. Please try again with a slower rate of change, delaying 2ms after the spi write instead of 1ms.
This may help you determine if you need to add an acceleration / deceleration profile.
Is the motor under load?