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.

DRV8245-Q1: question about DRV8245-Q1 driving to control motor

Part Number: DRV8245-Q1


I have a question about DRV8245-Q1 to control motor

I am testing with the following configuration:

 

Functional configuration is SPI(S), and SPI communication, PWM mode

 

The testing process has been followed.

1. Functional configuration is SPI(S) variant.

setting nSLEEP to HIGH, sending CLR_FLT command after tREADY.

After that, nFAULT pin changed to HIGH

2.After setting some register, Set DRVOFF to LOW, and similarly control EN/IN1 and PH/IN2 as below,

 

EN/IN1               ( 5Khz PWM used )

PH/IN2         

or

EN/IN1       

PH/IN2         

3 when I read STATUS1 or STATUS2 register, and the ACTIVE bit continues to be reversed to “0” and

The STATUS Byte is receive “ 0xC0” .

But the system does not go to the ACTIVE state, so which part has a problem?

 

In the manual, if the nSLEEP pin is HIGH and the DRVOFF pin is LOW, STANDBY => ACTIVE

But, why couldn’t the drv8245 go to the ACTIVE state ?

And the Outputs of OUT1 (drv8245 9, 10, 11 pins) and OUT2 (drv8245 18, 19, 20 pins) are always all about 0.3V,

 

** Register settings are as shown below

COMMAND = 0x89    /* Clear error, lock SPI IN, unlock CONFIG */

CONFIG1 = 0x5F        /* VM > 18V, spread spectrum enabled, retry enabled */

CONFIG2 = 0x04        /* no extensions, no off state diagnostics, ITRIP 1.98  */

CONFIG3 = 0x4B        /* TOFF time 30us, SR 9.8, PWM mode */

config4 = 0x00;          /* TOCP 6us, OCP 100%

  • Hey Bomin,

    Just to confirm - your issue is the motor isn't starting to spin, because there's no output from the device? 

    Agreed that the device should be in ACTIVE state if nSLEEP=1, DRVOFF=0 per 8.3.2.2 for PWM mode. 

    Did you set the device to PWM mode via the S_MODE bits (0b10 or 0b11)? 

    Regards,

    Jacob

  • Hi ! Jacob,

    I was on vacation last week, so my response was late.
    I am planning to actually connect the motor during this week, but currently I am measuring only the output waveform without a load.
    The PWM mode was tested by setting it to 0b11 through S_MODE bits.

  • Hello Bomin,

    Here are a few things to consider. Can you double check if there is any voltage on the VM pin of the driver. Here is the state machine and the conditions for the driver.

    Can you make sure that condition 6 is met and if it is then make sure that condition 7 is not being met.

    Best,

    Keerthi Kumanan

  • Hi! Keerthi Kumanan

    As you mentioned, i rechecked VM voltage, EN/IN1, PH/IN2, DRVOFF pin.

    The check results are as below,


    1. VM ( pin number 6, 7, 8, 21, 22, 23 pin of the DRV8245P IC) input voltage is 10.3V
    2. DRVOFF is LOW
    3. EN/IN1 or PH/IN2
    => For the EN/IN1 or PH/IN2 pin, I have given inputs of various conditions, but the output of OUT1 (pin number 9, 10, 11 pin of the DRV8245P IC) and OUT2 (pin number 18. 19 20 of the DRV8245P IC) signal did not change.
    The output voltage (OUT1 & OUT2) does not change by about 0.3v on both sides.

    Best Regards,
    Bomin

  • Dear, 

    Jacob, Keerthi Kumanan


    Problem solved. Thank you very much

    Best Regards,
    Bomin