Counting Incremental Encoder Pulses with S12ZVM

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

Counting Incremental Encoder Pulses with S12ZVM

ソリューションへジャンプ
1,102件の閲覧回数
hardydragon
Contributor II

Hello,

 

I want to count the pulses coming out of the increment encoder phase A and B for motor control to detect the absolute position. S12ZVM is very suitable for the motor control. It's easy to calculate the frequency using the input capture module but is there any way to count the pulses as I see there is no Pulse Accumulator in ZVM Version. That is really a drawback.

 

Regards,

Hardy

ラベル(1)
0 件の賞賛
返信
1 解決策
875件の閲覧回数
RadekS
NXP Employee
NXP Employee

Hi Hardy,

You are right, the S12ZVM was not designed for applications with encoders (TIM module is the simple timer). The most of the applications with S12ZVM are sensorless or applications with hall sensors.

I would like to recommend some of the MCUs from MPC5xxx family or S32K (PREPRODUCTION) for your application with the incremental encoder.

For example:

http://www.nxp.com/products/microcontrollers-and-processors/power-architecture-processors/mpc5xxx-5x...

http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/s32-arm-processors-microc...

I hope it helps you.

Have a great day,
Radek

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
876件の閲覧回数
RadekS
NXP Employee
NXP Employee

Hi Hardy,

You are right, the S12ZVM was not designed for applications with encoders (TIM module is the simple timer). The most of the applications with S12ZVM are sensorless or applications with hall sensors.

I would like to recommend some of the MCUs from MPC5xxx family or S32K (PREPRODUCTION) for your application with the incremental encoder.

For example:

http://www.nxp.com/products/microcontrollers-and-processors/power-architecture-processors/mpc5xxx-5x...

http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/s32-arm-processors-microc...

I hope it helps you.

Have a great day,
Radek

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信