This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to change the motor acceleration in InstaSPIN

I want to change the motor acceleration in motorware so that I can decrease the motor startup time .

but I find out that  there are two variables related to the acceleration.

//! \brief Defines the starting maximum acceleration AND deceleration for the speed profiles, Hz/s
//! \brief Updated in run-time through user functions
//! \brief Inverter, motor, inertia, and load will limit actual acceleration capability
#define USER_MAX_ACCEL_Hzps (50.0) // 20.0 Default

the other variable is MaxAccel_krpmps in main.h

if I want to change the acceleration ,How should I change it ? all changed according to the pole pairs of my motor ?

thanks