PIN.7 is nSLEEP.Logic low puts the device in low-power sleep mode,but we need GPIO to control nSLEEP. We don't have any extra GPIO to use. Is there any other way to enter sleep mode?For example, IN1 and IN2 are logic low at the same time
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.
PIN.7 is nSLEEP.Logic low puts the device in low-power sleep mode,but we need GPIO to control nSLEEP. We don't have any extra GPIO to use. Is there any other way to enter sleep mode?For example, IN1 and IN2 are logic low at the same time
Hi Hank,
Unfortunately, there is no other method to enter sleep.
Has the customer looked for possible alternate methods to set the device into sleep? Are there GPIOs that could possibly be shared?
Now there are only two GPIO to control IN1 and IN2 respectively. How to control nSlEEP without increasing the number of GPIO
Hi Hank,
Sometimes a GPIO used to control something else could be used to also control the nSLEEP. An example is a GPIO that is only high when configuring the system, but could be set high later to control the nSLEEP.
--- Corrected NAND to OR ---
Adding a NAND OR gate may work, but it depends on how the customer intends to drive the DRV8837.
Connect the IN1 input to the A input of the NAND OR and the IN2 input to the B input of the NAND OR.
The output of the NAND OR gate is connected to the nSLEEP input.
When waking the device, set both IN1 and IN2 to 1. This will wake the device and set both outputs high.
PWM IN1 or IN2 to switch between Forward/Reverse and Brake.
When done, set both IN1 and IN2 to 0, which will put the device back into sleep.
Hi Hank,
Sorry for the confusion. I meant an OR gate, not NAND. The connections above are correct.