1
Plug It In2
Get Software3
Build, Run4
DebugSign in to save your progress. Don't have an account? Create one.
Let's take your MCSXTE2BK142 development board engineered for 3-phase Permanent Magnet (BLDC/PMSM) motor up to 800 W output at 24 V system or up to 400 W at 12 V system for a test drive!
Choose between watching a short setup video or following the step-by-step guide.
The Software Package includes the software projects for most typical hardware configurations.
Something went wrong! Please try again.
MCSXTE2BK142 performs better when using 32 Design Studio for Arm®-based MCUs
NOTE: Check the S32 Design Studio page for the latest version.
Something went wrong! Please try again.
MCSXTE2BK142 performs better when using the FreeMASTER tool for run-time debugging.
NOTE: Check the FreeMASTER page for the latest version.
Something went wrong! Please try again.
Connect the Permanent Magnet motor using the J11 connector.
NOTE: if there is a Hall sensor or encoder in your motor, connect it with J5 and
J6 connectors.
Something went wrong! Please try again.
Attached the 12/24 V power cable for powering your MCSXTE2BK142 development board, the D13 LED will turn on green.
Something went wrong! Please try again.
Attach your ARM- Cortex compatible JTAG/SWD debugger to the connector J3 or J4.
Something went wrong! Please try again.
Attach J2 header for connecting the USB to TTL serial interface.
NOTE: Be aware, that TTL signals from MCU are at 5V voltage level and Rx pin on board should be
connected to Tx pin on USB to TTL serial interface.
Something went wrong! Please try again.
Import the installed application software project in the S32 Design Studio for Arm by launching S32 Design Studio and then click File > Import and then select General > Existing Projects into Workspace.
Navigate to the installed application directory: .. MC_DevKits\MCSXTE2BK142\sw
folder, select project and click OK, then
Finish
NOTE: You can also use other toolchains, such as IAR, GHS to compile the project via makefile. For
more details, refer to the
MCSXTE2BK142 development board – software User
Guide
Something went wrong! Please try again.
These steps should not be necessary since they are executed in the next step automatically:
Right click on the imported project and select Clean
Right click on the imported project and select Build
Something went wrong! Please try again.
In the S32 Design Studio menu click Run > Debug Configuration and select the predefined debug configuration and click on Debug to start loading built code into MCU.
Something went wrong! Please try again.
Let code run by click on Resume (F8) button. Use the Disconnect button for avoiding interference between S32DS debugger and FreeMASTER tool.
Something went wrong! Please try again.
Start the FreeMASTER project for debugging by launching FreeMASTER and then open *.pmp
file from MCSXTE2BK142\FreeMASTER_control folder. File > Open
Project…
NOTE: You may start it by double click directly from S32DS project explorer
Something went wrong! Please try again.
Go to FreeMASTER project options, select the USB to TTL interface serial port at your computer and setup 115kbit per second communication speed.
Click the green GO! button in the FreeMASTER toolbar (or press <CTRL> + <G>) to enable the communication
Successful communication is signalized in the status bar at very bottom as:
RS232 UART Communication;COMn; speed = 115200
Something went wrong! Please try again.
In FreeMASTER, go to Control page tab, set required motor rpms and turn on the motor drive.
Success! Motor runs.
Something went wrong! Please try again.