1
Build the Setup2
Get Software3
Program the Base Board4
Further Your KnowledgeSign in to save your progress. Don't have an account? Create one.
The DEVKIT-MOTORGD is Arduino UNO compatible, as with its compatible base boards. The inner rows conform to the Arduino standard while the outer rows accommodate propriety NXP function pins. Let's take your DEVKIT-MOTORGD for a test drive! You have the choice of watching a short setup video or following the detailed actions listed below.
Something went wrong! Please try again.
Driving a motor requires a higher input voltage than what a USB is capable of supplying. The base board will therefore need to be configured to power from an external power supply. On S32K144EVB-Q100, connect J107.1
to J107.2
, like so.
You can do the same thing on DEVKIT-MPC5744P. Connect J13.1
to J13.2
and also apply a jumper to J39
.
Something went wrong! Please try again.
Plug in DEVKIT-MOTORGD Arduino-style into the base board. Make sure the pins match up.
Something went wrong! Please try again.
Connect a 3-phase motor to DEVKIT-MOTORGD at J13
. DEVKIT-MOTORGD supports BLDC (sensored and sensorless) and PMSM. Connect the phase terminals to what suits your application best. NXP sample code uses the Linix BLDC motor 45ZWN24-40 and connects White to Phase A, Blue to Phase B, and Green to Phase C.
If your motor has a hall encoder or position sensor, connect it to the terminal JP1
like so.
Something went wrong! Please try again.
An alternative motor is the Nanotec DB41M024030-A . The motor ships with its wires like so:
The three thick wires are the phases (red, yellow, black) and the five slender wires are the hall sensor (red, black, white, green, blue). To run NXP sample code connect Phase A to Yellow, Phase B to Red, and Phase C to Black.
The Hall interface wies follow the same color coding as the Linix 45ZWN24-40. Connect the wires going down from the "JP1
" label as follows: Red, Black, White, Green, Blue, No wire (leave JP1.6
unconnected).
Something went wrong! Please try again.
Now turn on the power. Power the setup through the DEVKIT-MOTORGD. Connect your power to J7
. DEVKIT-MOTORGD supports up to 24V, but this example will use a simple 12V supply. In any case, powering up will follow the same procedure.
Something went wrong! Please try again.
Download Quick Start Guide and sample software to kickstart your design.
The software below is for evaluation purposes only. Its purpose is to show how DEVKIT-MOTORGD supports easy prototyping. The setup steps described on this "Getting Started" page describe general steps that all projects using DEVKIT-MOTORGD would need to go through. Click on the button below to access the full setup instructions for NXP's sample software.
Something went wrong! Please try again.
NXP offers a complimentary toolchain called S32 Design Studio (S32DS). The S32 Design Studio is an Eclipse-based IDE that offers comprehensive software writing and debugging capabilities. It supports multiple debuggers including GDB and Lauterbach.
NXP also offers the Model-Based Design Toolbox, which is a simulink-based tool that lets you graphically build your application before generating code.
Click on the buttons below for more information on the toolbox's capabilities with each platform.
Something went wrong! Please try again.
FreeMaster is a free-to-use debug monitor from NXP. Supports non-intrusive monitoring of variables on a running system. You can display multiple variables changing over time on an oscilloscope-like display, or view the data in text form.
Something went wrong! Please try again.
Learn how to create a new project in S32 Design Studio IDE for Power Architecture and the basics to create your own code by running an easy example code.
Both S32K144EVB-Q100 and DEVKIT-MPC5744P support OpenSDA. Plug in USB. Program a motor control program using S32 Design Studio or debug interface of your choice.
Something went wrong! Please try again.
Power-cycle the setup and watch the motor spin.
If you installed NXP sample software following the supplemental tutorial in the previous step, the controls are as follows:
Something went wrong! Please try again.
Open the FreeMaster projects attached with the NXP software. Setup board connection to FreeMaster and let it run.
Something went wrong! Please try again.
Learn how to create a new project in S32 Design Studio IDE for Power Architecture and the basics to create your own code by running an easy example code.
Enjoy these video tutorials on how to use DEVKIT-MOTORGD with S32K144EVB-Q100 and DEVKIT-MPC5744P.
S32K144EVB-Q100 DEVKIT-MPC5744P
Something went wrong! Please try again.
Tera Term is a very popular open source terminal emulation application. This program can be used to display information sent from your NXP development platform's virtual serial port.
PuTTY is a popular terminal emulation application. This program can be used to display information sent from your NXP development platform's virtual serial port.