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.

DRV8215: Factory settings of drv8215

Part Number: DRV8215

Tool/software:

Hello, I want to use PWM to drive drv8215, but it has two modes: PWM and I2C. I want to know which one is its factory setting.

  • Hello Ye, 

    Thank you for reaching out to us. 

    The DRV8215 contains PWM and PH/EN modes along with an I2C interface. The device can be controlled by hardware through GPIO or using i2C interface.  The PMODE bit in I2C registers allows to control the H-bridge solely through I2C commands, reducing the number of GPIO inputs.

    The I2C_BC bit determines whether the bridge is controlled by the EN/IN1 and PH/IN2 pins or the I2C_EN_IN1 and I2C_PH_IN2 bits, as shown below.

    The control mode is selected by the PMODE bit. DRV8215 allows users to choose either Phase-Enable mode or PWM mode, as described below.

    CONFIG4 sets the I2C_BC and PMODE default value. The Default value for I2C_BC is 0h which configures the HBRIDGE control by INx pins. and also, the default PMODE is 1h which enable the PWM mode.

    Please let me know if you have any more questions. 

    Best regards,

    Mojtaba.