1
Introduction2
Out of the Box3
Get Software4
Plug It In5
BuildSign in to save your progress. Don't have an account? Create one.

The NXP MCSPTE1AK344 development kit provides an easy-to-use platform for evaluating and prototyping automotive brushless direct current (BLDC) and permanent magnet synchronous motor (PMSM) motor control applications. Based on the S32K344 microcontroller and GD3000 pre-driver, the kit helps you begin development before the final hardware is available.
This guide walks you through the process of setting up the MCSPTE1AK344 development kit, installing the required software, connecting the hardware, building and debugging the application project, and using FreeMASTER with the Motor Control Application Tuning (MCAT) tool to run and tune the motor.
Something went wrong! Please try again.
Review each visual below to familiarize yourself with all of the components of the kit's parts.
Something went wrong! Please try again.
The diagram below locates and identifies components of the S32K344 evaluation board.
Something went wrong! Please try again.
Labeled below are the components for the DEVKIT-MOTORGD.
Something went wrong! Please try again.
The S32K344EVB controls the DEVKIT-MOTORGD through the inner pins of the I/O headers, which are Arduino compatible.
Below you will find the pin configuration for the PMSM motor control with the configurable pins indicated in red.
Something went wrong! Please try again.
The S32K344EVB controls the DEVKIT-MOTORGD through the inner pins of the I/O headers, which are Arduino compatible.
Below you will find the pin configuration for the BLDC motor control with the configurable pins indicated in red.
Something went wrong! Please try again.
To access the software (SW) for this development kit, you will sign in at NXP.com with your credentials.
First, you will open the Automotive Software Package Manager and select option "S32K3" under "General-Purpose MCUs".
Expand the "FRDM Automotive Board Installation Package" bundle and check the boxes for "S32 Design Studio", "Real-Time Drivers" and "FreeMASTER" software (other packages are optional).
Click the "Generate Bundle Installer" button at the end of the page.
Next you will go through accepting the Export Control and SW License Agreement. Review and scroll all the way to the bottom where you will accept the terms. Once you have accepted the terms, you will close the wizard to proceed with installation. Installer and Installer User Manual download will start automatically in a few moments.
Note: Because the NXP Multi Installer is available only for a limited time once it appears, please start the installation immediately.
To simplify the installation process for the FRDM Automotive Board Installation Package SW bundle, the installation and configuration is automated.
Something went wrong! Please try again.
Because the latest versions of S32 Design Studio only include GCC toolchain version 11.4., you will need to install version 10.2, which is compatible with Real-Time Drivers (RTD).
In S32 Design Studio, from the top menu, go to Help > S32DS Extensions and Updates. In the S32DS Extensions and Updates dialog, you will install GCC toolchain version 10.2.
Note: Optional SW can be downloaded from the S32K3 Standard Software Package or the S32K3 Reference Software Package.
For access to the optional SW go to S32 Design Studio and from the top menu, select Help > S32DS Extensions and Updates. In the S32DS Extensions and Updates dialog, click Add Update Sites.
Alternatively, you can drag the downloaded update site file and drop it into the S32DS Extensions and Updates dialog. The added software package will be automatically selected for installation.
Something went wrong! Please try again.
Download and install the FreeMASTER application tool for real-time debugging.
Note: For the FreeMASTER set up, you have the option to skip the Lite service installation, which requires an activation code.
Something went wrong! Please try again.
Download and install AMMCLib for S32K3xx.
Note: Version 1.1.44 or newer is required.
Note: For easier path modification, install the Automotive Math and Motor Control Library (AMMCLib) in the default path location.
Something went wrong! Please try again.
Download and install the MCSTE1AK344 motor control application software package.
Note: You will be prompted to download the latest version of the AMMCLib. The installer will test the minimum required version.
Something went wrong! Please try again.
To save configuration time, select the EB Tresos installation directory when prompted.
If you installed RTD prior EB Tresos, create a SW32K3_S32M27x_RTD_R23-11_7.0.0_QLP03.link file in C:\EB\tresos\links folder with the content: "path=C:/NXP/SW32K3_S32M27x_RTD_R23-11_7.0.0_QLP03".
Something went wrong! Please try again.
This section will walk you through how to set up connections.
Reference the charts and diagrams below for set-up of the development kit jumpers.
| S32K3X4EVB-T172 Default Jumper Settings | ||
|---|---|---|
| Jumper | State | Notes |
J1 |
CLOSED | Disabled FS26 watchdog after power-up |
J5 |
1-2 | Select voltage level for FS26 DEBUG pin |
J8 |
CLOSED | External circuits powered from VDD_HV_B domain |
J9 |
CLOSED | External circuits powered from VDD_HV_A domain |
J427 |
CLOSED | The MCU peripherals powered from the VDD_HV_A domain |
J15 |
CLOSED | The MCU peripherals powered from the VDD_HV_B domain |
J18 |
1-2 | 5 V for the VDD_HV_A domain |
J13 |
1-2 | 3.3 V for the VDD_HV_B domain |
J20 |
OPEN | LIN1 Commander* mode |
J22 |
1-2 | 5 V from FS26 SBC |
J24 |
OPEN | LIN2 Commander* mode |
J26 |
CLOSED | 3.3 V from FS26 SBC |
J30 |
OPEN | FS26 wake inputs |
J31 |
1-2 | V15 domain powered from FS26 SBC |
J44 |
OPEN | On-board debugger UART pins |
J423 |
CLOSED | 12V from J14 connector |
J424 |
CLOSED | Connect 3.3V voltage signal with 3.3V MCU power domain option |
| S32K3X4EVB-Q172 Default Jumper Settings | ||
|---|---|---|
| Jumper | State | Notes |
J1 |
CLOSED | Disabled FS26 watchdog after power-up |
J5 |
1-2 | Select voltage level for FS26 DEBUG pin |
J8 |
CLOSED | External circuits powered from VDD_HV_B domain |
J9 |
CLOSED | External circuits powered from VDD_HV_A domain |
J10 |
CLOSED | The MCU peripherals powered from the VDD_HV_A domain |
J18 |
1-2 | 5 V for the VDD_HV_A domain |
J20 |
OPEN | LIN1 Commander* mode |
J22 |
1-2 | 5 V from FS26 SBC |
J24 |
OPEN | LIN2 Commander* mode |
J26 |
CLOSED | 3.3 V from FS26 SBC |
J30 |
OPEN | FS26 wake inputs |
J44 |
OPEN | On-board debugger UART pins |
Something went wrong! Please try again.
Reference the charts and diagrams below for set-up of the evaluation board jumpers.
| Jumper | Setting | Option | Description |
|---|---|---|---|
J8 |
Short | HALL/Encoder interface | Voltage level for HALL/Encoder interface is 3.3 V |
| Open | Voltage level for HALL/Encoder interface is 5.0 V (default) | ||
J9/J10/J11
|
1-2 | Motor Type | Bidirectional 3-phase current sensing for PMSM FOC (sinusoidal) motor control |
| 2-3 | 3-phase back-EMF voltage sensing for BLDC six-step (trapezoidal) sensorless motor control |
Place DEVKIT-MOTORGD jumpers J9, J10 and J11 into position 1-2 for PMSM application or 2-3 for BLDC application. Jumper J8 stays open for 5 V HALL sensors.
Make sure that the potentiometer for overcurrent comparator is set in the correct position (approximately 8 - 10 A, slightly to the left from the middle).
Something went wrong! Please try again.
Ensure that the motor phase wires are in the following order, from phase A to phase C:
A: Yellow
B: Green
C: Blue
Something went wrong! Please try again.
Switch SW1 to the OFF position (fully to the left).
Connect the 12 V power supply adapter.
Switch SW1 to the ON position (fully to the right).
When power is applied to the EVB, four orange LEDs next to the voltage regulators indicate that the 12 V, 5 V, 3.3 V and 1.5 V supply voltages are present.
Note: This power-up sequence ensures that the FS26 system basis chip (SBC) starts with the watchdog disabled.
Something went wrong! Please try again.
Connect a micro-USB cable to the J40 connector to debug via the onboard S32K3 debugger.
Note: Some USB hubs may cause problems during connection, so instead connect the USB directly to your computer.
Something went wrong! Please try again.
Let's take your MCSTE1AK344 motor control kit for a test drive.
Select the appropriate PMSM or BLDC motor control application from the installed directory NXP\MC_DevKits\MCSPTE1AK344\sw
To import the installed application software project in the S32 Design Studio IDE for S32 Platform:
NXP\MC_DevKits\MCSPTE1AK344\sw and choose the corresponding project and click "OK". Then, click "Finish".Note: Check the box to select "Copy projects into workspace".
Something went wrong! Please try again.
If you selected a project with low-level drivers (ll in project name), follow these steps:
MCSPTE1AK344_PMSM_FOC_2Sh_ll. Then, double-click the corresponding *.mex file to open the project configuration in the Configuration Tool.If you selected a project with AUTOSAR drivers (with as_tr in the project name), the S32DS project will contain a Tresos folder with EB tresos configuration. Follow the following steps.
Note: Uncheck the box to deselect "Copy projects into workspace".
Something went wrong! Please try again.
To upload the SW and debug, follow the following steps.
Something went wrong! Please try again.
Launch the FreeMASTER application to set up the debugging tool. To open the FreeMASTER project, select File > Open Project, then browse to the FreeMASTER_control folder in the selected project directory and open the *.pmpx file.
Note: Alternatively, you can also start by double-clicking directly in the S32DS project folder.
To enable communication, access the FreeMASTER toolbar and click Go (or press Ctrl+G). You will know that communication has been successfully activated when you see the following at the bottom of the status bar:
RS-232; port=COMn; speed = 115200
Something went wrong! Please try again.
If you run the MCSPTE1AK344 software on modified or custom hardware, you may need to edit hardware scales and fault triggers. In the Motor Control Application Tuning (MCAT) tool, open the Application Setup page and edit the values on the left side of the page.
Once you finish, click Save config to generate a static configuration file. You may check file content at the Output file page.
Next, repeat the step from the Upload Software and Debug section to build the project and upload the code into MCU.
In a case of motor change, you may benefit from new MCAT 2.0 motor parametrization and control loops autotuning features.
On the Motor Parameters page, enter the four basic motor parameters that cannot be detected automatically:
Click Update Target to start motor-parameter estimation and automatic control-loop tuning. The parameters are typically updated automatically in less than one minute.
Note: For more information about the automatic motor parameterization and control loops autotuning, please read AN15061 Application Note in MCSPTE1AK344\doc folder. Default path:
c:\NXP\MC_DevKits\MCSPTE1AK344\doc\ApplicationNotes\AN15061 MCAT 2.0 - Motor Control Application Tuning Tool for PMSM FOC.pdf
Open the Speed Loop page, then use the Speed Control tab to set the required speed and turn on the motor drive.
Select one of the predefined Scopes or Recorders in Project Tree to watch the application variables in real time.
For runtime debugging, you can create or modify scopes and recorders as needed.
If there are pending faults and the red LED indicates a fault state, click CLEAR on the MCAT Control tab. You can also press SW5 and SW6 simultaneously on the board.
Click On/Off on the control bar, or press SW5 or SW6 on the board, to start clockwise or counterclockwise rotor rotation. The blue LED indicates the running state.
Modify the Required Speed field on the control bar, or change the Speed Required value in the Variable Watch window. You can also control the speed by pressing SW5 or SW6 on the board.
Stop the motor by clicking On/Off on the MCAT control page, clearing the On/Off variable, or pressing and holding SW5 and SW6 on the S32K344EVB board. The green LED indicates the ready state.
Note: For more information about MCAT tool, refer to AN15061 Application Note in the MCSPTE1AK344\doc folder. Default path: c:\NXP\MC_DevKits\MCSPTE1AK344\doc\ApplicationNotes\AN15061 MCAT 2.0 - Motor Control Application Tuning Tool for PMSM FOC.pdf
Connect with other engineers and get expert advice on designing with the MCSPTE1AK344 on one of our community sites.
Get to Know the MCSPTE1AK344 Motor Control Development Kit
Get to Know the S32K344 Evaluation Board
Get to Know the DEVKIT-MOTORGD
Header/Pinout for PMSM Motor Control
Header/Pinout for BLDC Motor Control
Select SW packages from Automotive Software Package Manager
Add GNU Compiler Collection (GCC) Toolchain Version 10.2
Get FreeMASTER Application Tool for Real-Time Debugging
Get Automotive Math and Motor Control Library (AMMCLib) Set
Download the Development Kit Application Software
Elektrobit Tresos Studio and Standalone RTDs (Optional Step for AUTOSAR Examples)
Check the Default Jumper Positions in the MCSPTE1AK344 Development Kit
Set Up Jumpers in the DEVKIT-MOTORGD Evaluation Board
Connect the Motor
Connect the Power Supply
Connect the Debug Interface
Select Application and MCU Programming
Use Configuration Tool
Upload Software and Debug
Set Up the Debugging Tool