Just updated kernel to 4.4.31-ti-r67.
now i can find position and period in the 
/sys/devices/platform/ocp/48304000.epwmss/48304180.eqep/

but cat position keeps returning 0.

when trying to use other pins: 
config-pin P8_33 qep  and
config-pin P8_35 qep
it returns invalid mode qep

the same in P8_41 and P8_42 ...

have anyone tried it? is it working?
I am not sure if it is not working or if i am looking wrong pins or my 
encoder doesnt work ok... 
My encoder middle pin is hooked to GND and the other two pins in eqepA and 
eqepB respectively.




On Sunday, November 13, 2016 at 6:09:55 PM UTC+2, Theodosis Ntegiannakis 
wrote:
>
> Hello all,
>
> I am trying to read a Quadrature Encoder with the Beaglebone Black using 
> kenel  4.4.23-ti-r51 and Ubuntu.
>
> I have enabled cape-universala 
> and also enabled pins P8_11 and P8_12 using:
> config-pin P8_11 qep
> config-pin P8_12 qep
>
> But i cannot find "position" or "period" in the 
> /sys/devices/platform/ocp/48304000.epwmss/48304180.eqep/
> Is there something wrong i have done? 
> How can i read the position using python?
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/129e6fbd-4c1c-46eb-a2f8-e99f16b68a2d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to