Let's take your MCSPTE1AK116 for a test drive.
4.1 Select Application and MCU Programing
Select the appropriate PMSM or BLDC motor control application from the installed directory.
Program the MCU using S32 Design Studio:
To import the installed application software project in the S32 Design Studio IDE for Arm®:
- Launch S32DS for Arm
- Go to File > Import, then select General > Existing Projects into Workspace
Navigate to the installed application directory:
.. MC_DevKits\MCSPTE1AK116\sw folder and choose appropriate project and click
OK. Then, click Finish.
Note: Check the box for the option Copy projects into workspace.
Optional: These steps should not be necessary since they are automatically executed next:
- Right click on the imported project and select Clean
- Right click on the imported project and select Build
4.2 Debug and Load
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.
4.3 Let Code Run
To let the code run, click Resume (or press F8), and use Disconnect to avoid interference between the S32DS IDE debugger and the
4.4 Set Up the Debugging Tool
Launch the FreeMASTER application.
Click File > Open Project to open the
*.pmp FreeMASTER project
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:
RS232 UART Communication;COMn;speed = 38400