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.

DRV8301 Questions...

Other Parts Discussed in Thread: DRV8301, DRV8302, CONTROLSUITE

We have a motor controller design based on the DRV8301 and an Atmel uC.

 

It works as expected for supply voltages below 30 volts.  However when we try to drive a motor with 36 volts it goes into fault lockups (intermittently).

Up until now we have been using the default settings (no need to use SPI), but it is time to go there.  However, the SPI isn't working for us.

We will continue to work on it ourselves, but since we are in a time crunch, I have some questions....

 

1. Does EN_GATE (pin 16) have anything to do with SPI function?  (e.g. is SPI disabled while motor is running?)

 

2. Do I understand correctly that if SCS (pin 8) is pulled low that SDO (pin 10) will immediately quit being in tri-state?

 

3. Assuming VDD_SPI has power (5V) is there any condition which would prevent this?  (e.g. SCKL state)

 

4. If SCS/SDO action does not happen, is it a good presumption the IC has been damaged?  (even though other functions work?)

 

As implied by the questions, our main problem is deciding whether we have multiple damaged chips or a bad SPI setup.

 

One of the things we have as a backup is going to the DRV8302.  However, I don't understand how the slew control works on that chip.

 

5. Is there a write-up explaining slew control on DRV830x chips?

 

6. Does it matter if SP1, SN1, SP2 and SN2 are disconnected (floating)?

 

 

Thanks,

David Petticord

  • David,

    1. Does EN_GATE (pin 16) have anything to do with SPI function?  (e.g. is SPI disabled while motor is running?)

     SPI is not disabled during motor operation.  However, you must wait a minimum of 5ms and max of 10ms AFTER EN_GATE transitions high to communicate with the device.  This is specified in the tabular data.

    2. Do I understand correctly that if SCS (pin 8) is pulled low that SDO (pin 10) will immediately quit being in tri-state?

    Correct.

    3. Assuming VDD_SPI has power (5V) is there any condition which would prevent this?  (e.g. SCKL state)

    Other than the delay mentioned in #1.   

    4. If SCS/SDO action does not happen, is it a good presumption the IC has been damaged?  (even though other functions work?)

     Hard to say for sure, but assuming you have not over-stressed the device before attempting to communicate, then I doubt the IC is damaged. 

    As implied by the questions, our main problem is deciding whether we have multiple damaged chips or a bad SPI setup.

     

    One of the things we have as a backup is going to the DRV8302.  However, I don't understand how the slew control works on that chip.

     

    5. Is there a write-up explaining slew control on DRV830x chips?

     When using the DRV8302, you could simply install series resistors with the gate drive to slow down the edges.  The gate drive current is maxed out to the highest setting as the default for 8302, so there is no way to adjust this.  We don't have a write-up other than the description in the register map for the DRV8301 where you can choose a lower level of gate current that will slow down the switching edges when charging the external capacitance in the FET.  I = C * dv/dt.

    6. Does it matter if SP1, SN1, SP2 and SN2 are disconnected (floating)?

     No.  This doesn't matter at all. 

     

    An existing code base does exist for the DRV8301-HC-C2-Kit.  You have to download "ControlSUITE" from ti.com to see the code.  This might be helpful to follow as a baseline for SPI programming. 

  • Ryan,

    Thank you for your prompt reply.

     

    It was extremely helpful in that it will save us a lot of time we would have spent trying to verify our understanding.

     

    I fully expect that we will get the SPI to work  and thank you for the warning about the 10ms delay between EN_GATE toggles,

     

    I think the recent post from Benjamin Vedder concerning high power FETs may also be helpful.

     

    We are using IRLS3036 FETs.  I'm looking at IRF1404 as maybe a better fit for 36V operation.