It looks like that your servo motor is step-motor.
This motor requires generates various frequency for signal PUL. Maximum frequency for step motors is 1000Hz - 5000Hz.
Usually Flextimer module or system timer is used for this task.
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------