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.
Hi Mohammed,
2 and 3) The OFF register is designed to be used when chopping current. Refer to section 7.3.5 of the datasheet for details. The AINx/BINx pins are intended to control the speed of the motor.
Additional reference material can be found in the DRV8711EVM user guide, the DRV8711 Decay Mode Setting Optimatization (SLvA637) and DRV8711 Quick Spin and Tuning Guide (SLVA632)
Initial settings of the registers depends on the motor, and the current chopping desired. In general the default settings of the DRV8711EVM is a good place to start. The settings can be seen in the DRV8711 User Guide, although the settings are for a stepper motor. If using a BDC motor, it is recommended to use slow decay.