Counting Incremental Encoder Pulses with S12ZVM

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Counting Incremental Encoder Pulses with S12ZVM

跳至解决方案
1,103 次查看
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 解答
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 项奖励
回复
1 回复
877 次查看
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 项奖励
回复