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.

[参考译文] TM4C123GH6PM:是否可以将 GPIO 引脚转换为支持 QEI 的引脚?

Guru**** 2605015 points
Other Parts Discussed in Thread: TM4C123GH6PM

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/751426/tm4c123gh6pm-is-it-possible-to-convert-gpio-pin-to-qei-capable

器件型号:TM4C123GH6PM

您好!

我使用的是 TM4C123GH6PM、CCSv8.1.0、TI-RTOS - 2.16.00.08

根据我的项目要求、我必须使用8个 QEI。 但 TM4C123GH6PM 能够提供2个 QEI。 是否可以将正常 GPIO 引脚设置为 QEI 以支持剩余6个 QEI。 如果不是、我如何解决这个问题。 请就此向我推荐更好的解决方案。

提前感谢

此致、

Yashwanth Kumar Gandeti

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

    我不确定这是不可能的、我认为模仿 QEI 功能的代码会导致响应时间滞后太长、无法运行。

    正如您拥有的另一个线程中提到的、我建议改用 PWM。 PWM 模块具有多达16个输出。