Hi,
I am using DRV8876PWPR , which how to configure pin 1 (EN/IN1) and pin 2 (PH/IN2) in microcontroller side? Since, having doubt in configuring them as PWM (Timer) or a GPIO.
Kindly, clarify the above query
Regards,
Anjanaa
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,
I am using DRV8876PWPR , which how to configure pin 1 (EN/IN1) and pin 2 (PH/IN2) in microcontroller side? Since, having doubt in configuring them as PWM (Timer) or a GPIO.
Kindly, clarify the above query
Regards,
Anjanaa
Hi Anjanaa,
There are several options available:
1) Use PH/EN or PWM mode without PWM'ing the inputs. For this, set the inputs as GPIO.
2) PWM the inputs in PH/EN mode. For this, configure the EN input as PWM timer and PH as GPIO.
3) PWM the inputs in PWM mode. For this, configure IN1 or IN2 as PWM timer and the other as GPIO.
Please consider a DRV8876EVM to evaluate the various modes.