Unable to run PMSM Closed Loop Motor Control Example

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

Unable to run PMSM Closed Loop Motor Control Example

921 Views
Sriram
Contributor IV

Hello ,

I am trying to run PMSM Closed Loop Control Example from S32 example, on S32K144 EVB and DEVKit MotorGD.

After building and downloading the code, on S32K144EVB I see Green LED is glowing. When I press SW2 or SW3 it tries to spin the motor during the LED flashes and motor stops spinning for a while then starts moving back and forth with screechy sound  .The LED turn green to blue. Could not find what could be the reason.

 I am able to load and run all other examples successfully(BLDC open/closed and PMSM open loop)

 I have attached a picture of my setup

I also tried the suggestions given to a similar post ( i took out the J8 jumper and the J9 10 11 are in  1-2 position. R 72 is also set to counterclock max.)

 Can anyone suggest how to make it run . Thank you 

 

 

0 Kudos
5 Replies

840 Views
marekmusak
NXP Employee
NXP Employee

Hello and thank you for contacting us.

1) Do you use original motor or your own motor?

2) Can you tell me what is the project name and what is the version? You can find it in release notes. 

3) Could you make a screenshot of fault variables in FreeMASTER as shown below? You can find it in FM project three > Faults and Trips)

marekmusak_0-1653465068701.png

Thank you!

Marek

 

0 Kudos

838 Views
Sriram
Contributor IV

i am using the linix motor that came with the dev kit

Im using the matlab mbdt example of pmsm closed loop foc model ( version 2.2.0) in matlab 22a

How to log the fault and trips in freemaster? i couldnt find any example files

 

Thank you

0 Kudos

892 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I have asked kit owner for help with your issue.

Best regards,

Peter

860 Views
Sriram
Contributor IV

@petervlna Any updates regarding the issue ?

0 Kudos

853 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I understand that application engineer will reply here during this week.

Best regards,

Peter

0 Kudos