How to run motor without using freemaster

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to run motor without using freemaster

166 Views
nayan
Contributor I
Spoiler
Hi,

I am using S32K144 BLDC/PMSM Development Kit. Everything is working fine with S32DS and FreeMASTER.
what need to be done if I want to run the motor just by deploying the code to the controller using S32DS? So that, I can deploy the code, disconnect the PC and then using Potentiometer I can control the speed of the motor.
In other words, I want to avoid using FreeMASTER to control the motor.
0 Kudos
1 Reply

87 Views
stefanvlad
NXP Employee
NXP Employee

Hello Nayan.

 

Thank you for using the S32K144 BLDC/PMSM Development Kit.

Make sure you have the latest packages:

After that you can open the model S32K\src\S32_Examples\s32k14x\mc\PMSM_Demo\PMSM_ClosedLoop:

stefanvlad_0-1708418446486.png

In the S32K144 EVB tab, there is the IO Controls block:

stefanvlad_1-1708418508445.png

The buttons SW2_SpeedUP and SW3_SpeedDOWN control the start-up and the speed of the motor.

This is the most reliable method to control the motor without using FreeMaster software.

 

Stefan V.

 

 

0 Kudos