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.

Driving the DRV8313 evm with an external dsp (eZdsp™ F2812 for TMS320F2812 DSP )

Other Parts Discussed in Thread: TMS320F2812, DRV8313, DRV8313EVM, TMS320F28335, TMS320F2802, TMS320F28377D, CONTROLSUITE

Hi,

i'm trying to control four BLDC motors simultaneously, and i have an eZdsp board (the F2812 for TMS320F2812 Dsp) for that, i will use the drv8313 evm like the power stage between the board and motor because it could be driven with an external signal from the dsp.

my questions are :

is it possible to link the four DRV8313 evm boards to the dsp board simultaneously

is there any support of how to drive the DRV8313 evm with an external controlleur because i don't find anythong about that in the user guide(connectors, cables, pin connections etc...)

thanks  

  • Sadok,

    In order to drive DRV8313EVM with external controller, you must remove the on board zero jumper resistors, as mentioned in EVM schematic and use J1 connector to drive DRV8313 chip on-board. At minimum, you would need six PWM control inputs from external micro-controller i.e. Three IN singnals and Three EN signals to run one BLDC motor.

    On eZdsp board, at minimum you must verify if it can provide 24 controller signals. To get more information on this board, you can post query on C2000 MCU forum. This is quite old board which was released 10years so I'm not sure if it is actively supported.

    I would suggest you to look more recent picollo devices TMS320F2802/69/or Defilno TMS320F28335 series to build the solution.

    Best Regards

    Milan

  • thank you mr Milan,

    yes i know it is an old board but the probleme we have it alreday and we have to deal with 

  • Hi,

    Just another question, is there any dsp  that could control up to four 3 phase BLDC motors simultaneously, because i checked in the peripherals reference guide (for the two dsp that you have suggested) and i realised that this two devices allow just two three-phase motors to be driven.

    best regards 

  • Sadok,

    Please refer to TMS320F28377d device. It has 24 PWM channel.

    http://www.ti.com/product/tms320f28377d

    Best Regards

    Milan

  • Hi

    i just programmed the logic table (i found it in the datasheet of the DRV8313 ic ) ans it should achieve standard 120° commutation , so my ezdsp produce the six signal correctly and i visualized them and normally everything is correct

    after that i've connected my six signal in order (IN1,EN1,IN2,EN2,IN3,EN3) to the J1 header's first six pins and i putted high the ninth and tenth pins of J1 witch are RESET ans SLEEP but i don't see anything in the output's phases (of course my drive is alimented in 12 v )

    can anyone help me with this ?

  • Hi Milan

    now i have accomplished the first step witch was to control one motor with the F2812 dsp and the drv8313 evm , and now, in order to control the four motors simultaneously, i will try to find a board that could generate 24 pwm ,i have already checked this one (that you have already suggested) but the problem that this board  has only 6 capture unit witch is not enough for the 4 motor, because i have 3 hall sensors for each motor so i will need 12 capture unit input  so is there any solution for this problem ? may be i will have to use two dsp board and make them communicate?

    best regards 

  • Sadok,

    You don't need CAP units for Hall inputs, in fact we never use them when dealing with Halls. We use GPIO triggering and software.

    see this project in controlSUITE as an example

    C:\ti\controlSUITE\development_kits\DRV8312-C2-KIT_v128\BLDC_Sensored

     

  • Sadok,

    I would recommend going with Control-suite method as suggested by Chris.

    In this approach speed calculation is done with timer running at ISR frequency so if you are concerned about speed accuracy, you may try  to Ex-OR 3-hall signals to generate one signal for frequency/speed measurement. This signal is can be fed to capture unit  for getting better speed accuracy, only one is required per motor.

    Best  Regards

    Milan

  • Hi milan,

    I understand your recommendation but the problem is that i'm using matlab simulink with ccs, i'm not planning to use algorithms from the control suite, because i need to test my own Simulink programs

    anyway, i want to ask you about the TMS320F28335 Experimenter Kit ? and what are the principal differences between it and the TMS320F28335 eZdsp Starter Kit since the price is 5 time more higher !

    and i have noticed that the version of matlab i have( R2012b) don't support the F28377 D microprocessor target (in simulink coder) so i need to find another board , may be the TMS320F28335 ezdsp starter kit could afford to me the sufficient number of signals for my four motors  application 

    Best regards 

     

  • Sadok

    Regarding Simulink and F28377D, I know they are working on the support. As you're aware Mathworks puts out two updates a year, the a and b.  You can email c2000_expert@mathworks.com to see when they will support new Delfino devices.

    The eZdsp is much older, but has a socket to switch out the MCU and many standard connectors.  The experimenter's kits are essentially just a breadboard with low speed JTAG connection. 

    Recommend you post on the C2000 forum instead of Motor Drivers.