Let's take it for a test drive.
4.1 Select Application and MCU Programing
Select the appropriate PMSM or BLDC motor control application from the installed directory NXP\MCSPTE1AK144\sw.
Reprogram 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:
NXP\MC_DevKits\MCSPTE1AK144\sw 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 in the next step.
- 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
1. Launch the FreeMASTER application.
2. 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.
3. To enable communication, in the FreeMASTER tool bar, click Go (or press CNTRL+G).
Successful communication displays in the status bar at the bottom as:
RS232 UART Communication;COMn;speed = 115200