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
Solved! Go to Solution.
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:
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!
-----------------------------------------------------------------------------------------------------------------------
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:
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!
-----------------------------------------------------------------------------------------------------------------------