Counting Incremental Encoder Pulses with S12ZVM

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

Counting Incremental Encoder Pulses with S12ZVM

Jump to solution
650 Views
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

Labels (1)
0 Kudos
1 Solution
423 Views
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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
1 Reply
424 Views
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 Kudos