Universal FOC - DRV8329 Gate Driver User Guide¶
This User Guide outlines the usage of DRV8329 gate driver along with the FOC Application running on MSPM0.
1. Hardware Required¶
LP-MSPM0G3507 - MSPM0G3507 Launchpad
LP-MSPM0G3519 - MSPM0G3519 Launchpad
DRV8329AEVM - DRV8329AEVM is a 30-A, 3-phase brushless DC drive stage based on the DRV8329A gate driver for BLDC motors.
DC Power supply that supports the required voltage and current
Brushless-DC Motor
Micro-USB cable
2. Hardware Setup¶
Remove the PA26 jumper J18 in the LP-MSPM0G3507 as shown below.
Fig. 28 J18 header removed in LP-MSPM0G3507¶
By Default in DRV8329AEVM shunt resistor R44 is populated with 0.001ohms this resistor need to be changed to 20mOhms.
R18, R20 to be populated with zero ohm resistor to connect nFault input to 15th Pin in J8. Also remove R23 to remove NFAULT from 19th pin in J9.
Desolder R24 and populate R19 with zero ohm resistor to move POT input from 14th pin to 3rd pin in J8/J9 connector.
Remove J2 in DRV8329AEVM to make dead time set to 55ns, user can use the MCU dead time to insert dead time.
User can select the CSA Gain using the connector J2. By default, the base current in FW is computed with CSA Gain of 20V/v and 20mOhm resistance.
Desolder R14, R15 removed to disconnect 3.3V and 5V to LP.
Connect the LP-MSPM0G3507/LP-MSPM0G3519 to the DRV8329AEVM in one of two ways:
1 If using the jumper wires, connect as shown in the table below. Refer to the schematic of J3 and J4 connector pinout on DRV8329AEVM for the location of the signals.
Connection
MSPM0G3507
MSPM0G3519
DRV8329AEVM
Phase A HS input
PB4
PB3
INHA
Phase A LS input
PB1
PB9
INLA
Phase B HS input
PA28
PC4
INHB
Phase B LS input
PA31
PC5
INLB
Phase C HS input
PB20
PB4
INHC
Phase C LS input
PB13
PB5
INLC
Bus voltage input
PA18
PB25
VSENVM
Bus current input
PA17
PB27
ISENA
Phase A Voltage input
PB19
PA27
VSENA
Phase B Voltage input
PA22
PA26
VSENB
Phase C Voltage input
PB18
PB24
VSENC
Fault Input
PA27
PB30
nFAULT
DRV Enable output
PB6
PB12
DRVOFF
DRV sleep
PA26
PB29
nSLEEP
Common Ground
GND
GND
GND
UART TX
PB12
PA9
TX
UART RX
PA13
PA8
RX
Fig. 29 DRV8329AEVM J8 and J9 connector pinout¶
Note: The output from the single shunt current sense is to be routed to ADC 0 & 1 through Pins PA24 and PA17 respectively.
Place nSLEEP switch in WAKE position and DRVOFF in ON position.
Connect the 3 phases of the BLDC motor to A/B/C of connector J13 on the DRV8329AEVM.
Connect the positive and negative of the power supply to VM and GND of the power connector terminal block.
Set the power supply to to a motor voltage between 4.5V to 60V within the DRV8329AEVM specifications and a 30-A current limit.
Connect a Micro-USB cable from the MSPM0 Launchpad to the PC.
Turn on the power supply. The green VM LED on the DRV8329AEVM should turn on.
Once all steps are completed, Please refer to Software User Guide for steps on importing the CCS project or FOC Tuning Guide for steps to tune and spin the motor.