MCSPTE1AK344 code generation

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

MCSPTE1AK344 code generation

Jump to solution
725 Views
Albatros
Contributor III

I tried to generate the MCSPTE1AK344_PMSM_FOC_2Sh_as_tr code from S32DS peripherals and I can see that my motor is working properly in debug mode but when I am done with the debug mode my motor stops working. What causing this problem?

0 Kudos
1 Solution
643 Views
tomasfedor
NXP Employee
NXP Employee

Hi, 

I have 2 points: 

1) verify steps from getting started  https://www.nxp.com/document/guide/get-started-with-the-mcspte1ak344-development-kit:GS-MCSPTE1AK344 

and I also recommend S32K3 Motor Control Training. You can find there detailed explanation as well as hands on part starting at 33:00 https://www.nxp.com/design/training/s32k3-motor-control-training:TIP-S32K3-MOT-CNT

2) if fault appears you can clear the fault by pressings SW5 and SW6 simultaneously or you can clear fault using MCAT (see  "5. FreeMASTER and MCAT user interface" in AN13884 or AN13767).

details about the fault can be found in FreeMASTER tab "Faults & Trips" 

tomasfedor_0-1685948869684.png

tomasfedor_1-1685948885722.png

Best regards, 

Tomas Fedor

 

View solution in original post

0 Kudos
3 Replies
681 Views
tomasfedor
NXP Employee
NXP Employee

Hi, 

if you want to leave debugging with running target I recommend to use 

tomasfedor_0-1685609851814.png

instead of 

tomasfedor_1-1685610045998.png

Best regards, 

Tomas Fedor

0 Kudos
671 Views
Albatros
Contributor III
Okay, it worked, but when I reset my board, my motor was not working again. Do you have any other suggestions?
0 Kudos
644 Views
tomasfedor
NXP Employee
NXP Employee

Hi, 

I have 2 points: 

1) verify steps from getting started  https://www.nxp.com/document/guide/get-started-with-the-mcspte1ak344-development-kit:GS-MCSPTE1AK344 

and I also recommend S32K3 Motor Control Training. You can find there detailed explanation as well as hands on part starting at 33:00 https://www.nxp.com/design/training/s32k3-motor-control-training:TIP-S32K3-MOT-CNT

2) if fault appears you can clear the fault by pressings SW5 and SW6 simultaneously or you can clear fault using MCAT (see  "5. FreeMASTER and MCAT user interface" in AN13884 or AN13767).

details about the fault can be found in FreeMASTER tab "Faults & Trips" 

tomasfedor_0-1685948869684.png

tomasfedor_1-1685948885722.png

Best regards, 

Tomas Fedor

 

0 Kudos