MCSPTE1AK344 code generation

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MCSPTE1AK344 code generation

跳至解决方案
1,186 次查看
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?

标记 (3)
0 项奖励
回复
1 解答
1,104 次查看
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 项奖励
回复
3 回复数
1,142 次查看
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 项奖励
回复
1,132 次查看
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 项奖励
回复
1,105 次查看
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 项奖励
回复