MCSPTE1AK344 encoder mode

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MCSPTE1AK344 encoder mode

764件の閲覧回数
Canberk
Contributor II

I have got MCSPTE1AK344 and I wanna operate pmsm motor with encoder. I set Encoder Macro to 1 and changed motor_pp and encoder pulses variables to my motor's specification but still I couldn't run the motor with encoder mode. there are some other changes that I need to make. I shared the changes that I make

Thanks

Canberk_0-1675324283206.png

Canberk_1-1675324330725.png

 

0 件の賞賛
返信
2 返答(返信)

742件の閲覧回数
_Leo_
NXP TechSupport
NXP TechSupport

Hi,

Thank you so much for your interest in our products and for using our community.

To use the encoder mode, in addition to following the Getting Started you have to do the following:

  • Connect the encoder to connector JP1 (check DEVKIT-MOTORGD Schematics if necessary).
  • Change the macro #define ENCODER 1 and load the program on the board.
  • In FreeMASTER, Sensors tab define the resolution of the encoder (in my case 1000 pulses).

nxf86756_1-1675728646336.png

  • In the Project tree, go to Encoder Sensor/Speed

nxf86756_3-1675728700844.png

  • In the variable watch define the speed required

nxf86756_4-1675728735661.png

  • Finally change the state from STOP to RUN

nxf86756_5-1675728770724.png

  • And you can see the speed in encoder mode in the scope.

nxf86756_6-1675728797987.png

Hope it helps you. Please let me know if you have more questions about it.

Have a nice day!

0 件の賞賛
返信

718件の閲覧回数
Canberk
Contributor II

Thanks for your answer. I  tried your solution and I can see encoder speed value but I could'nt run motor with encoder mode. when I switch to encoder mode motor was vibrating.

How can I run motor with encoder mode

 

0 件の賞賛
返信