Initialize motor parameters:
>PHASES 2
Initialize the PID parameters:
>KP 10
>KI 150
>KD 800
>IL 100
>DS 2
>MAX 100
Enable the Servo control
>ON
Setup Home Velocity / Acceleration:
>VEL 20000
>ACC 100
Configures the Home Sensor to be Hall U
>HMASK 1
Start the Home procedure:
>HOME
Poll the status for the completion of the HOME procedure. Check for bit 0x0020 – Homing Completed.
>STA