HI NXP team,
We are trying to evaluate S32 K144 EVB for speed control of BLDC motor with MCSTPE1AK144_PMSM_FOC_1SH reference example. we were able to run the motor using FREEMATSER in sensor less mode. now we want to use Encoder as feedback sensor. There is a provision for enabling encoder mode in the example code but we are unable to read the encoder values.
please provide additional information on how to use encoder for BLDC motor control using S32K144.
Thanks & Regards
Raghu
Hi Leo,
Thanks for replying.
I'm trying with a different motor and so changed most of the motor and encoder parameters.
We are not able to rotate the motor and also we were not able to read the encoder values. Even, QUADEN bit of QDCTRL register of FTM2 is not going high.
Jumpers JP9,10,11 are in 1-2 (FOC-PMSM). encoder is 5V. J8 is not connected.
What should be the way forward.
Thanks & Regards
Raghu
Maybe you do not have R168 and R166 in your S32K144EVB
Hi,
Thank you so much for your interest in our products and for using our community.
You can refer to the same instructions as the following post:
https://community.nxp.com/t5/S32K/MCSPTE1AK344-encoder-mode/m-p/1592069
In this post a hollow shaft incremental encoder was coupled to the shaft without change the kit's motor. And the performance changed due to the influence of the coupling in terms of friction and inertia.
In case you change the motor, the appropriate electrical parameters must be entered and tune the parameters of the different control schemes.
I recommend you to take as reference the following training to learn how to use our MCAT Tool:
Motor Control Application Tuning (MCAT) Tool – PMSM Servo Tuning
Hope it helps you.
Have a nice day!