need help in integrating encoder with S32K144 and GD3000 driver

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

need help in integrating encoder with S32K144 and GD3000 driver

910 Views
Raghu96
Contributor I

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

0 Kudos
Reply
3 Replies

870 Views
Raghu96
Contributor I

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.

Screenshot 2024-08-30 164541.png

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

0 Kudos
Reply

864 Views
_Leo_
NXP TechSupport
NXP TechSupport

Maybe you do not have R168 and R166 in your S32K144EVB

_Leo__0-1725042009163.png

 

_Leo__1-1725042026956.png

 

_Leo__2-1725042035427.png

 

0 Kudos
Reply

882 Views
_Leo_
NXP TechSupport
NXP TechSupport

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!

0 Kudos
Reply