1
Out of the Box2
Get Software3
Plug It In4
Build, Run and Load5
Application ControlSign in to save your progress. Don't have an account? Create one.

NXP's EV Traction Inverter Gen 3 SiC MOSFET Enablement Kit is designed for customers using SiC MOSFETs modules to develop the traction inverter module that controls electric vehicle traction motors.
This page will guide you through the process of setting up and using the EV Traction Inverter Control Reference Design Gen 3 (EV-INVERTERGEN3).
EV Traction Inverter Control Reference Design Gen 3.
The EV-INVERTERGEN3 kit includes:
To build the EV Traction Inverter Control Reference Design Gen 3, you will need additional hardware beyond what is contained in the EV-INVERTERGEN3 kit. The NXP partner Vepco may provide these components, or you may build your own traction inverter setup:
For the development of a traction inverter you will need these tools and components:
Something went wrong! Please try again.
S32K396-HPWR-MC MCU Control Board.
Something went wrong! Please try again.
Sign in at nxp.com with your credentials.
Download and Install S32 Design Studio for S32 Platform v.3.6.1
NOTE: Since version 3.6.1, the S32DS installer doesn't require an activation code, but you may still found it under the License Keys tab.
Something went wrong! Please try again.
Download S32K3_S32M27x Real-Time Drivers ASR R21-11 Version 5.0.0
Something went wrong! Please try again.
In S32DS, go to Help → S32DS Extensions and Updates from the top menu to open the S32DS Extensions and Updates dialogue.
Click on Add Update Sites and browse for the downloaded RTD *.zip file.
Find, select and install S32K39X Real-Time Drivers ASR R21-11 Version 5.0.0.
Something went wrong! Please try again.
Download S32K396 GD3162
R21-11 Version 2.0.2 CD01 driver from
Automotive SW - S32K3/S32M27x - Real-Time Drivers for Cortex-M package.
Something went wrong! Please try again.
In S32DS, go to Help → S32DS Extensions and Updates from the top menu to open the S32DS Extensions and Updates dialogue.
Click on Add Update Sites and browse for the downloaded GD3162 update site file.
Select and install GD3162 drivers.
Something went wrong! Please try again.
Download S32K396 FS26 Version 2.0.1
Something went wrong! Please try again.
In S32DS, go to Help → S32DS Extensions and Updates from the top menu to open the S32DS Extensions and Updates dialogue.
Click on Add Update Sites and browse for the downloaded S32K396 FS26 Driver update site file.
Select and install FS26 drivers.
Something went wrong! Please try again.
Download S32K3 ETPU SW RTM 2.0.0 Code Drop 4.
Something went wrong! Please try again.
In S32DS, go to Help → S32DS Extensions and Updates from the top menu to open the S32DS Extensions and Updates dialogue.
Click on Add Update Sites and browse for downloaded eTPU SW update site file.
Select and install eTPU SW.
Something went wrong! Please try again.
In S32DS, go to Help → S32DS Extensions and Updates from the top menu to open the S32DS Extensions and Updates dialogue.
Select and install the S32K3 FreeMASTER Communication driver.
Something went wrong! Please try again.
Download and install FreeMASTER tool 3.2 for real-time debugging.
Something went wrong! Please try again.
Download and install the latest Automotive Math and Motor Control Library set for S32K3 (version 1.1.39 or newer).
TIP: If possible, install AMMCLib in their default path location to make future path modifications easier.
Something went wrong! Please try again.
Download and install the EV-INVERTERGEN3 motor control application software.
NOTE: The application checks the version and whether the appropriate AMMCLib was correctly installed or not. If not (red note), install AMMCLib and reinstall the EV-INVERTERGEN3 motor control application software. That will simplify the next project import (paths to the latest AMMCLib will be already updated).
Something went wrong! Please try again.
Optionally, download and install drivers for your CAN interface. For example, if you use the PCAN interface,
select
your interface at the PEAK System
webpage, and then download
the Windows device driver and PCAN-View application from the download section. Install the downloaded driver and
GUI
tool.
Something went wrong! Please try again.
Check The Default Jumper Positions at the S32K396-HPWR-MC MCU Control Board.
Table 1. S32K396-HPWR-MC Default Jumper Settings
| Jumper | State | Notes |
|---|---|---|
| J2 | CLOSED | FS26_DEBUG pin voltage connected to FS26 VBOS signal. FS26 will start in debug mode with watchdog disabled |
| J3 | CLOSED | MCU RESET_B signal connected to FS26 WAKE2 input |
| J4 | OPEN | FS26_DEBUG pin disconnected from voltage divider |
| J7 | CLOSED | VDD_HV_A connected to 20-pin Arm standard JTAG connector |
| J8 | CLOSED | MCU RESET_B signal connected to 38-pin Arm ETM Mictor connector |
| J9 | 1-2 | MCU JTAG TMS signal connected to 20-pin Arm standard JTAG connector |
| J10 | 1-2 | MCU JTAG TDO signal connected to 20-pin Arm standard JTAG connector |
| J11 | 1-2 | MCU JTAG TCK signal connected to 20-pin Arm standard JTAG connector |
| J12 | 1-2 | MCU JTAG TDI signal connected to 20-pin Arm standard JTAG connector |
| J13 | CLOSED | MCU RESET_B signal connected to 20-pin Arm standard JTAG connector |
| J14 | 2-3 | Input for 1.5 V PMOS transistor regulator connected to VDD_HV_B power domain |
| J15 | 2-3 | VREFH_R2R reference (reference voltage for all ADCs) derived from HDD_HV_A |
| J16 | OPEN | 1.5 V PMOS transistor regulator disconnected |
| J17 | 1-2 | 1.5 V PMOS transistor driven by VDD_DCDC MCU signal |
| J18 | 2-3 | 1.1 V NMOS regulator driven by NMOS_CTRL signal |
| J19 | CLOSED | SW1 RESET button connected to RESET_B signal |
| J20 | OPEN | CAN0 tranceiver Standby signal disconnected from PTE5 pin |
| J21 | 2-3 | CAN3 tranceiver Standby signal has pull-down |
| J22 | OPEN | CAN3 tranceiver Standby signal disconnected from PTF29 pin |
| J23 | 2-3 | CAN0 tranceiver Standby signal has pull-down |
| J24 | OPEN | Bypass of SW3 User Button - HDD_HV_A voltage at PTG14 pin |
| J25 | OPEN | Bypass of SW2 User Button - HDD_HV_A voltage at PTG4 pin |
Something went wrong! Please try again.
The NXP partner Vepco may provide a hardware component setup that will help with building the inverter, or you may build your own traction inverter based on the NXP EV-INVERTERGEN3 components. The next chapter (3.3) contains the steps for building an inverter without the Vepco platform. If you use the Vepco platform, please skip chapter 3.3 and continue on chapter 3.4 from step 8.
Something went wrong! Please try again.
The instructions below cover electrical connectivity only. It is the customer's responsibility to assemble the physical structures (busbar, mounting hardware, and so on) required to support and connect the components in their platform.
Something went wrong! Please try again.
HIGH DC VOLTAGES CAN BE FATAL. Use extreme caution
Important note: Before applying high voltage (>300 V) to the DC connection, use a current limited (1 A) power supply and apply 15 V to 30 V to the DC connection to make sure that there is no excessive leakage current.
Something went wrong! Please try again.
Table 2. S32K396-HPWR-MC1 bottom interface connections
TE Connectivity Ltd. AMPSEAL (PN 770680-1), 4 mm, 23 plug
| Pin | Symbol | Description | Value |
|---|---|---|---|
| 1 | EXT_CANH_A | CANA High | transistor-transistor logic (TTL) 0 V to 5 V |
| 2 | EXT_DGND | Digital Ground | 0 V, 100 mA |
| 3 | EXT_DGND | Digital Ground | 0 V, 100 mA |
| 4 | EXT_12V_IGNIT | Ignition | 0 V to 16 V |
| 5 | EXT_MTRTD1_RTRN | Motor RTD 1 Return | Resistor - |
| 6 | EXT_RSLVR_DRIVE_SHIELD | Resolver Excitation Shield | 0 V |
| 7 | EXT_RSLVR_SENSE_SHIELD | Resolver Sense Shield | 0 V |
| 8 | EXT_RSLVR_S1 | Resolver sense S1 |
Analog 100 mA |
| 9 | EXT_CANL_A | CANA Low | TTL 0 V to 5 V |
| 10 | EXT_FAULT_OUT | Fsb1 | TTL |
| 11 | EXT_DGND | - | - |
| 12 | EXT_MTRTD1_SIG | Motor RTD 1 Signal | Resistor + |
| 13 | EXT_MTRTD2_SIG | Motor RTD 2 Signal | Resistor + |
| 14 | EXT_RSLVR_R1 | Resolver excitation R1 |
Analog 100 mA |
| 15 | EXT_RSLVR_S3 | Resolver sense S3 |
Analog 100 mA |
| 16 | EXT_CANH_B | - | - |
| 17 | EXT_CANL_B | - | - |
| 18 | EXT_12V_UNSWTCHD | Unswitched 12 V | 10 V to 16 V, 2 A |
| 19 | EXT_GND_12V_RETURN | 12 V GND | 0 V, 2 A |
| 20 | EXT_MTRTD2_RTRN | Motor RTD 2 Return | Resistor - |
| 21 | EXT_RSLVR_R2 | Resolver excitation R2 |
- |
| 22 | EXT_RSLVR_S2 | Resolver sense S2 |
- |
| 23 | EXT_RSLVR_S4 | Resolver sense S4 |
- |
Something went wrong! Please try again.
Let's take your EV-INVERTERGEN3 motor control board for a test drive.
Select the appropriate PMSM motor control application from the installed directory.
NXP\MC_DevKits\EV-INVERTERGEN3
To import the installed application software project in the S32 Design Studio IDE for S32 Platform:
NXP\MC_DevKits\EV-INVERTERGEN3, click Select
Folder. Next,
check the box for the option Copy projects into workspace. Then, click Finish
Note: EV-INVERTERGEN3 is a multicore application. Make sure that both projects are selected for import.
M7_0_0 project, then for the M7_0_2
project. Click on Yes To
All to overwrite '.settings' folder in both project directories
Something went wrong! Please try again.
*.mex file to open the project configuration in
S32
Configuration Tool
M7_0_0 project, and click on the Update Code button for generating
configuration
files. Next, in the S32 Configuration Tool, click on the pop down button next to the project name and choose
*.mex
file for the M7_0_2 project. Click on Update Code accordingly
Something went wrong! Please try again.
In S32DS, return back to the C/C++ perspective by clicking the button located in the upper-right corner.
Click on Debug As menu and select Debug Configurations.
Next, expand Launch Group and click on the first launch configuration. This configuration will upload both the
M7_0_0
and M7_0_2 projects to the MCU. Click on Debug for building and uploading software into the MCU.
Afterward, a new window will appear. Check the box for the option Remember my decision, and click on Switch.
The S32DS will switch to Debug Perspective. First, press Ctrl + click on both project main() files to
highlight
them. Next, let both projects run by clicking on Resume (or press F8).
Click on Disconnect to avoid interference between the S32DS IDE debugger and the FreeMASTER tool.
Something went wrong! Please try again.
Launch the FreeMASTER application.
To open the *.pmp FreeMASTER project <selected project>\FreeMASTER_control, click File → Open Project.
Note: You can also start it by double-clicking directly in the S32DS project folder.
To enable communication, in the FreeMASTER toolbar, click Go (or press Ctrl + G).
Successful communication displays in the status bar at the bottom as:
CAN;drv=peak;port=1;bitrate=500000;cmdid=0x7aa;rspid=0x7aa;tmo=1000.
Note: You can check or modify the communication settings by clicking Project → Options.
Something went wrong! Please try again.
If you do not use Vepco motor, you may need to edit the motor parameters according to the used PMSM motor. In the Motor Control Application Tuning (MCAT) tool, switch to the Parameters tab and edit the values on the left side.
Once you finish editing the motor parameters, click on Store Data, switch to the Output File tab and click on Generate Configuration File.
The motor parameters cannot be updated at runtime, therefore, repeat step 4.3 to build the project and upload the code into MCU.
Note: MCU will go to reset and the FreeMASTER reconnecting might require (Ctrl + K, Ctrl + G).
Sensors/Actuators → Position/Speed →
OpenLoop - Scalar Control
Sensors/Actuators → Position/Speed →
Speed Control
For an in-depth description of motor control application tuning using MCAT, see AN4642: Motor Control Application Tuning (MCAT) Tool for 3-Phase PMSM.
Something went wrong! Please try again.
Get S32 Design Studio
Downloading the Real-Time Drivers
Install the RTD Drivers
Download GD3162 Driver
Install GD3162 Driver
Download FS26 Driver
Install FS26 Driver
Download eTPU SW
Install eTPU SW
Get FreeMASTER Comm. Driver
Get FreeMASTER Application Tool
Get AMMCLib for S32K3
Get the Motor Control App. Software
Get the CAN Node Driver (Optional)
Default Jumper Positions
Assembly the Inverter
Custom Hardware Setup
Inverter Hardware Setup
23-pin Connector Description