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?
Solved! Go to Solution.
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"
Best regards,
Tomas Fedor
Hi,
if you want to leave debugging with running target I recommend to use
instead of
Best regards,
Tomas Fedor
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"
Best regards,
Tomas Fedor