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

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

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

524 Views
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?

Tags (1)
0 Kudos
Reply
1 Reply

504 Views
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 Kudos
Reply