Hello
In the reference manual of the IMXRT1060X, there is a chapter 56.3.5 Speed Measurement Method, which explains how to measure the speed of a quadrature encoder signal.
Is there a code example available, which implements this algorithm?
Thanks and regards,
Daniel
已解决! 转到解答。
Hi,
Thank you so much for your interest in our products and for using our community.
For the Quadrature Decoder (QDC) module, only the SDK examples enc_basic and enc_index_interrupt are available, which only compute position. No examples are available for the Speed Measurement Method.
Sorry for the inconvenience.
Have a nice day!
Hi,
Thank you so much for your interest in our products and for using our community.
For the Quadrature Decoder (QDC) module, only the SDK examples enc_basic and enc_index_interrupt are available, which only compute position. No examples are available for the Speed Measurement Method.
Sorry for the inconvenience.
Have a nice day!
Hi,
Looking at it again, it seems the "Speed Measurement Method" topic is misleading. It refers to the register POSDPER. But this controller (imx RT106x) does not even have this register?
Or am I overseeing something?
Regards,
Daniel
Apologies. That's correct, the IMXRT1060 does not support this register. It is an typo that I will report to the corresponding department.
In such a case, you will need to create an algorithm using a general purpose timer as the time base connected to the TRIGGER and take a snapshot of the POSD register in order to calculate speed.
On the other hand, you can use IMXRT1160/70 where it is supported.
Wish it helps you.