Devkit-Motorgd QSG
Devkit-Motorgd QSG
www.nxp.com/DEVKIT-MOTORGD
EXTERNAL USE
Contents
• Step-by-Step Installation Instructions
• How to Spin the Motor
• Hardware: DEVKIT-MOTORGD Board
− Features
− Overview
− Pinout and Jumper Settings
− Power Supply
− Order Information
− EMC Requirements Note
• Documentation
• Recommendations
1 EXTERNAL USE
Step-by-Step Installation Instructions
In this quick start guide, you will learn how to set up the Install Software and Tools
DEVKIT-MOTORGD board and run the default program. Install S32 Design Studio IDE for base board (S32K144EVB-Q100
1 or DEVKIT-MPC5744P).
S32 Design Studio for ARM/Power
See Software Installation Guide (SWIG) from S32K144EVB-Q100
or DEVKIT-MPC5744P Quick Start Package.
Plug in MOTORGD
2 EXTERNAL USE
How to Spin a Motor: Power the Base Board
• This example uses DEVKIT-MPC5744P as base board
• Base board can be powered by USB or external supply
− Check base board jumpers
− This slide shows settings for external power
• Plug in USB to base board for programming
• Plug in power supply if base board configured to be externally
powered
3 EXTERNAL USE
How to Spin a Motor: Program the Base Board
• Load the motor control program onto base board
• Use S32DS
− Refer to S32K144EVB-Q100 or DEVKIT-MPC5744 SWIG
• Online tutorial on installing software using Model
Based Design Toolbox
4 EXTERNAL USE
How to Spin a Motor: Remove the USB
• Unplug the USB and external supply from base board
• DEVKIT-MOTORGD will power base board
5 EXTERNAL USE
How to Spin a Motor: Configure Base Board Jumpers
• Make sure base board is configured to be powered externally
• S32K144EVB-Q100: Short J107.1-2
• DEVKIT-MPC5744P: Short J13.1-2 and J39.1-2
S32K144EVB-Q100 DEVKIT-MPC5744P
6 EXTERNAL USE
How to Spin a Motor: Plug in DEVKIT-MOTORGD
• Plug DEVKIT-MOTORGD onto base board
7 EXTERNAL USE
How to Spin a Motor: Power Shield and Base Board
• Plug in barrel connector to DEVKIT-MOTORGD
• DEVKIT-MOTORGD also powers base board
8 EXTERNAL USE
How to Spin a Motor: Connect Phase Outputs (Linix)
• Connect the phase outputs
• NXP recommends and uses the Linix
45ZWN24-40 BLDC motor for evaluation
purposes
• Alternative motor: Nanotec
DB41M024030-A
• NXP example:
− PHA – White
− PHB – Blue
− PHC – Green
9 EXTERNAL USE
How to Spin a Motor: Connect Hall Sensor (Sensored Only) (Linix)
• Plug in Hall sensor if motor control program requires Hall sensor JP1
10 EXTERNAL USE
How to Spin a Motor: Nanotec Alternative
• The Nanotec DB41M024030-A is an alternative to the Linix 45ZWN24-
40
• It comes with its wires in a bunch
• Two groups
− 3 thick wires (phases): Red, Yellow, Black
− 5 slender wires (hall sensor): Red, Black, White, Green, Blue
11 EXTERNAL USE
How to Spin a Motor: Connect Phase Outputs (Nanotec)
• If you are running the NXP example on
the Nanotec DB41M024030-A connect:
− PHA – Yellow
− PHB – Red
− PHC – Black
12 EXTERNAL USE
How to Spin a Motor: Connect Hall Sensor (Nanotec)
• The Nanotec DB41M024030-A’s hall sensor follows same color coding
as the Linix 45ZWN24-40’s hall sensor
• Connect the wires in the same order (from “JP1” label):
− Red
− Black
− White
− Green
− Blue
− No wire
• You may need to install headers of your choice for better connection
13 EXTERNAL USE
How to Spin a Motor: Run the Motor
• If you use NXP’s software example, motor will automatically start
spinning after a few seconds
• Press SW1 to speed up
• Press SW2 to slow down/reverse
14 EXTERNAL USE
DEVKIT-MOTORGD Board : Features
• Gate Driver Unit MC34GD3000EP
• 3-Phase Bridge
− Output Parameters: 3 phase outputs, 10-18V, 5A phase current (RMS)
• Hall Encoder
• Arduino™ UNO R3 footprint-compatible with expansion “shield” support
• Easy access to the MCU I/O header pins for prototyping
• Flexible power supply options
• 10-18V External power supply
• Supports DEVKIT-MPC5744P and S32K144EVB
• NXP recommends and uses the Linix 45ZWN24-40 or Nanotec DB41M024030-A
BLDC motor for evaluation purposes
• Box includes:
− DEVKIT-MOTORGD Shield
• Downloads include:
− Quick Start Guide
− Application notes
15 EXTERNAL USE
DEVKIT-MOTORGD Board : Overview
J2 J1 J6
The DEVKIT-MOTORGD
is an ultra-low-cost Break Resistor
development platform
Terminal
motor control.
J3 J4 J5
12V External
Power Supply
16 EXTERNAL USE
DEVKIT-MOTORGD Board : Pinout 1 of 3
J2
FUNCTION PORT PIN PIN PORT FUNCTION
GD_INT J2-19 J2-20 NC
OC_OUT J2-17 J2-18 NC
NC J2-15 J2-16 NC
GND J2-13 J2-14 NC
SPI_SCLK J2-11 J2-12 NC
J2 SPI_MISO J2-09 J2-10 NC
SPI_MOSI J2-07 J2-08 NC
SPI_CS_B J2-05 J2-06 NC
BRAKE_PWM J2-03 J2-04 NC
NC J2-01 J2-02 NC
J1
J1
FUNCTION PORT PIN PIN PORT FUNCTION
PWMC_LS J1-15 J1-16 NC
PWMC_HS J1-13 J1-14 NC
PWMB_LS J1-11 J1-12 NC
PWMB_HS J1-09 J1-10 NC
PWMA_LS J1-07 J1-08 NC
PWMA_HS J1-05 J1-06 NC
GD_RST_B J1-03 J1-04 NC
GD_EN J1-01 J1-02 NC
Arduino Compatibility
The internal rows of the I/O headers on
the DEVKIT-MOTORGD are arranged to
17 EXTERNAL USE fulfill Arduino™ shields compatibility .
DEVKIT-MOTORGD Board : Pinout 2 of 3
J3
FUNCTION PORT PIN PIN PORT FUNCTION
NC J3-02 J3-01 J_VDC VDC
NC J3-04 J3-03 MC_VCC 5V
NC J3-06 J3-05 NC
NC J3-08 J3-07 NC
NC J3-10 J3-09 NC
NC J3-12 J3-11 GND
NC J3-14 J3-13 GND
J3 NC J3-16 J3-15 J_VDC VDC
J4
J4
FUNCTION PORT PIN PIN PORT FUNCTION
NC J4-02 J4-01 DCBI Current
NC J4-04 J4-03 DCBV Voltage
NC J4-06 J4-05 BEMF_A/PHA_I Feedback/Output
NC J4-08 J4-07 BEMF_B/PHB_I Feedback/Output
NC J4-10 J4-09 BEMF_C/PHC_I Feedback/Output
NC J4-12 J4-11 NC
NC J4-14 J4-13 NC
NC J4-16 J4-15 NC
Arduino Compatibility
The internal rows of the I/O headers on
the DEVKIT-MOTORGD are arranged to
fulfill Arduino™ shields compatibility .
18 EXTERNAL USE
DEVKIT-MOTORGD Board : Pinout 3 of 3
FUNCTION PORT PIN
J6 PIN PORT FUNCTION
NC J6-19 J6-20 NC
NC J6-17 J6-18 NC
NC J6-15 J6-16 NC
NC J6-13 J6-14 NC
NC J6-11 J6-12 NC
NC J6-09 J6-10 NC
NC J6-07 J6-08 NC
NC J6-05 J6-06 NC
NC J6-03 J6-04 NC
NC J6-01 J6-02 NC
Arduino Compatibility
The internal rows of the I/O headers on
19 EXTERNAL USE the DEVKIT-MOTRGD are arranged to
fulfill Arduino™ shields compatibility .
DEVKIT-MOTORGD Board : Power Supply
20 EXTERNAL USE
DEVKIT-MOTORGD Board : Order Information
21 EXTERNAL USE
EMC Requirements Note
To comply with EMC requirements, you must attach the included ferrite
clamp to the motor wires connecting to terminal block J13 of the
DEVKIT-MOTORGD board. The clamp must be installed at the end of
the motor wires closest to the DEVKIT-MOTORGD board.
22 EXTERNAL USE
EMC Requirements Note – Step 1
23 EXTERNAL USE
EMC Requirements Note – Step 2
24 EXTERNAL USE
EMC Requirements Note – Step 3
25 EXTERNAL USE
Documentation and Reference Material
• Documentation Links
− MOTORGD Schematic (TBA)
− MOTORGD Factsheet (TBA)
− Model-Based Design
• Software Suites
− Automotive Math and Motor Control Library Set for S32K14x
− Automotive Math and Motor Control Library Set for MPC574xP
• Reference Manuals
− S32K Reference Manual
− MPC574xP Reference Manual
26 EXTERNAL USE
Recommendations
• Keep S32 Design Studio IDE and OpenSDA firmware Up-to-date for best results
• Useful Links:
− MPC5744P Webpage
− S32K Webpage
− DEVKIT-MOTOROGD Webpage
− S32K144EVB-Q100 Webpage
− DEVKIT-MPC5744P Webpage
− nxp.com/community
27 EXTERNAL USE