希望TI工程师能帮忙解决一下,QEI模块测方向问题。
MSP432E401Y的driverlib库中是否有QEI的例程,没找到呀,呜呜。
我测试了网上的例程,网址附下,但是这个例程没有办法测试方向,代码没有几行,自己也找不到问题是什么
测试结果如图,
方向函数QEIDirectionGet(QEI0_BASE)
返回值一直是正负1,
轮子实际上一直在朝一个方向高速旋转。
希望工程师能告知解决办法或者QEI模块例程文档,不胜感激!
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.
希望TI工程师能帮忙解决一下,QEI模块测方向问题。
MSP432E401Y的driverlib库中是否有QEI的例程,没找到呀,呜呜。
我测试了网上的例程,网址附下,但是这个例程没有办法测试方向,代码没有几行,自己也找不到问题是什么
测试结果如图,
方向函数QEIDirectionGet(QEI0_BASE)
返回值一直是正负1,
轮子实际上一直在朝一个方向高速旋转。
希望工程师能告知解决办法或者QEI模块例程文档,不胜感激!
经核实并确认,目前没有 QEI 模块代码示例,也没有使用 QEI 模块的 TI 设计。
请您参考下面的帖子是否对您有帮助
https://e2e.ti.com/support/microcontrollers/other/f/908/t/872287?keyMatch=QEI&tisearch=Search-EN-everything
https://e2e.ti.com/support/microcontrollers/other/f/908/t/858407?keyMatch=QEI&tisearch=Search-EN-everything
https://e2e.ti.com/support/microcontrollers/other/f/908/t/919892?keyMatch=QEI&tisearch=Search-EN-everything
https://e2e.ti.com/support/microcontrollers/other/f/908/t/927591?keyMatch=QEI&tisearch=Search-EN-everything