This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] MSPM0G3507:确定 QEI 零事件触发器

Guru**** 2463330 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1478673/mspm0g3507-determine-qei-zero-event-trigger

器件型号:MSPM0G3507

工具与软件:

您好!

是否可以确定 QEI 零事件是由索引输入边沿触发的、还是由计数器达到 3输入 QEI 计时器模式的加载值触发的?

我可以 在零甚至检测之后、在 QEI ISR 中读取索引输入 GPIO 输入寄存器、但如果 ISR 延迟、索引输入可能此时仍然无效。

我想知道是否可以通过某种方法区分 索引触发的零事件与使用计时器本身达到加载值的计数器。

感谢您的支持、