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.

DRV8837: DRV8837CDSGR

Part Number: DRV8837

Tool/software:

Hi,

I designed a board to control a small dc motor using DRV8837CDSGR and nRF52832 MCU.

Here is the schematic design



Somehow, the moto driver isn't working at all.

I am sending a simple toggle code to drive motor but motor is not running. I tested the motor with external supply. It worked fine.
Can someone help me with it plz?

#include <stdbool.h>
#include <stdint.h>
#include "nrf_delay.h"
#include "nrf_gpio.h"

/**
 * @brief Function for application main entry.
 */
 #define IN1 10
 #define IN2 9
 #define nslp 11
int main(void)
{
    nrf_gpio_cfg_output(IN1);
    nrf_gpio_cfg_output(IN2);
    nrf_gpio_cfg_output(nslp);


    /* Toggle LEDs. */
    while (true)
    {
     nrf_gpio_pin_set(nslp);
     nrf_gpio_pin_clear(IN2);
     nrf_gpio_pin_set(IN1);
     nrf_delay_ms(3000);
     nrf_gpio_pin_clear(nslp);
     nrf_gpio_pin_clear(IN1);
     nrf_gpio_pin_set(IN2);
     nrf_delay_ms(3000);
     
    }
}