お客様の素早い設計とより早い製品化を実現する、技術情報と専門知識をご紹介します。
1
Out of the Box2
Get Software3
Plug It In4
BuildYou can watch the video or follow the below step-by-step guide to set up your MCSPTE1AK344 Development Kit:
Something went wrong! Please try again.
Something went wrong! Please try again.
Something went wrong! Please try again.
S32K344EVB controls DEVKIT-MOTORGD through inner pins of the I/O headers.
Inner pins of the I/O headers are Arduino® compatible. Pins in red are configurable.
This is the pin configuration for the PMSM motor control:
Something went wrong! Please try again.
S32K344EVB controls the DEVKIT-MOTORGD through the inner pins of
the I/O headers.
Inner pins of the I/O headers are Arduino compatible. Pins in red
are configurable.
This is the pin configuration for the BLDC motor control:
Something went wrong! Please try again.
Follow the below step-by-step guide to set up your MCSPTE1AK344 Motor Control kit:
The software package includes projects for most typical hardware configurations.
Download MCSPTE1AK344 Development Kit Application Software
Note: The installation process will also ask you to download the latest version of the Automotive Math and Motor Control Library (AMMCLib) set.
Something went wrong! Please try again.
Download and install S32 Design Studio IDE for S32 Platform in version 3.5. (Update 6)
Note: You will receive activation code through email.
Download S32 DESIGN STUDIO IDE
Something went wrong! Please try again.
Go to Help > S32DS Extensions and Updates from the top menu to open the S32DS Extensions and Updates. Navigate to the S32K3xx development package and install it.
Note: In case of installation issues, please ensure that the latest version of S32 Design Studio Platform package and S32 Design Studio Platform Tools package is installed.
Continue with the installation of the S32K3 Real-Time Drivers:
Something went wrong! Please try again.
Download and install Elektrobit Tresos Studio / AUTOSAR® Configuration Tool from S32K3 Standard Software Package.
Download and install the .exe file of the S32K3 Real-Time Drivers for Cortex-M from the S32K3 Standard Software Package.
The installer will ask for the EB Tresos installation directory on your disk, saving time in configuration.
You will receive an activation code via email. If you installed RTD prior EB Tresos, create a SW32K3_RTD_4.4_x.y.z.link file in:
C:\EB\tresos\links
folder with the content: "path=C:/NXP/SW32K3_RTD_4.4_x.y.z
", where x,y,z refers to installed RTD version.
Something went wrong! Please try again.
MCSPTE1AK344 performs better when using the FreeMASTER Run-Time Debugging Tool.
Note: Check the FreeMASTER page for the latest version.
The FreeMASTER communication driver for S32K3 microcontrollers is also needed. Download it from the Automotive SW - S32K3 - S32 FreeMASTER link in the S32K3 Standard Software Package.
Open S32DS Extensions and Updates dialog (menu -> Help -> S32DS Extensions and Updates), click on Add Update Sites link and navigate to FreeMASTER communication driver for S32K3 (zip file starting with "com.") on your disk.
Install FreeMASTER communication driver for S32K3.
Something went wrong! Please try again.
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 Jumpter 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.
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.
PMSM
BLDC
Make sure the potentiometer for overcurrent comparator is set in position (slightly to the left from the middle) for approximately 8 – 10 A.
Something went wrong! Please try again.
Ensure that the motor phase wires are in the following order, from phase A to phase C:
Something went wrong! Please try again.
Switch SW1
to the OFF position (fully to the left).
Connect the 12 V power supply adapter
and switch
SW1
to the ON position (fully to the rigth).
When power is applied to the EVB, four orange LED’s adjacent to the voltage regulators show the presence of the supply voltages (12 V, 5 V, 3.3 V and 1.5 V).
Note: This power up procedure manages that FS26 SBC starts with disabled watchdog.
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. Please use a direct connection to PC.
Something went wrong! Please try again.
Let's take your MCSPTE1AK344 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 appropriate project and click OK .
Then, click Finish .Something went wrong! Please try again.
If you selected project with AUTOSAR drivers (as_tr in project name), the S32DS project contains Tresos folder with EB tresos configuration. Open EB tresos Studio and import the appropriate subfolder.
Note: Uncheck the option for Copy projects into workspace.
In EB tresos Studio, double-click on ECU(CORTEXM, S32K3XX) and generate the project (menu -> Project -> Generate Project)
Something went wrong! Please try again.
In S32DS, return back to the C/C++ perspective.
Use the Debug Configuration menu and select the predefined debug configuration for building and uploading software into MCU.
The S32DS will switch into debug perspective where you may let the code run by clicking on Resume (or press F8), and use 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
*.pmpx
FreeMASTER project
<selected project>\FreeMASTER_control
, click File > Open Project .
Launch the FreeMASTER application.
Note: You can also start it by double clicking directly in the S32DS project folder.
To enable communication, in the FreeMASTER tool bar, click Go (or press Ctrl+G).
Successful communication displays in the status bar at the bottom as:
RS-232 UART Communication;COMn;speed = 115200
Something went wrong! Please try again.
Click the App Control tab on the Motor Control Application Tuning (MCAT) Tool menu to display the application control page.
Configure the motor rpms and turn on the motor drive.
When the power supply is connected to the DEVKIT-MOTOGD board, the application is in a READY state (Green LED).
Check pending faults
In case of pending faults (Red LED), click the Clear FAULT on the FreeMASTER MCAT control page or alternatively press and simultaneously hold SW5 and SW6 on the board.
Start application
Click On/Off on the control page or press SW5/SW6 on the board to initiate clockwise/counterclockwise spinning of the rotor.
Set speed
Change the speed required variable to set the speed. Go to the Variable Watch window and modify Speed Required variable or click on the speed gauge or by pressing the switch SW5/SW6.
Stop application
Stop the application by clicking On/Off button on the FreeMASTER MCAT control page or simultaneously press and hold SW5 and SW6 on the S32K344EVB board.
Connect with other engineers and get expert advice on designing with the MCSPTE1AK344 on one of our community sites.
Get to Know the 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
Download the Development Kit Application Software
Get the Integrated Development Environment (IDE)
Install the S32K3xx Development Package
Download and Install Elektrobit Tresos Studio and Real-Time Drivers
Get the Run-Time Debugging Tool
Check The Default Jumper Positions in the MCSPTE1AK344 Development Kit
Set Up Jumpers in the DEVKIT-MOTORGD Evaluation Board
Plug the Motor
Plug in the Power Supply
Connect the Debugger Cable
Select Application and MCU Programing
Use Configuration Tool
Upload Software and Debug
Set Up the Debugging Tool