SPRUJH1 August 2025 F29H850TU
Objectives:
The number of slots per rotation for the encoder must be provided. This is required to correctly convert the encoder signal into an angle. Check the definition of USER_MOTOR1_NUM_ENC_SLOTS in user_mtr1.h.
An incorrect value results in the motor spinning faster, or slower. Note that this value is the number of slots on the encoder, not the resulting number of counts after figuring the quadrature accuracy.