1
Out of the Box2
Get Software3
Plug It In4
BuildSign in to save your progress. Don't have an account? Create one.
Sign in at NXP with your credentials
Download and Install S32 Design Studio for S32 Platform v.3.5
Note: You will receive an activation code via email or under the Licence Keys tab.
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.
Install S32M2xx Development Package
Note: In case of installation issues, please ensure that the latest version of the S32 Design Studio Platform package and S32 Design Studio Platform Tools package are installed.
Something went wrong! Please try again.
Download RTD for S32K1 and S32M27x version 2.0.0.
Select "Automotive SW - S32K3/S32M27x - Real-Time Drivers for Cortex-M" package to download update site files.
Something went wrong! Please try again.
Download RTD for S32K3 and S32M27x version 4.0.0 patch P20.
Select Automotive SW - S32K3/S32M27x - real-time Drivers for Cortex-M package to download updatesite files.
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 where you click on the "Add Update Sites" link.
Select downloaded: SW32K1_S32M27x_RTD_4.4_R21-11_2.0.0_D2308_DS_Updatesite.zip file (shorter one from the file names)
Note: Do not add RTD 2.0.0 P04 file now! If RTD 2.0.0 P04 is added, the RTD 2.0.0 will not appear in in the list. If this happen, you may click on Manage Sites link and delete the RTD 2.0.0 P04 file location from the list.
Something went wrong! Please try again.
Install the RTD 2.0.0 from the list. Be aware that RTD 2.0.0 may appears in the list more than twice. Ensure that you selected the version that supports only/also S32M27x (See content of the Overview window on the right side)
Something went wrong! Please try again.
Repeat the installation steps 2.5 and 2.6 also for patch P04 (the longer one from the file names): SW32K1_S32M24x_RTD_R21-11_2.0.0_P04_D2404_DS_updatesite.zip file.
Again, ensure that you selected the version that supports only/also S32M24x.
Something went wrong! Please try again.
Download and install FreeMASTER Application Tool for real-time debugging.
TIP: for this setup you may even skip the Lite service installation (for which the activation code is required).
Something went wrong! Please try again.
Download and install S32M27X_AMMCLIB_EAR_1_1_38_BIN
TIP: If possible, install AMMCLib in their default path location for later easy path modification.
Something went wrong! Please try again.
Download and install the S32M276 motor control application software.
Note: The application checks version and whether appropriate AMMCLib was correctly installed or not. If not (red note), install AMMCLib and reinstall the S32M244 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.
The recommended accessory kit for S32M27XEVB board is BLDC_KIT (software developed and tuned for given motor), however you may use any suitable 3 ph motor and 12 V power supply instead.
BLDC_KIT Content:
S32M27XEVB Default Jumper Settings | ||
---|---|---|
Jumper | State | Notes |
J1 |
CLOSED | VSUP_MCU is routed to VSUP input of MCU |
J2 |
1-2 | VBAT is routed to VSUP. Boost Converter disconnected |
J7 |
CLOSED | Power domains LED Indicators enabled |
J23 |
CLOSED | VDD_MCU is connected to the VDD_MCU_PERH |
J26 |
OPEN | [1] High Voltage Input, [2] GND |
J35 |
OPEN | [1] LPUART0_RX, [2] LPUART0_TX |
J51 |
CLOSED | LIN Commander* mode |
J55 |
OPEN | ADC Potentiometer disabled |
J61 |
CLOSED | VSUP is routed to VSUP_PERH |
J201 |
OPEN | Current shunt voltage, not populated |
*Master in the LIN standard document.
Something went wrong! Please try again.
Optionally plug the Encoder/HALL sensors (only for sensor-based sw application)
Something went wrong! Please try again.
Something went wrong! Please try again.
Optionally to Previous Step, Plug the JTAG Debug Interface and UART Interface
For run-time debugging is recommended serial interface.
Something went wrong! Please try again.
Let's take your S32M27XEVB motor control board for a test drive.
Select the appropriate PMSM or BLDC motor control application from the installed directory.
NXP\MC_DevKits\S32M27XEVB\sw
To import the installed application software project in the S32 Design Studio IDE for S32 Platform:
NXP\MC_DevKits\ S32M276SFFR\sw
and choose appropriate project and click OK. Then, click Finish
Note: Check the box for the option Copy projects into workspace.
Something went wrong! Please try again.
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.
If you do not use BLDC_KIT (motor Sunrise 42BLY3A78-24110), you may need to edit the motor parameters according to used BLDC/PMSM motor. In the Motor Control Application Tuning (MCAT) Tool switch to Parameters tab and edit values on left side.
Once you finish, click on Store Data, switch to Output File tab and Generate static configuration file.
Now repeat step 4.3 to build the project and upload the code into MCU.
Note: MCU will go to reset, FreeMASTER reconnecting might be need (Ctrl + K, Ctrl + G).
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.
Connect with other engineers and get expert advice on designing with the S32M27XEVB Reference Design Board using our community sites.
Download and Install IDE
Install the S32M2xx Development Package
Download the RTD Drivers
Download the Patch for RTD Drivers
Add the RTD Drivers to S32DS
Install the RTD Drivers
Add the RTD Patch 04 to S32DS
Get FreeMASTER Application Tool
Get AMMCLib for S32M27X
Get the Draft of S32M276 Motor Control Application
Check The Default Jumper Positions at the S32M27XEVB EVB
Plug In the Motor
Plug In the Encoder/HALL Sensors
Plug In the Power Supply and USB Debug Interface
Plug In the JTAG Debug Interface and UART Interface