How to Accurately Count Encoder Pulses on i.MX93 Without Missing Pulses

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

How to Accurately Count Encoder Pulses on i.MX93 Without Missing Pulses

926 次查看
dhruvinrajpura
Contributor III

Hello,

 

I am using the i.MX93 11X11 EVK and need to interface motor encoder in A core. Each encoder has two output signals (A and B), where A pin track the Pulse Count and B pin used to find the Direction of Motor and I need to accurately count the pulses to track motor movement and direction.

My main requirement is to ensure no pulses are missed, even at higher speeds. Could you please suggest the best way to achieve this on the i.MX93 11x11 EVK?

标记 (1)
0 项奖励
回复
1 回复

906 次查看
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello @dhruvinrajpura 

I hope you are doing very well.

 

I recommend to you to use the Cortex M33 for this task, and let Cortex A to handle Linux or the Operating system you will use.

If you need to communicate Cortex M33 and Cortex A, you can use RPMSG framework to communicate the cores, exchange data or turn on/off flags.

 

I hope this information can helps to you.

 

Best regards,

Salas.

0 项奖励
回复