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.

DRV8312-C2-Kit (Running from MSP430 MCU's)

Other Parts Discussed in Thread: DRV8312, MSP430F5529

Hi all,

In the DRV8312-C2-Kit user guide, its mentioned that it is possible to give the PWM

inputs using  MCU's other than the given control card. Is it possible to run the DRV8312

using a MSP430 microcontroller? If its possible, is there any example code available to do this?

Any help is greatly appreciated.

Thanks & Regards,

Vignesh.

  • Vignesh,

    We are working on a controlCARD that would fit into the DRV8312 slot and based around the MSP430.  Unfortunately, it is not available yet.  

    What is your timeframe?

  • Ryan,

    Thank you for your reply.
    Well, I have to finish this work by this September.
    Also im using the MSP430F5529 MCU in my project.
    I'm using the pins available in the J5 jumper for PWM and reset pins. For a moment, the motor worked,
    I was able to control the speed as well. However, I was able to do this only by adjusting the RESET switches available on board.
    And this is not always possible as the FAULT and OTW goes low. Also could you please tell me,
    what is the use of this RESET switch and the Mode jumpers M1 (H, L)?
    And the motor is not spinning with just the MCU outputs. I had to flip one of the RESET pins on the eval board to spin the motor. Im using the 24DC power supply for the board which i guess is enough to run the board. Also I had to rotate the shaft to get it started.I was just wondering is there a current limit or minimum threshold that the motor needs? Please give your inputs.


    Thanks & Regards,

    Vignesh.

  • Vignesh,

    The switches need to be in the MIDDLE position if you wish to control the /RESET lines with an external microprocessor.  

    Please check the DRV8312 datasheet for the function of the M1 jumper.  Connecting the jumper LOW selects cycle-by-cycle current limit.  Connecting it HIGH selects latched OC.  For the latched case, you will need to cycle /RESET low and then back to high to clear an OC fault.  

    The threshold for OC current limit is set by the OC_ADJ resistor on the EVM.  If you think you are hitting a current limit, you could adjust this resistor.  The board is shipped with a 30k resistor which gives you a nominal current limit of 8.8A.  There is a 20% tolerance on this from device to device, so trip point could be as low as 7A.