interfacing rotary encoder with i.mx8mini evk

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

interfacing rotary encoder with i.mx8mini evk

928 次查看
Krutika_95
Contributor I

Hello,

I want to interface E33-VT032-M01T rotary encoder with dart mx8m mini based on  i.mx8m evk. Can it be used without using the rotary encoder driver available in yocto build by just reading the values of GPIO in user space? if yes can you please let me know any sample is available for the same?Or does it require the driver to use it?

 

0 项奖励
回复
2 回复数

923 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Krutika_95

 

I believe it is necessary to use linux driver, using gpios not possible to read

encoder data.

 

Best regards
igor

0 项奖励
回复

919 次查看
Krutika_95
Contributor I

The driver itself is generic driver for rotary encoder with gpio. For the application in user space do i need to export,set direction and read values of GPIO ? I am not able to find any reference regarding the same.I have implemented an application where i have exported gpio,have set its direction as in and reading gpio value but i am getting an error while doing it.Can you please send me an sample or reference regarding the same if you have any idea about it?

0 项奖励
回复