Do you remember how you got eQEP to work? Ours just reads 0

On Sunday, November 13, 2016 at 12:44:06 PM UTC-6, Theodosis Ntegiannakis 
wrote:
>
> I am sorry for the multiple messages but I am finding new information 
> every time!
>
> eQEP just worked!
> The only pins i could enable with config-pin though are P8_11, P8_12, 
> P9_27, P9_92 (42B).
> P8_33 and P8_35 still have the invalid mode qep.
>
>
> Now my only problem is how to read position from python. Any help would be 
> appreciated
>
>
> On Sunday, November 13, 2016 at 7:29:55 PM UTC+2, Theodosis Ntegiannakis 
> wrote:
>>
>> 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/7a47e9f1-f3fe-481a-a760-0e5d70d1e39f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to